Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
MER shortcode not working? | Event Espresso - Staging Server

Support

Home Forums Multiple Event Registration MER shortcode not working?

MER shortcode not working?

Posted: September 12, 2013 at 10:19 am

Viewing 3 reply threads


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


Anonymous

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

  • Support Staff

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

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.

Event Espresso - Staging Server