All Questions
3 questions
0
votes
2
answers
372
views
Woocommerce - Max quantity per variation limit and message
I am using this code to limit the quantity the customers can buy per product :
add_filter( 'woocommerce_available_variation', 'woo_quantity_max_variation', 9999, 3 );
function ...
-1
votes
1
answer
286
views
Conditionally unset checkout fields if certain type of person is selected
How do I create a function (code-snippets) in order to unset or make checkout woocommerce field not required based on type of person field?
There are 2 customer options: Company or Person. If a person ...
0
votes
0
answers
25
views
How to use php tag with conditional logic in WooCommerce function [duplicate]
I have a code to display checkbox on my single product pages in my WooCommerce shop. I want to only execute it for 2 product categories, unfortunately when I try to merge my code with conditional ...