Announcement

Collapse
No announcement yet.

adding to cart on the extended info page

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

    adding to cart on the extended info page

    we are chaning our site to add to cart once for the entire page which works great.

    just one little snag we can no longer add to cart of the extended info pages

    an example can be found here:

    http://www.sweetswholesale.co.uk/aca...ED_TOFFEE.html

    we may have reverted back to add to cart on each product when you look at the link as we may have had to change the site back for the time been
    David Mawson
    Phoenix Trading

    http://www.sweetswholesale.co.uk - Wholesale confectionery suppliers

    #2
    Hi,

    It looks like you are missing some code that needs to surround the product information to make the add to cart button work.

    This should go at the beginning of the product area:

    Code:
    <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />"> 
             <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" />
             <input type="hidden" name="PAGE" value="PRODUCT" />           
             <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" />
             <Actinic:SECTION BLOB='<Actinic:Variable Name="SectionCatFile"/>'/>
             <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">
                <!-- Hidden field when in trial mode -->
                <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" />
             </actinic:block>
    and this should go at the end

    Code:
    </form>
    As your extended info page is very customised I can only suggest that you take a look at the default 'Includes Add to Cart Button' layout (if you still have it) or a default product layout should help to show where it needs to be positioned.
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      thanks for your reply Tracy but that code is already there

      the page works perfectly when we dont use single add to cart per page but when we change to single add to cart per page the extended info add to cart button does not work

      regards

      david
      David Mawson
      Phoenix Trading

      http://www.sweetswholesale.co.uk - Wholesale confectionery suppliers

      Comment


        #4
        Hi David,

        I did try this out on my default site before posting so it should work. I wonder if you have copied the code across from a normal product layout and therefore the above code I provided may be surrounded by a 'block if'. If so and it contains 'IsProductFormUsed' then you need to remove the whole block if statements from both pieces of code.
        ********************
        Tracey
        SellerDeck

        Comment


          #5
          I think you may be on to something here Tracy

          will test now and let you know how I get on
          David Mawson
          Phoenix Trading

          http://www.sweetswholesale.co.uk - Wholesale confectionery suppliers

          Comment

          Working...
          X