Support

Home Forums Event Espresso Premium Show "Add to Cart" button on event detail page?

Show "Add to Cart" button on event detail page?

Posted: July 23, 2012 at 6:19 pm

Viewing 2 reply threads


aolsen

July 23, 2012 at 6:19 pm

I want to show the “Add to Cart” button on the event registration detail page in place of the registration form?

http://www.montananaturalist.org/event-registration/?ee=17

This is in the event_list_display.php file.

Thanks!


Josh

  • Support Staff

July 24, 2012 at 7:40 am

Please see this guide in the documentation: https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/

If you’re going to add this via the template, you’ll need to wrap the shortcode in a do_shortcode like this:

<?php echo do_shortcode('[ESPRESSO_CART_LINK event_id="'.$event_id.'" anchor="Add to your cart"]'); ?>


aolsen

July 25, 2012 at 5:52 pm

Great, thanks! I saw the page about the shortcode but didn’t know how to add it to my template file.

Viewing 2 reply threads

The support post ‘Show "Add to Cart" button on event detail page?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso