Announcement

Collapse
No announcement yet.

2 add to cart buttons on single product page

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

    2 add to cart buttons on single product page

    Using v10

    Are there any issues with having the add to cart button twice on a single product page - twice in the product layout. I want one near the top and one at the end of the product description. Many of my products will have quite long descriptions so I want the user to have the option of add to cart at the top and bottom of the page.
    Regards,

    Keith

    Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

    #2
    No problems that I can think off. Try it and see.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      I've done this before - IIRC you may have to have two forms on the page though.

      Comment


        #4
        No need to tinker with extra forms. A SPP has all the products within a single form and that form can have multiple submit buttons. Just try duplicating the existing one at the top of the form (but of course, inside it).

        On most Themes the layout to tweak is Section Page With Section Name At The Top.

        Look there for:
        Code:
              <actinic:variable name="ProductList" />
        
           <actinic:block if="%3cactinic%3avariable%20name%3d%22SingleAddToCartButtonIsUsed%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
              <div align="right">
                 <actinic:variable name="SingleAddToCartButton" />
              </div>
           </actinic:block>
        And copy that second lump into the top like:
        Code:
           <actinic:block if="%3cactinic%3avariable%20name%3d%22SingleAddToCartButtonIsUsed%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
              <div align="right">
                 <actinic:variable name="SingleAddToCartButton" />
              </div>
           </actinic:block>
        
              <actinic:variable name="ProductList" />
        
           <actinic:block if="%3cactinic%3avariable%20name%3d%22SingleAddToCartButtonIsUsed%22%20%2f%3e%20AND%20%3cactinic%3avariable%20name%3d%22SectionHasVisibleProduct%22%20%2f%3e" >
              <div align="right">
                 <actinic:variable name="SingleAddToCartButton" />
              </div>
           </actinic:block>
        Job done.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Thanks for your replies. I'll give it a try soon and post the results when complete.
          Regards,

          Keith

          Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

          Comment


            #6
            I have tried two 'add to cart' buttons on one single product page and it works.
            Regards,

            Keith

            Central Heating Supplies | Life Insurance Quotes | Be Modern Orlando Electric Fires | Grant Boilers | Honeywell Heating Controls | Worcester Bosch Oil Boilers | Oil Boilers

            Comment

            Working...
            X