Display WooCommerce product (modified) price


[wcj_product_price] shortcode displays price for WooCommerce product. Price can be modified before output.


(optional) The integer ID for an product.

Default: The current product ID, if exists
(optional) If set, the price will be multiplied by this value.

Default: None
(optional) If set to yes will hide currency symbol and formatting from the result.

Default: no
(optional) Text to place before the content. If content is empty this argument is ignored.

Default: None
(optional) Text to place after the content. If content is empty this argument is ignored.

Default: None
(optional) Make shortcode results visible to everyone (all), or to admin only (admin).

Default: all


Product price with 5% fee: [wcj_product_price multiply_by="1.05"]
Recommended for WooCommerce Product Info module
Accessible through:
  • [wcj_product_price]
Tested on WooCommerce 3.2.6 and WordPress 4.9.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply



  1. Mario February 18, 2015 at 7:26 pm #

    This is it! Thank you!

    Reply to thread

    • Mario February 18, 2015 at 7:54 pm #

      The only problem is that it doesn’t refresh when you change variations for variable products – will this be possible in next updates?

    • WooJetpack Support Team February 18, 2015 at 7:59 pm #

      Will check that asap.

      Best regards,

    • Mario February 18, 2015 at 8:12 pm #

      Thank you! Also is it possible to put “,” instead of “.” by some option? That would be great since in Europe, “cents” are divided by “,”, not “.”. Thank you!

    • Mario February 18, 2015 at 8:14 pm #

      Thousand separator – .
      Decimal separator – ,
      it should read that from woocommerce curency settings 😉

    • WooJetpack Support Team February 19, 2015 at 8:21 am #


      Sure, formatting the price will be added.

      Best regards,

    • Mario February 21, 2015 at 3:39 pm #

      Any changes about my problems? 🙂

    • WooJetpack Support Team February 22, 2015 at 2:04 pm #

      Hi Mario,

      I’ve just uploaded v.2.1.2 to repository. Shortcode now displays formatted price (you can still display “raw” price by setting hide_currency to yes).
      Unfortunately I didn’t manage to fully solve the problem with variable products. At the moment I’ve modified the shortcode so it will display price range for variable product (you can still use multiply_by). I will try to make it change with variation selection in one of our future releases, however I can’t say anything on deadlines.

      Best regards,

    • Mario February 22, 2015 at 2:50 pm #

      Thank you! Now it’s much better, when you solve refresh for variable prices, it will be even better!

    • Mario March 2, 2015 at 7:25 pm #

      Hello Tom – any news about refreshing when product is variable?

    • Mario October 5, 2015 at 1:51 pm #

      Hello Tom – any news about dynamic price changing for variable products?

  2. Johan September 14, 2017 at 10:52 am #

    I use ‘Price by user role’ and ‘Product info’ in my webshop.
    Is there any shortcode for ‘Product info’ to show Regular Price before discount (Role based)?
    I have tried every ‘Product price’ code and they all show the net price after discount…

    Reply to thread