Announcement

Collapse
No announcement yet.

"The following product(s) can not be added to the cart" error - please help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "The following product(s) can not be added to the cart" error - please help

    After recently upgrading our site at http://www.qpjewellers.com I am now receiving the following error when trying to add something to the cart (try it out if you like):

    The following product(s) can not be added to the cart.
    You can find the error description(s) by following the link(s).

    Following the link does not give any error code. I've tried changing the code for the "Add to cart" button and comparing the code with a previous version, but nothing seems to have changed. We do not have any duplicates, which I've read can lead to this error.

    I can't seem to find out what the problem is. Can anyone help?

    Matt

    #2
    not entirely sure but you haven't done anything daft like remove the qty box from the product layout but kept the "qty on product page" option ticked in Design > Design Options, have you?
    Tracey

    Comment


      #3
      Thanks Tracey! I had removed the quantity variable completely without realising that it was compulsory, regardless of visible or hidden. So I just pasted this snippet of code in, and it works:

      <input type="hidden" name="Q_<actinic:variable Name="ProductID"/>" value="1" class="form_input_general" />

      Comment


        #4
        Damn, I'm good!

        Kidding, of course. Glad it's sorted
        Tracey

        Comment

        Working...
        X