Announcement

Collapse
No announcement yet.

Problem with NETQUOTEVAR:PRODUCTREFERENCE and Duplicate Products

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

    Problem with NETQUOTEVAR:PRODUCTREFERENCE and Duplicate Products

    Problem:-

    Now that V7 has introduced Duplicate Products they use references in the generated HTML of the form "1!nnn" , "2!nnn" etc (where nnn is the original product's reference). However NETQUOTEVAR:PRODUCTREFERENCE (which is used in the Advanced guide for many tips and tricks) is not generating the "1!nnn" form but just the "nnn" part.

    This is breaking many of the Advanced Guide tips and tricks. E.g. the one for hiding the product quantity and presetting it to 1:-

    Edit that product template and replace:
    NETQUOTEVAR:PRODUCTQUANTITY
    with
    <!-- NETQUOTEVAR:PRODUCTQUANTITY --><input type="hidden"
    name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1">

    Will not work if this template is used for a duplicate product.

    Solution:-

    Make sure that the NETQUOTEVAR:PRODUCTREFERENCE generates the true value for normal and duplicate products.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    Many thanks Norman - I have fed this back to the development team.

    Comment

    Working...
    X