Hey.
I need to write a function that would be able to set the minimum quantity of an item to add to the cart, and the step of increasing this quantity.
I wrote it:
// Adding and displaying additional product quantity custom fields
add_action( ‘woocommerce_product_options_pricing’, ‘additional_product_pricing_option_fields’, 50 );
function additional_product_pricing_option_fields() {
$domain = “woocommerce”;
global $post;
echo ‘