Additional example code to make popup page have submit and attribute buttons. You should use this with the "Quantity on Confirmation page" or "Quantity in Shopping Cart" section display options. Don't use with "Quantity On product page" as errors (invalid quantity, etc) are sent back to the calling page and in this case it would be the popup page that has already closed it's window. ************************************************************** Alternative Extended info Template Test_ExtendedInfo.html Wrap a named form around original template. Use Javascript on submit to fetch the form submission details from the calling page. Also add in the NETQUOTEVAR:PRODUCTPRICE NETQUOTEVAR:PRODUCTQUANTITY and NETQUOTEVAR:ADDTOCARTBUTTON from the calling product page. ************************************************************** NETQUOTEVAR:PAGETITLE NETQUOTEVAR:PAGEHEADER
NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF
NETQUOTEVAR:INFOTEXT
NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK NETQUOTEVAR:PRICEEXPLANATION
NETQUOTEVAR:PRODUCTPRICE NETQUOTEVAR:PRODUCTQUANTITY NETQUOTEVAR:ADDTOCARTBUTTON
************************************************************** Then amend Act_ProductBody.html to add the fragment below to the top of the template. This uniquely names the main window so we can use it as the TARGET of the popup form submission. ************************************************************** ..... template continues unaltered. ************************************************************** And in Actinic arrange for the Test_ExtendedInfo.html template to be used as the popup template. ************************************************************** Enhancements. You can also (optionally) comment out the NETQUOTEVAR:ADDTOCARTBUTTON on the ProductLine template so that the popup is the only way to submit the details. Also if you do this and comment out the NETQUOTEVAR:PRODUCTDESCRIPTION in your Product Template and replace the NETQUOTEVAR:INFOTEXT in Test_ExtendedInfo.html with NETQUOTEVAR:PRODUCTDESCRIPTION then you move your normal product description from the product page to the popup one.