Hi Johann,
Thanks for reaching out to us. Please overwrite the template price-unit.php inside your child theme, here is the path:
woocommerce-germanized > templates > loop >price-unit.php
Change the following:
<p class="price price-unit smaller wc-gzd-additional-info wc-gzd-additional-info-loop"><?php echo wp_kses_post( wc_gzd_get_product( $product )->get_unit_price_html() ); ?></p>
Like this:
<p class="price-unit smaller wc-gzd-additional-info wc-gzd-additional-info-loop"><?php echo wp_kses_post( wc_gzd_get_product( $product )->get_unit_price_html() ); ?></p>
Basically, the class name is the same, and our plugin push variation price while you select variations on the archive page. We push variation prices for the .price
class which is also used by the Gemanized for WooCommerce plugin.
I hope the above steps will help you to resolve this issue.
Thank You
Unit price gets replaced by default price
Johann Schuster
Dear support team,
after a recent update, the unit price of products with variations are getting replaced by the default price after the website has finished loading, as you can see on the first screenshot. This is only the case on product archive pages, while the output on single product works fine. Products without variations are also working fine on product archive pages. You can see the problem here: https://www.dietrex.de/shop/
I already tried to set the new option “Archive variation threshold” to 5, but then the unit price isn’t visible at all (means it maybe got initially replaced). Perhaps there is an incompatibility with “Woocommerce Germanized”, but it was working before updating the website for sure.
Please have a look at this, since showing prices without unit price is not legal in germany. If you need any more information, let me know.
Kind regards,
Johann