woocommerce-variation placeholder set to display: none
-
Since upgrading to 2.5.2 from a previous version the output placeholders for a single variation are not output if there is no default variation set on the product.
(i.e the product has variations but there is no defaulted variation).The difference is if the variable product has a default set then :-
<div?class=”woocommerce-variation single_variation”?style=””>
no default set :-
<div?class=”woocommerce-variation single_variation”?style=”display: none;”>
This appears to be set from some code as the formatting is done via something other than a .css file
element.style {
????display: none;
}I think the code is determining that there is no default option and so decides not to display the output placeholders. Unfortunately in my case it still out puts the add to cart button which consequently overwrites the slect option area.
How can I stop the display:none happening ?
- The topic ‘woocommerce-variation placeholder set to display: none’ is closed to new replies.