Developer forum

Forum » Swift » Add to cart button behavior when pressing enter key after changing the quantity

Add to cart button behavior when pressing enter key after changing the quantity

Pedro Meias
Pedro Meias
Reply

Hi

Please see issue on the video

https://www.screencast.com/t/RGa01xDlHE

Enviroment used (link to product page with related products list) - https://dev-swiftrizzo.mydwsite1.com/clothing/jerseys/terry-velocity-short-sleeve-jersey/green-s

DW 9.15.9

Swift v1.22.0

 

Thank you.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yeah, kind of weird behavior - but 'by design', maybe a bad one.

Just changed the script a bit so it will not reset the qty field after add to cart and so it will not resize the qty field in the list.

Devops#14652

 
Pedro Meias
Pedro Meias
Reply

Thank you Nicolai

 

You must be logged in to post in the forum