G
Godfrey Sorita
Guest
It is not working mainly because the parsed value of the token {!product_name} is treated as a variable in your JavaScript code. If you had a product name TEST , the code will be evaluated as: script var text = TEST; document.write(text); /script The code basically returns an error because TEST variable is not defined. Enclosing the token with a single or double quotation mark should fix the problem.
Continue reading...
Continue reading...