| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Display - Dont Display certain items on certain pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I've been tinkering with different areas of the skin1 template. Still learning this smarty thing.
I have this inline microcart that just reads # item(s) : $0.00 thats all and have it placed in the head.tpl. When I go to the cart page it's still there of course. What would be the {code of smarty} to make it {*not display*} for that page view and resume showing elsewhere. I ask this because not only the above but I have other things that I'd like NOT to show on certain pages. Possible help here?? ![]() Is this it... seems to work. ![]() Quote:
__________________
![]() ![]() One Page Checkout :: OnSale :: Download Expander Smart Template by X-Cart MODS |
|||||||
#2
|
|||||||||
|
|||||||||
![]() How do you connect your "tpl" - file ()?
Which file inserted PHP Code:
PS. To familiarize possible modes open file "skin1/customer/home_main.tpl" or insert the temporary lines in skin1/head.tpl, for the understanding of the process: PHP Code:
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Quote:
I ended up putting it inside head.tpl at bottom. Seems to work ok. It shows on all products pages, not on checkout. BUT, with One Page Checkout, it shows. ![]() Quote:
Say thats neat. I've been trying to see whats what in a cpl of files. The nitty gritty of the .php files is a bit cryptic to me but i keep searching the forums to see if anything relates to what im after. If it doesnt work, then its not meant for me. Thanks holub for some insight.
__________________
![]() ![]() One Page Checkout :: OnSale :: Download Expander Smart Template by X-Cart MODS |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|