- This topic has 6 replies, 2 voices, and was last updated 13 years, 4 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Shortcodes on Category Page
Hey,
I swapped from simple shopping cart to this plugin
I have changed all the shortcodes but they don’t display on category pages
can you please take a look
http://www.dev.upfitness.co.uk/store
thanks
Your category page is most likely showing excerpts. Please try the following shortcode:
[wp_eStore_add_to_cart id=1]
1 is the product ID here
I have it still doesn’t work.
This worked fine with simple shopping cart.
thanks
I just tested again and wordpress simple shopping cart plugin seems to work for showing shortcodes in excerpts but the estore plugin i purchased doesn’t.
Not sure where to go from here?
Try this and let me know how you go:
1. Open the “wp_eStore1.php” file
2. Add the following line of code at the bottom of this file (just before the “?>” line is fine):
add_filter('the_excerpt', 'do_shortcode');
Ok the first one needs to be showing as it is in this format
[wp_eStore_add_to_cart id=1]
do i now need to change all the shortcodes again to be in this format?!
Yeah use the [wp_eStore_add_to_cart id=1]
shortcode since that one is working for you.