Announcement

Collapse
No announcement yet.

add to cart button on fragment on brochure page

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

    add to cart button on fragment on brochure page

    I've got a fragment set on the brochure home page detailing the current specila offer - which the client can set to whatever product they like, and that links through to the appropriate page.
    But the client has asked if they can have an 'add to cart' button here as well.
    I can add a static add to cart button into the template, but that means me changing the template everytime the client changes the special offer - is there a way to insert the add to cart into this fragment?
    I tried adding <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS> into the template that the fragment used, but it wasn't parsed (ie. the NETQUOTEVAR... was actually displayed on the page)

    #2
    Various functions are not available at all levels (this is now resolved in v8 and a great feature) ... you can try using the hardcoded link but also include a CSUTOMVAR for the variables to make it semi automatic in that the user can simply enter the product ref etc under the site options on a global level or at section level if used elsewhere other than the homepage


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      thanks jont
      what code would i need to insert into the template to get the button to work with a customvar?

      Comment


        #4
        The Advanced User Guide outlines "adding to cart from anywhere on the internet" ... use that guide and where the product number is used swap from a CUSTOMVAR so this can be easily changed by your client


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          thanks - i'll look into it

          Comment

          Working...
          X