Answer the question
In order to leave comments, you need to log in
How to create a woocommerce order?
Hello. How can you make such a structure for woocommerce: products would have checkboxes and a common order button, i.e. does the user check the necessary goods and an order is formed (without a basket, name, phone number and mail are entered)?
In general, such an implementation is needed: the user assembles a set for windows (as a test): first he selects the size of the window sill (for example, 20x100 or 30x100), then he selects the number of plugs and other components, indicates the services (delivery, installation) and his data, then the application (order). Does anyone have any idea what is the best way to implement this?
Answer the question
In order to leave comments, you need to log in
The right way is to create so-called variable products, i.e. products with many different options. You can find a lot of instructions for the keywords "woocommerce product options", for example - here . As a result, you will get something like:
Simple, but in general it will be clear. Well, then you can already try to make some kind of visual constructor for your windows, which will be more visual for your site visitors. But this is a topic for a separate question.
This can be done either by flipping the cart page, or by making a quick checkout button on the product page. How exactly the options are many, it all depends on your programming skill.
It’s not a fact that variable products will work here. Maybe we are talking about kits or optional products in general.
If we are talking about a lot of products, then you can make a shortcode of the Constructor type, display the necessary products, checkmarks and quantities there. Next, programmatically form an order from the selected products.
There can also be 1 product with options. Options can be any. The main thing to understand is that at the time of sending the product to the basket, you can change absolutely any parameters, be it the name, description and price. Depending on the options selected.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question