V
V
vladryjoff2020-04-17 13:00:15
WooCommerce
vladryjoff, 2020-04-17 13:00:15

Wordpress/Woocommerce Allow users to specify a different number of variable products when purchasing in the product card when purchasing?

I welcome everyone. Faced a problem. Maybe someone will advise. The bottom line is this:
In the product card, it is necessary to implement the following functionality: so that the user can specify the quantity of goods for each size (product attribute). For example, as on this site (not advertising) - https://prostotekstil.ru/futbolka-tuman-4326 . Each size has its own quantity of goods, when added to the cart, everything is naturally considered as a separate product, since the original product is grouped and consists of products with different sizes of the same clothing model being sold.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2020-04-17
@vladryjoff

Just add the number of inputs you need for variations, and then use Javascript to throw the quantity from the input into the quantity parameter in the add to cart link.
This is if on the fingers and the simplest option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question