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
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
Comment