W
W
wmvova2017-08-18 10:42:32
PHP
wmvova, 2017-08-18 10:42:32

Number of goods and size of goods. (woocommerce)?

Importance. Significance. need, possibility of creation??
1ec4b8e600fa4657b084ba4b5e936cc6.png
The point is - For a person to order several goods at once, for example, he chose 2 pairs of shoe sizes 35, 5 pairs of 36, others 0 for example, etc.
If possible, what method? what ways to move. Maybe there are solutions.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Yanchevsky, 2017-08-18
@deniscopro

Looks like a grouped item. Isn't it?
woocommerce-27-1024.jpg?cb=1502565420

W
WordPress WooCommerce, 2017-08-18
@maxxannik

Monsieur knows a lot about perversions :)
I would do the following:
1. I would fire up the shortcode
2. I would insert the shortcode on any page
3. then I taught the shortcode to eat product IDs via GET like ?ids=123,22,555
4. we loop through these ids and we display fields with a choice of variation and quantity
5. all this is wrapped in a form
6. then we send the form
7. we process by adding each product programmatically to the basket in the specified quantity and with the specified variation
Something like this. Write a lot of code. But if you like to fantasize, love to code :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question