Support

Home Forums Multiple Event Registration Add-on Add Cart Link and Event Description in [ESPRESSO_TABLE]

Add Cart Link and Event Description in [ESPRESSO_TABLE]

Posted: October 4, 2012 at 5:00 pm

Viewing 3 reply threads


Mark

October 4, 2012 at 5:00 pm

1) How would I change the register link in the espresso table to the add to cart link? I tried the following but this didn’t work because it can’t find the event id. It comes up blank like so: id=”cart_link_”.

2) How would I add the event description to the table?


Dean

October 5, 2012 at 4:02 am

Hello

1) Good question. Not sure, will run it by a dev.

2) by editing the espresso_table.php you can add in another column and use event_desc ?> to show the event description, but note that it will show it all.


Josh

  • Support Staff

October 5, 2012 at 7:14 am

Hi there,

You can change the register link to an add to cart link in espresso_table.php by changing this:

<?php echo $register_button ?>

to this:

<?php echo do_shortcode('[ESPRESSO_CART_LINK event_id="'.$event->id.'" anchor="Register for This Event"]');?>


Mark

October 5, 2012 at 10:07 am

Thanks guys. I’ll give it a shot.

Viewing 3 reply threads

The support post ‘Add Cart Link and Event Description in [ESPRESSO_TABLE]’ 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