Mike wrote:- >Hi, I trying to assign the Buy button prompt to "Order at >NETQUOTEVAR:COST" but it wont parse the NETQUOTEVAR. >Any ideas why not or ideas how I can get round it Many NETQUOTEVARS only work within specific Templates. Grrrr. Drives me mad. Why can't Actinic make all product specific variables available throughout the scope of that product. You could try this general purpose idea as a workaround. It's a little trick involving setting a javascript variable in the template where you do have access to the NETQUOTEVAR you need and picking it up later where it's required:- The template where the NETQUOTEVAR:COST is legal - that's Act_ProductPrice.html becomes:-
NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY NETQUOTEVAR:COST NETQUOTEVAR:TAXMESSAGE Now you have the value of NETQUOTEVAR:COST as a string in a Javascript variable "Cost" available to all subsequent HTML. If you make sure that the above template precedes your cartbuttton code (luckily it does in most themes) you can now create the cartbutton call by rewriting Act_CartButton.html with a document.write to generate the code you require:-

Note the test for Order at above. Now in your Product dialogue if you set the Button prompt for a product to "Order at" then you get the value shown with the price as you desire. Any other value for the button prompt and the normal button is created. Norman p.s. This will probably get munged by being e-mailed but has been tested with V5 catalog.