Y
Y
Yuri Yanin2017-05-25 02:03:55
PHP
Yuri Yanin, 2017-05-25 02:03:55

How to add checkboxes with additional services in Woocommerce cart?

How can you implement additional services in the basket? Variable products do not fit. I need not a specific product, but just a list of services, when clicked, the amount would be added to the total order, something similar to delivery methods, but separate from it. Services of the type "Pack in gift wrapping". You can use a plugin, but of course it’s better to direct it to the right hooks.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WordPress WooCommerce, 2017-05-25
@maxxannik

Firstly, the product is a translation error into Russian.
Initially, the entity is called - the product.
Products can be of product type or service type.
This means that you can add a Product of the Service type, and name it whatever you want. For example, "Consultation with a smart face."
Then go to the cart through the hook, or use the buttons to add the form. By clicking on which these services will be added to the basket. In any case, it makes more sense to use products.

S
Site Developer, 2017-05-25
@secsite

composite goods

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question