- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › WP eStore General Questions › Display the price with add-to-cart button
Tagged: display price, product price
I use the shortcode “wp_eStore_add_to_cart id=1” in my wp product pages. I did not find out how to display a product price. As I do not want to write the price manually in my product page I am looking for the appropriate shortcode. I checked the shortcodes but I didn’t find it. How can I display the product price additionally to the add cart button?
The following post has details that will help:
We also have a few nice product display templates to show your products:
http://www.tipsandtricks-hq.com/ecommerce/stylish-product-display-options-for-wp-estore-829
thank You for Your hint.
If I use the product details shortcode [wp_eStore_product_details id=1 info=”price”] to display the price, then it only shows the figure of the price as: 25, instead of e.g. Price: USD 25.00 …as it usually does in other display options.
Is it meant that I have to add the missing word “Price” and the zero’s manually myself?
Also the shortcode: [wp_eStore_display_compact_cart show_empty=1 show_sub_total=1 show_title=0 show_cart_image=1] displays only the figure of the price: 25 (and not 25.00 as it usually does)
Waht can I do to display 25.00 or for my purpose even 25.– ?
Use the following shortcode which will show the formatted price:
[wp_eStore_product_details id=1 info="price_formatted"]
The shortcode will ONLY output the key data that you entered in the product configuration. The text is something you add around that data. Different users will want to use different text so this model works better for that.