| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
'Add to Cart' Alert Message | ||||
|
|
Thread Tools | Search this Thread |
#71
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Seems like the code is escaped but can't tell you much without seeing it in action. You use "|escape" to escape special characters, you can use "|escape:'alt'" or "|escape:'html'"
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#72
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Steve, I can give you ftp access if you would like?
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#73
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
somehow the js code is getting broken up on multiple lines.
I'm attaching screenshots of working code, the working source code and the source code from buckeye. |
|||||||
#74
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
bitofeverything - Thank you for all your help. I am not sure how to fix this issue though.
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#75
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
something is placing the javascript code across multiple lines.
The code in the cart_alert.tpl should look like the 1st screenshot. If your code looks like that, then look at the product_thumbnail.tpl as the newline braeks are happening directly after the image tag |
|||||||
#76
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
I do not see where it has line breaks in my code.
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#77
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
I've attached a copy of the cart_alert.tpl that I use.
The only other thing that I can suggest is taking the code apart piece by piece. |
|||||||
#78
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Which site is this for? Is the code on the site?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#79
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
The site is http://www.BuckeyeFanApparel.com
The code is currently active. I could grant you access to ftp if you would like Steve.
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#80
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Yes you have line breaks in the code which will break the js script. Everything between
Shadowbox.open( and ',height:420,width:600});} has to be one line, you can have empty space between tags but no line breaks
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|