| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
'Add to Cart' Alert Message | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#71
|
|||||||||
|
|||||||||
![]() 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
|
|||||||||
|
|||||||||
![]() Steve, I can give you ftp access if you would like?
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#73
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() bitofeverything - Thank you for all your help. I am not sure how to fix this issue though.
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#75
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() I do not see where it has line breaks in my code.
__________________
4.7.11 BuckeyeFanApparel.com |
|||||||||
#77
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() Which site is this for? Is the code on the site?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#79
|
|||||||||
|
|||||||||
![]() 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
|
|||||||||
|
|||||||||
![]() 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
|