- This topic has 5 replies, 3 voices, and was last updated 10 years, 5 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 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 › eStore – Adding 'Old Price' to Product Page
Tagged: old price, price, slashed out price
I would like the old price to show when on my product page.
This is the page that I have all our books list and it shows it here. [http://66.147.244.61/~raphajou/resources/books/]
I would also like to see it on the product page but it doesn’t show up. [http://66.147.244.61/~raphajou/resources/books/letting-god-heal/]
Is there a different shortcode I can use for this. I would like it to be dynamic in case we change prices in the future for certain items. The shortcode I am using currently is:
List Price: [wp_eStore_product_details id=11 info=”price_formatted”]
[wp_eStore_add_to_cart id=11]
Thanks!
Yes, I have looked at this post and it is working in the list of items using the fancy display but I would also like it to show on the product page.
What shortcode are you using on the product page?
This is the short code that I have displayed on the product page:
List Price: [wp_eStore_product_details id=9 info=”price_formatted”]
[wp_eStore_add_to_cart id=9]
That shortcode you are using lets you retrieve various data of a product. Nothing is going to be done for you automatically because it expects that you retrieve the data then do whatever you want with it.
You would use the following shortcode to retrieve and show the old price value of an item:
[wp_eStore_product_details id=9 info="old_price"]
You could add style to it like this:
<div class="my-custom-old-price" style="text-decoration: line-through;">
[wp_eStore_product_details id=9 info="old_price"]
</div>