WebSite X5Help Center

 
Carlton O.
Carlton O.
User

How to get 1 user input field to equal another in the shopping cart  en

Autor: Carlton O.
Visited 1480, Followers 1, Udostępniony 0  

Product card 1 - User selects a product and enters 10 in the quantity field. How can I using code make the second product card automatically show 10 in the quantity field.

I am trying to do something like this

Card 1 code

$('#product_269cx0k4ku_qty').val()

Card 2 code

$('#product_16t8e6dwkn_qty').val()

I tried     $('#product_16t8e6dwkn_qty').val(), = $('#product_269cx0k4ku_qty').val()

Don't laugh, no it did not work, worth a try

Any brainy people out there that can help - thanks Carlton

Posted on the
1 ODPOWIEDZI
Incomedia
Stefano G.
Incomedia

Good afternoon

If I understand correctly, I am afraid that this behavior can in no way be achieved with the standard functionalities of the software and thus you will have to rely on custom code.

Since the Staff cannot provide support for this though, I can only leave this topic open so that other users might eventually stop by and help you out with it

Thank you for your understanding

Stefano

Czytaj więcej
Posted on the from Stefano G.