Posted: August 22, 2013 at 5:08 pm
|
Hello EE, Josh or Dean or Garth sent us this link as an option to format our cart with this shortcode–would you please send us an example of how this looks when applied? A link to a page that is set up with this code. thank you!! from EE: https://eventespresso.com/wiki/shortcodes-template-variables/ |
Here’s a direct link to the documentation that shows usage examples: https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart While the cart link’s appearance will vary depending on the WordPress theme installed, here’s a link to a page on a website where a cart link is set up: http://eetesting.info/3.1.josh/mer-test/ It’s marked up as a simple HTML table in the page editor like this: <style>td{width:50%;}</style> <table> <tr> <td> Option #1 </td> <td> [ESPRESSO_CART_LINK event_id="2737" anchor="Add this option to your cart"] </td> </tr> <tr> <td> Option #2 </td> <td> [ESPRESSO_CART_LINK event_id="2777" anchor="Add this option to your cart"] </td> </tr> </table> |
|
|
Hi josh so could we purchase a support token and have EE set us up this way ? We want to do this but feel its best to have your team do it to get it done right. Please let me know how to proceed with this. Thx Michelle |
|
Hi josh also, can we set the default selection to “1” for quantity in all events ? |
Hi there, Depending on the number of events, these can be set up on a page by support staff for one support token (which covers 30 minutes of working time). The default is set to zero in the cart for events to allow for multiple price types. If you are doing one price per event the default can be changed with some custom development (by using jQuery). Here is some example code: <script>jQuery(document).ready(function(){ jQuery(".price_id").val(1); jQuery('#event_espresso_refresh_total').trigger('click'); }); </script> |
|
The support post ‘ESPRESS CART LINK SHORTCODE’ 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.