Inhalte aufrufen

Profilbild

BUG: Product quantity not added to cart on mobile theme


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
2 Antworten zu diesem Thema

#1 nickh

nickh

    Advanced Member

  • Members
  • 95 Beiträge

Geschrieben: 19 May 2015 - 10:56

Hi,

 

I've just encountered a bug on your live demo site:

 

Using a mobile device (or spoofing the user agent), go to a product page (e.g http://demo.smartsto...n/apple-watch-2) and change the quantity to anything other than 1 and add it to the cart.  Only one of the selected product is added to the shopping cart (regardless of the quantity specified).  Updating the quantity from the shopping cart page works fine.

 

Where is the code responsible for this?



#2 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1108 Beiträge

Geschrieben: 19 May 2015 - 17:27

Thanks for the bug report, which we recorded as an issue.


Murat Cakir
SmartStore AG


#3 nickh

nickh

    Advanced Member

  • Members
  • 95 Beiträge

Geschrieben: 22 May 2015 - 10:51

FYI: This was a simple fix in the Product controller (I think - don't have the code in front of me).  The form key string just needed to be tweaked to include ".AddToCart".


  • MediArt gefällt das