Announcement

Collapse
No announcement yet.

Need coding instructions for Add to Cart buttons in category_1.html template

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

  • Need coding instructions for Add to Cart buttons in category_1.html template

    Greetings,
    I have added custom add to cart buttons to my product and category pages. While the 3dCart knowledgebase instructions weren't 100% complete, I was able to do it. However, the instructions for customizing the Add to Car buttons on category pages only covers the category_0.html template. These instructions will not work for category_1.html

    Can someone please provide the coding instructions for this type of category page? I am able to successfully install the image, however, the button does not function. When clicked, the items selected do not add to the cart. Nothing happens. Thanks in advance for any help,
    danatanseo

  • #2
    Originally posted by danatanseo View Post
    Greetings,
    I have added custom add to cart buttons to my product and category pages. While the 3dCart knowledgebase instructions weren't 100% complete, I was able to do it. However, the instructions for customizing the Add to Car buttons on category pages only covers the category_0.html template. These instructions will not work for category_1.html

    Can someone please provide the coding instructions for this type of category page? I am able to successfully install the image, however, the button does not function. When clicked, the items selected do not add to the cart. Nothing happens. Thanks in advance for any help,
    danatanseo

    I was wondering if you received any help on this? I've also run into the same problem and was hoping that someone can provide me with some info.
    Last edited by Toymaster; 01-02-2012, 06:00 PM.
    ___________________
    Toymaster
    www.1upcollectibles.com
    www.facebook.com/1upCollectible

    Comment


    • #3
      I was about to head out the door, so I am not sure if this is correct or not. Try this:

      HTML Code:
      <input type="image" name="Add" value="[product_addtocart]" src="YOUR IMAGE PATH HERE" border="0">
      If this doesn't work, I will get the fix up later tonight.

      Comment


      • #4
        <a href="javascript:check_and_add(document.add)"><img src="/assets/images/YOURADDTOCARTBUTTON.png" border="0" width="124" height="46" /></a>
        (¯`v´¯)
        `*.¸.*´

        ¸.•´¸.•*¨) ¸.•*¨)
        (¸.•´ (¸.•´ .•´ ¸¸.•¨¯`•
        * P£†®ª *

        Shadow Trailers
        www.TrailerandTruckParts.com
        www.Trailer-Wheels.com
        www.iTrailerParts.com

        Comment


        • #5
          I'm not sure exactly what either of you to are referring to. Where would I place/replace either of your codes?
          ___________________
          Toymaster
          www.1upcollectibles.com
          www.facebook.com/1upCollectible

          Comment


          • #6
            you replace your entire button code with mine. Then it will work.
            (¯`v´¯)
            `*.¸.*´

            ¸.•´¸.•*¨) ¸.•*¨)
            (¸.•´ (¸.•´ .•´ ¸¸.•¨¯`•
            * P£†®ª *

            Shadow Trailers
            www.TrailerandTruckParts.com
            www.Trailer-Wheels.com
            www.iTrailerParts.com

            Comment


            • #7
              Maybe I'm doing something wrong but I've added your code to the category_0.html and it's still using the the default add to cart. What am I missing?
              ___________________
              Toymaster
              www.1upcollectibles.com
              www.facebook.com/1upCollectible

              Comment


              • #8
                I thought you were trying to get category_1 to work, not category_0
                TheCartDesigner.com
                Not 3dcart Owned or Operated
                100% Independent 3dcart Expert


                Follow Us on Twitter

                Comment

                Working...
                X