| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Strange shop_closed has appeared! | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, I made a custom version of the shop_closed.html file and posted it in the customisation section a few months ago. The final site I have been working on is about to go live in a few days' time, and my custom shop_closed page displays when you go to the domain name, but when you go to a subcategory (unlikely that a customer would do this, but I'm interested in what's happening) it displays a hybrid of the old shop_closed file and my new one! i.e. it contains the text I typed into the shop_closed.html file, but not the logo, and it uses the old (bloated) X-Cart code!
You can view the 'hybrid' version at: http://www.tnplshop.co.uk/Card-Covers/ and the correct (customised) one at http://www.tnplshop.co.uk Has anybody got any ideas why this is happening? I thought there was only one shop_closed file.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You can try changing the src references to your logos from skin/images to /skin/images
----
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Hi gb2world, thanks for explaining that, what a fool I am! Talk about not taking my own advice - I've been developing three sites for the same client, and hadn't even used my own, new version of the shop_closed.html on this one!
I've put the extra forward slash in now and that's fixed the problem. Am I right in thinking that that now makes it an absolute, rather than relative, URL? So from the http://www.tnplshop.co.uk/Card-Covers/ page, it was looking for http://www.tnplshop.co.uk/Card-Covers/skin1/images/etc. (which obviously doesn't exist) instead of http://www.tnplshop.co.uk/skin1/images/etc.
__________________
X-Cart Gold Version 4.3.2 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() It is an absolute referenced always from the top level. I try not feel foolish when I do that. You can get used to writing code one way, then using URL re-writes forces you to be a little more careful with how you define the URLs to things.
----
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|