| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
What does this code in home.tpl do? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I cut all this code out from home.tpl. Couldn't really figure out what exactly it does but it all seems to be in the top gray bar I wanted to remove. Any info on what all this is and what does it have to do with Checkout since my checkout seems to be just fine without this?
Thanks, Predrag Code:
__________________
X-Cart Gold 4.1.10 X-AOM BCSE-POS |
|||||||
#2
|
|||||||
|
|||||||
![]() That is all related to the fast lane checkout module. FYI, you should never cut code out completely until you are sure about what it does. Always safe to comment it out first:
{* commented out code *}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Related to fast checkout in what way since home.tpl is not even called after I click on checkout link in the cart?
Cart seems to work fine without that code. It is commented out. Thanks, Predrag
__________________
X-Cart Gold 4.1.10 X-AOM BCSE-POS |
|||||||
#4
|
|||||||
|
|||||||
![]() Sorry, now that look at it closer it contains the 'user is logged in' text ,as well as the printable page icon for NON fast-lane checkout pages.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() As Padraic siad, this is all related to Fast Lane Checkout. If you do not have FLC enabled, this code will nt be involved, BUT there is no harm to leave it in -- becasue if in the future, you should decide to use FLC (I do, I like it), and you want to update your version, without the code, upgrades will be even more of a mess.
Why do you need to cut this out? You can modify the look by going into the CSS... Be careful -- you are messing with the checkout - this is mission critical stuff here. If you read the code, you'll see what it's doing... not too many ifs... you shold be able to modify the CSS to do what you want. Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#6
|
|||||||
|
|||||||
![]() I compromised doing these modifications. It takes out lines, grey background and Search.
Code:
__________________
X-Cart Gold 4.1.10 X-AOM BCSE-POS |
|||||||
|
|||
X-Cart forums © 2001-2020
|