lucafolin
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Variable Product Price only on Product Page are not showingyou have to inset this code in your function.php file.
Use snippets plug in for wordpress, it could help you.
L.Forum: Plugins
In reply to: [WooCommerce] Variable Product Price only on Product Page are not showingfinally I fixed the problem with this code:
// Display Price For Variable Product With Same Variations Prices
add_filter(‘woocommerce_available_variation’, function ($value, $object = null, $variation = null) {
if ($value[‘price_html’] == ”) {
$value[‘price_html’] = ‘<span class=”price”>’ . $variation->get_price_html() . ‘</span>’;
}
return $value;
}, 10, 3);Forum: Plugins
In reply to: [WooCommerce] Variable Product Price only on Product Page are not showingok the problem is as you have described.
If you have the SAME price for ALL the variation no price is showing between drop down box and stock quantity even if I reenable the price-range under product title’s.
I think it’s a bug because you should manage variable products with the same price but I don’t know how to fix it with this version of woocommerce.
thk for your help.Forum: Plugins
In reply to: [WooCommerce] Variable Product Price only on Product Page are not showingYes the first two products are ok as you said but the other two still remain down….no price showing…
Yes there are some mistakes ( I’m trying and retrying to modify any parameters).
As you can see from the two attached images now everything is ok about attributs and price fields but it still not working.http://oliodamico.it/galleries/test/
If I create new products for test the price is still not showing … no more ….