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.
Besucht 1552, Followers 1, Geteilt 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

Gepostet am
1 ANTWORTEN
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

Mehr lesen
Gepostet am von Stefano G.