Custom composite variations price via hooks / functions.php
-
Hello,
is there any possibility to set custom display of prices on composite product page and also in selectbox via hooks?
I have set in functions.php to display custom prices (with discounts etc.), but they don’t show for composite products (only the regular price is displayed there). For other types of products they work fine.
The hooks for my customized prices I have set up now are as follows:
woocommerce_product_get_price woocommerce_product_get_regular_price woocommerce_product_variation_get_regular_price woocommerce_product_variation_get_price woocommerce_product_variation_get_price woocommerce_product_variation_get_regular_price woocommerce_price_variation_price woocommerce_variation_prices_regular_price
My composite product consists of 3 variants. If I open these variants on a separate page of the parent product, the prices are correct. However, if these variants are opened within the composite product, only regular prices are displayed.
What hook or other option could I use if I wanted to adjust prices for a composite product as well?
Thanks!
- The topic ‘Custom composite variations price via hooks / functions.php’ is closed to new replies.