| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changes to template not showing in store. | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Trying to remove "Powered by X-Cart" by commenting out the include which points to prnotice.tpl. It doesn't work. I'm using the Admin > Edit Templates page.
After commenting the phrase out, I click the preview button, and see the phrase has disappeared from the preview. But when I reload the store's homepage, the phrase is still there. Why? I'm thinking maybe it's some kind of cache thingy. I managed to successfully change the text by editing the prnotice.tpl file itself. So I know I can do it that way. I just want to know how this works for future edits. *Edit: I just realized I'm using 4.3.2. Not 4.4. Oops* Code:
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Check if file is really saved with your changes. BTW you will be better off editing files via FTP instead of using the xcart built in editor.
Clearing the cart cache - www.domain.com/cleanup.php
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() I must have some understanding of the template referencing wrong, and need to do some basic learning first.
From what I read, bottom.tpl is the footer of the whole site. To test, I added some text to bottom.tpl and uploaded it by FTP. No changes. I deleted the file completely from the server. But I still see the footer even though I thought I just deleted it. So I guess the footer is coming from somewhere else. Anyway, I should work my way through a few tutorials on x-cart/smarty templates. That will probably answer a lot of questions before I ask. Thanks Steve ![]()
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#4
|
|||||||
|
|||||||
![]() As Steve mentioned above, you need to clear the template cache after you make edits to see the edits.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Sorry guys, I forgot to mention that I did to refresh the template. I can't see changes made directly to the bottom.tpl file, even if I refresh the template as Steve suggested. I tried adding text, commenting out parts, even deleting the file, and it didn't change anything. Can still see the whole footer, unchanged. I changed the text in prnotice.tpl. Now my home page is powered by X-Fart. But other pages are powered by X-Cart. I don't know why the change only shows on the home page. I guess I just don't know what files the data is coming from. Although from what I've read, it shouldn't be this tricky. Hopefully, further study will make this more clear.
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Okay turns out I'm a moron. There are two bottom.tpl files and I was editing the wrong one.
![]() The wrong one: skin1/bottom.tpl The right one: skin1/customers/bottom.tpl I knew it had to be something super simple like. Padraic, Steve, thanks guys.
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
#7
|
|||||||
|
|||||||
![]() I am having the same problem with the Fashion Mosaic (Blue) template. I commented out the prnotice.tpl and copyright.tpl from the skin/common_files/bottom.tpl and cleared the template cache AND cleared my browser cache and still I see the Powered by X-Cart and copyright notice.
I do not see this particular template referencing a different bottom.tpl anywhere, please help before I pull the little hair I have left out! Tia P.S. I am using Xcart 4.4.1
__________________
Xcart v4.4.1 |
|||||||
#8
|
|||||||
|
|||||||
![]() It turns out that the CORRECT bottom.tpl file to edit is in the common_files/customer directory. It sure would be nice if updated documentation would accompany the product. All of the docs / user manuals I can find reference the 4.3 X-Cart.
It always amazes me how companies these days are in such a hurry to get a product out the door that they ignore the most important part.....DOCUMENTATION!
__________________
Xcart v4.4.1 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() It is best to use webmaster mode to trace templates. Webmaster mode will tell you how most the templates relate to each other and which are being used where: http://help.qtmsoft.com/index.php?title=X-Cart:Customizing_storefront#Using_Webmaster_mode
---
__________________
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) |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() I agree, mhoney, the documentation sucks big time. You are required to figure most things out on your own. Documentation doesn't tell you how to do much.
Mhoney, we had the same problem and the same solution. I had already posted the location you needed, the post right above yours ![]() There are 3 things that are essentail that you need to be using when designing your store: 1) As gb2world said, webmastermode
__________________
Evan Andrews X-Cart Gold 4.4.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|