J Davies

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Having issues with importing a CSV file of events #1029339
    J Davies
    Participant

    This reply is private.

    in reply to: [HELP] TICKETS – PRODUCT BUNDLES – DEPOSIT System #951855
    J Davies
    Participant

    Ok so after a while I have solved this, and I would like to share this information incase anyone else needs this solution.

    I have created a custom post type called add_product_shortcode . This is where you enter the woocommerce product ID using the woocommerce shortcode plugin and code [product_page id=”XXXX”] in your events custom fields

    Edit tickets.php and add my code just after line 10 or after

    ob_start();
    ?>
    <?php $productshortcode = get_field('add_product_shortcode');
    if( $productshortcode != '' ){ ?>
    
    <?php echo do_shortcode($productshortcode); ?>
    <?php } else { ?>

    at the end of the file add an extra

    }

    What this will do is, once you add the direct product shortcode in the event page it will embed the product directly into the event and not display the event ticket .

    We needed this option to offer “Bundles of EVENT products” and also our deposit system only works with the woocommerce system.

    in reply to: [HELP] TICKETS – PRODUCT BUNDLES – DEPOSIT System #949139
    J Davies
    Participant

    Add a woocomerce product which is not an event to event

    Has part of my answer, but when I add that code it fails I need oniregoc’s Help

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