Announcement

Collapse
No announcement yet.

Template Code Explanation

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

    Template Code Explanation

    I have just created a new product template using code from other sample templates.

    Actinic Version: 7.0.7

    During line by line testing I have found out that the following code does two things.

    <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>

    With a basic product with no options this code delivers the 'Add To Cart' button which to be honest doesn't take alot to work out.

    With a product that has options however this code also delivers the options which is a little harder to understand.

    Can anyone shed some light on why and how a split the two out to individual items?

    #2
    It's in the V7 Advanced Guide. Download via actinic.co.uk. Look for "Changing the Way Product Variants are Laid Out".
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Originally posted by NormanRouxel View Post
      It's in the V7 Advanced Guide. Download via actinic.co.uk. Look for "Changing the Way Product Variants are Laid Out".
      Thank you

      Strange that they would got to the trouble of of combining the two in one variable but hey it's sorted.

      Comment


        #4
        Your right. Probably a relic from the original version. When variants were later added they were added to an existing netquotevar so that older Templates would continue to work.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X