This topic has 6 replies, 3 voices, and was last updated 7 years, 5 months ago ago by Olga Barlow
After creating a custom product attribute, I use it for variations. The problem is that I do not want that attribute to be visible on the product page. I unchecked the “Visible on the product page” block, but that seems to not work.
Trying to add UPC variations without showing that option on the front end. Is there are way to apply a quick fix using css?
Hello,
Put following css in,
8theme options >> styling >> custom css >> global custom css
.single-product .variations { display: none; }
This will hide the variations in single product page but I am not sure why you want to do this.
Do you aware that user can not add a product to the cart if the user does not select a variation when the product has variations?
You are right. It’s not a good idea to hide with css code.
My problem is with Google Merchant Center requiring GTIN for products. I want to add a UPC variation to each variable product in a single listing. What is the best solution for adding variable product UPC?
Hello,
You can try additional plugins https://wordpress.org/plugins/woocommerce-barcode-isbn/
http://www.exportfeed.com/faq/how-do-i-add-upcean-values-to-variable-products-in-woocommerce/
But it would be better to ask about this on WooCommerce support forum because it’s related to WooCommerce plugin, our theme does not have any special options for the variable products.
Regards
That ExportFeed plugin is what I needed.
Thank you for that information.
You are welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up