M
M
MrFrumpuSs2021-11-25 21:41:34
PHP
MrFrumpuSs, 2021-11-25 21:41:34

Selecting items to pay from WooCommerce cart?

I need to add checkboxes for products in the cart, only products with selected checkboxes should go to the payment page. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy, 2021-11-25
@Evdokim001

An interesting task)
In theory, there is an apply button on the cart page. So, if you change the number of products and click apply, the price will change. You can see how this moment works and do the following: when you click on the checkbox, send AJAX only with the data that was selected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question