Support

Home Forums Multiple Event Registration Add-on Espresso Cart Link always adds an event

Espresso Cart Link always adds an event

Posted: June 28, 2013 at 3:58 pm


Brant LeClercq

June 28, 2013 at 3:58 pm

Hi,

I am trying to customize the ‘Add to Cart’ function for my website. I’d like to have a link to the cart however when I use the Espresso_Cart_Link shortcode it always adds an event to the cart and then redirects to the registration page. Is there a way to force it to simply go to the registration page without adding a new event. For example, ill have events a,b, and c in the cart and then I will click the Go To Cart link I created and it will add in event d for some reason. My code simply looks like :
[ESPRESSO_CART_LINK direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]

Also,
A neat feature would be to count how many items are inside the cart. I came across some code that would allow for this but couldn’t get it to work for my site. Is this something that will be implemented in the future?
https://eventespresso.com/topic/get-number-of-items-in-cart/

Thank you for your time.


Dean

June 30, 2013 at 11:36 pm

Hi,

You could just use a standard link and use the “view cart” url

http://www.yourwebsite.com/?page_id=5&regevent_action=show_shopping_cart

The page ID number is the id number for the page with ESPRESSO_EVENTS shortcode on it.

I will definitely add your request regarding the cart count feature.

The support post ‘Espresso Cart Link always adds an event’ 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