| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to not show price for featured products on home page | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi. I do not want to show the price for featured products on the home page. How do I do this?
Thanks
__________________
Tahir X-Cart Gold v4.4.4 [win] |
|||||||
#2
|
|||||||
|
|||||||
![]() The the featured products template is actually the products template. Are you using a multi-column layout for both the products and featured products?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() yes I am. It is a 3 column format. I thought it was a separate file but could find anything. Is it possible? If not no problem as its not that bad.
Thanks
__________________
Tahir X-Cart Gold v4.4.4 [win] |
|||||||
#4
|
|||||||
|
|||||||
![]() Maybe (I'm still learning this, so my logic may be fuzzy):
1. duplicate your products.tpl template, i.e. "products-main.tpl" 2. in /customer/main/featured.tpl, change: {include file="customer/main/products.tpl" products=$f_products featured="Y"} to {include file="customer/main/products-main.tpl" products=$f_products featured="Y"} 3. Edit products-main.tpl to not display prices Could this work? Will this get in the way of anything? I am only a week into this journey, so there are many things (most things?) that I don't fully understand - but I am getting the hang of template editing and the 4D chess game that we're playing.... OR -- is this only a 4.0.x thing -- I just realized that you are using 4.1 -- hmm... sorry.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#5
|
|||||||
|
|||||||
![]() Yes, that is what I would suggest
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() I got this to work: created products_featured.tpl so the featured product show different info than regular.
BUT, under General Settings, Appearance Options and "Display products list in multiple columns (1-3) (leave empty to use standard format):" I have it empty for standard format, which gives me one column of featured products. If I change this to 2 and keep "Display only featured products list in multicolumn format:" checked, I get two column of featured products (cool!), but I loose the changes I made in products_featured.tpl (uncool!). Apparently, selecting multiple columns somehow changes which featured.tpl it references?
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#7
|
|||||||
|
|||||||
![]() I'm getting close. I figured out that when choosing multi-column, x-cart uses products_t.tpl instead of products.tpl. So, how do you customize the look of products in the Featured Products when you have multi-columns? Does x-cart not use featured.tpl when using multi-column layout?
Below is my featured.tpl Quote:
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#8
|
|||||||
|
|||||||
![]() Without completely knowing what else products_t.tpl controls, couldn't you just {*comment out*} this:
skin1/customer/main/products_t.tpl Code:
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#9
|
|||||||
|
|||||||
![]() That did it, thanks again ranger! (can I call you ranger?)
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#10
|
|||||||
|
|||||||
![]() I would just keep an eye out to make sure you're not "loosing" the price somewhere else.
Quote:
![]()
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|