Skip to content
Advertisement

Tag: product

Change product name for generated variable products in WooCommerce

TL;DR version How do I change the name that is automatically generated for variable products? Detailed version The product variations all get names based on the variable attributes they generate from. Example Let’s say that there’s the varible product: Vase. Vase has the attribute: Condition, with values: ‘New’ ‘Refurbished’ ‘Used’. So if I do this (get and output all variation

Disable add to cart button via custom checkbox in WooCommerce product settings

We want to prevent add to cart for certain upcoming products. We want to have a checkbox to select the specific product on which we want to prevent add to cart. We have right now the checkbox and save code. I also found this: Remove add cart button in Woocommerce for a specific product category and https://wisdmlabs.com/blog/the-right-way-to-hide-add-to-cart-button-in-woocommerce/ I’m not sure,

Advertisement