Announcement

Collapse
No announcement yet.

Add to basket on product duplicate layout isn't working

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

    Add to basket on product duplicate layout isn't working

    I am using the single product page format (as per in the AUG), but also allowing for the user to add to basket from a section page (again, as per the AUG). This all works fine.

    The issue I'm having is with a section with multiple duplicate products. I have replicated the layout so the user can add to basket from this as well to be consistent, but I get page errors when trying to add to basket.

    Add to basket works on this page, which is just using products within individual sections:
    http://www.pixelcreation.co.uk/clien...nsumables.html

    Add to basket doesn't work on this page, which is a section containing multiple duplicate products:
    http://www.pixelcreation.co.uk/clien...-New-2009.html

    Is it possible to do what I'm doing and if yes, why doesn't it work for me?
    Web . Design . Multimedia . Branding

    #2
    Richard
    Are the original products for all these duplicates working OK? I tried to follow the "More info" link on the 'Rub-ons' page, but this didn't display a full product page....
    ActiveStock
    On-line, real-time stock control plug-in for Actinic V7, V8 and V9
    **New - Captcha plug-in for your Contact Us form**

    ActiveStock website
    Free 30 Day Trial
    ActiveStock Blog (including a new tutorial on a 'Sort By' function for long section pages)

    Comment


      #3
      Yes they. This page contains some of the original:
      http://www.pixelcreation.co.uk/clien...ply_Sweet.html

      The links don't work at present as I actually need to change them to use the link from the link tab and point that at the individual original product section page. Not sure what the variable is yet but working on that. This is separate to the above issue though.
      Web . Design . Multimedia . Branding

      Comment


        #4
        Got the links working now but still can't get the add to basket working on the duplicates.
        Web . Design . Multimedia . Branding

        Comment


          #5
          It might be helpful to try to get the error message variable into the mini product layout that you are using on the section pages. That way, you might get to see the full error that is being reported when you try to add to cart rather than just the bit at the top of the page with a link that doesn't go anywhere.
          ActiveStock
          On-line, real-time stock control plug-in for Actinic V7, V8 and V9
          **New - Captcha plug-in for your Contact Us form**

          ActiveStock website
          Free 30 Day Trial
          ActiveStock Blog (including a new tutorial on a 'Sort By' function for long section pages)

          Comment


            #6
            Good idea. Don't suppose you know what the variable is to display the full error?
            Web . Design . Multimedia . Branding

            Comment


              #7
              Right, the error I was getting was:
              "Quantity: The quantity must be a whole number between 1 and 32767."

              The code I was using on this duplicate product item:
              Code:
               <input type="text" name="Q_<Actinic:Variable Name="ProductReference"/>" size="3" value="<Actinic:Variable Name="DefaultQuantity"/>" class="formfield" />
              I have now fixed the issue, as per Chris Dicken's post:
              http://community.actinic.com/showpos...66&postcount=8

              "To fix the problem, the variable 'ProductReference' needs to replaced with a new variable called 'ProductID'."
              Web . Design . Multimedia . Branding

              Comment

              Working...
              X