Support

Home Forums Multiple Event Registration Add-on MER shortcode not working?

MER shortcode not working?

Posted: September 12, 2013 at 10:19 am


Anne Castaldo

September 12, 2013 at 10:19 am

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 🙂

Thanks,
Dave


Tony

  • Support Staff

September 12, 2013 at 10:54 am

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?


Anne Castaldo

September 12, 2013 at 12:27 pm

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?


Sidney Harrell

September 12, 2013 at 4:30 pm

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

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.

Event Espresso