Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Cart Coupon Submit Button throws Error
 
robc
Jr. Member
 
Total Posts:  8
Joined:  2009-05-19
 

Error: unterminated string literal
discountForm.submit(false)’;

This is what i’ve gotten from the source code. Now I see the problem, but how does that occur? I’ve opened the Coupon.phtml and nowhere in there does it contain this snippet. <a href="[removed]discountForm.submit(false)’;">

What it does contain is this <a href="discountForm.submit(false)">

How’s that code being rewritten? Or am I looking in the wrong place, and if how can I fix this?

rc

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top