Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Display the price with add-to-cart button

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

  • This topic has 3 replies, 2 voices, and was last updated 11 years ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 30, 2014 at 10:21 pm #10749
    pitshop
    Member

    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?

    May 1, 2014 at 3:06 am #62634
    admin
    Keymaster

    The following post has details that will help:

    https://support.tipsandtricks-hq.com/forums/topic/dynamically-create-custom-product-displays-using-product-detail-shortcodes

    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

    May 1, 2014 at 9:48 am #62635
    pitshop
    Member

    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.– ?

    May 2, 2014 at 7:51 am #62636
    admin
    Keymaster

    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.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ