Justin

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Add to Cart button inside of month template view #1014241
    Justin
    Participant

    Brian –
    That seems to be returning the event ID and not the WooCommerce product ID.

    TBH, I’m going to tell the client this is out of their development scope before I start going over budget.

    Thanks for all your help!

    -Justin

    in reply to: Add to Cart button inside of month template view #1013300
    Justin
    Participant

    Thanks Brian,

    So I have a solution using ACF that works though isn’t as streamlined as I would like.

    <a href="/?add-to-cart=<?php the_field('woo_post_id');?>">

    It’s nothing ground breaking but requires the user to enter the WooCommerece product ID into a field on the edit events page and then we have a click to add product to cart button in the menu.

    In an effort to make this more dynamic & streamlined, is there any way to access the Woo product ID from within the events loop?

Viewing 2 posts - 1 through 2 (of 2 total)