Hello!
My client’s website is https://www.deinboden.at
I’ve created an individual archive layout for my woocommerce products with cornerstone.
In Austria it is mandatory to show the price per unit to customers. The Plugin “Germanized” brings this feature to my shop.
To display the price per unit anywhere they have the following shortcode:
[gzd_product_unit_price]
The problem is that the shortcode will not be recognized by the product loop itself. As a result the price per unit of the 1st product in the archive is displayed at every other product.
Is it possible to make the shortcode functional for the loop?
Alternatively I’ve also found the right dynamic content key at “meta (custom fields)”:
{{dc:post:meta key="_unit_price"}}
The code works and brings me the right numbers but they are not formatted correctly. For instance the decimal separator is a point instead of a comma. (In Woocommerce backend the separator is set correctly as a comma). I’ve read in another thread, that it is not possible to format woocommerce price metakeys is that still the case?
Thanks in advance!