Display Issues for Variations
-
Hello,
we have got some little issues with displaying elements on variable products, that I can not fix by my own. Probably it has to be done with JavaScript – a thing that I have nearly no knowledge of.
1. The SKU should be hidden, when no variation is selected
We want to show the SKU, but not for parent products. I know that it’s not required, but we have to allocate it for internal use, so that the import via WooCommerce Product CSV Import Suite works correct.2. A button should be disabled/hidden, when no variation is selected
Because it is an issue nearby to No. 1, I also put this in my posting and don’t ask the WooThemes support directly: We want to disable (analog to the new “Add to Cart” button behaviour) or hide the “Add to Wishlist” button (WooCommerce Wishlists plugin), when no variation is selected.
Unlike the “Add to Cart” button, the “Add to Wishlist” button is not a real “button” in HTML, but only a CSS styled “a” link.3. Hide text if no variation is selected AND if same price for all variations
We added a text under the price in the template (“excl. tax and shipping costs” with a link to the shipping page), that is also visible above the “Add to Cart” button, when all variations have got the same price – so that there is no price displayed at this place, even when a variation is selected. We couldn’t use the “Price Display Suffix” in the WooCommerce settings, because there is no HTML allowed and so the link doesn’t work.Thank you.
- The topic ‘Display Issues for Variations’ is closed to new replies.