Hi, I am trying to implement the custom button shortcode [ESPRESSO_CART_LINK anchor=” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”] in one of my events but it is not showing the image, it just shows the text “view cart” as a link. Is there something I am doing wrong?
Oh and yes I replaced the img path to one that has an image 🙂
You can see ‘View Cart’ as your event is already in your cart.
If you go to the yourdomain.com/registration-cancelled/ you will clear your session and therefor remove all events from your cart. You should then see your green ‘Register for this event’ image.
Are you also trying to style the view cart button or just the main add to cart button?
Well that was certainly a brain fart moment, lol thanks for the help. My goal was just to make it easier for new customers to have a button rather than a text link, but since on the subject, how easy is it to style the view cart link?
The “View Cart” text is in a translatable string, so you should be able to change it to a string of html with your image tag using this function: https://gist.github.com/sethshoultes/5650757
Viewing 3 reply threads
The support post ‘MER shortcode not working?’ 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.