1

I'm trying to get the quantities of a bundle product before added to cart with js, jquery, knockout js or whatever can allow me to do this. I want to validate that user cannot add to cart if the qty of products added to bundle is not 7.

I show an example.

enter image description here

I need to get those qty and enable or disable Add to Cart button, depending on the qty.

Where can I start to have a look? I know that in module-checkout/view/frontend/templates there are some useful templates that I can override.

Thanks!

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.