Announcement

Collapse
No announcement yet.

formatting product variants

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

    formatting product variants

    Dear Community

    Actinic is inserting a <span> element and a <br> around my product variant labels

    <span class="actxsmall">NETQUOTEVAR:VARIANTLABEL1:</span><br>

    The knowledge base says....
    The product variant templates (there are several ones) are used to construct the "add to cart" part of the product line. They are inserted into the html file by CGenerateHTMLCatalog::GetProductButton (PERL script). All of these additional items (variant buttons, checkboxes, dropdowns...etc) extends the html fragment inserted into the place of NETQUOTEVAR:ADDTOCARTBUTTON.


    However this doesn't take my current understanding much further. Can anybody tell me where I can get at the variant label and selector templates?

    Many Thanks
    Peter

    #2
    The template you want is Act_VariantAttributeName.html. You can get at this template by going to 'Advanced | Template Manager | Product Variants' and then clicking on the 'Attribute Name' button.

    The <span>s and the <br> can be seen in the following line:

    <span class="actxsmall">NETQUOTEVAR:ATTRIBUTENAME</span><br>

    Remove these and then preview the store to see the effect.

    Comment


      #3
      thank you

      Whoops. never looked at that tab before.
      i need an icon for feeling very embarrassed!

      thankyou!

      Comment

      Working...
      X