| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Cats into Featured? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Seems a number of folks would like to have a categories section on the front page similar to the featured products. Searching would suggest no answers. As this works with individual products, is there a way of coding to add cat's to the featured prod's as an alternative way?
If you're watching Xcart, it is a feature that should be included ![]() ![]() Denis.
__________________
DenisG V4.0.14 www.mercersfurniture.co.uk V4.1.11 www.mattress4beds.co.uk/home.php/" |
|||||||
#2
|
|||||||
|
|||||||
![]() in skin1/customer/main/welcome.tpl,
before the featured_products.tpl include, add Code:
create a new file called categories_welcome.tpl in skin1/customer/main with (change number of columns accordingly) Code:
it may contain a few bugs (i found one where if you have category images displayed on the side menu they will all display the same icon once you click on a category), but it should get you started a sample image of it can be found in the attached thumbnail |
|||||||
#3
|
|||||||
|
|||||||
![]() You are a star sir. Many thanks
![]() Exactly as we wanted it except I can get only my modified default icon for "no picture". I modded this to 1px sqr so that with a border of 1px it looked like a "bullet". This is all that is showing although everything else works a treat. All the cat's have picture icons. See http://www.mercersfurniture.co.uk/home.php to see what I mean. I have read the code over and over and tried various things but nothing I have changed, except the column numbers, has brought up the icons ![]() Again, many thanks. Denis.
__________________
DenisG V4.0.14 www.mercersfurniture.co.uk V4.1.11 www.mattress4beds.co.uk/home.php/" |
|||||||
#4
|
|||||||
|
|||||||
![]() if you dont want the images, remove
Code:
|
|||||||
#5
|
|||||||
|
|||||||
![]() Sorry, I do want the actual category icons, the photographs, which as I read the code it should produce, but I am not getting these. Basically, I want it to look just like the featured products. The actual category icons have always been a bugbear to me as they never seem to show anywhere unless you actually click on the Category itself although they are set to show elsewhere too. Maybe a connection here, I don't know?
Showing the actual category icons really would be super. Sorry if I misled you there ![]() Denis.
__________________
DenisG V4.0.14 www.mercersfurniture.co.uk V4.1.11 www.mattress4beds.co.uk/home.php/" |
|||||||
#6
|
|||||||
|
|||||||
![]() Strange
![]() <**!img src="/image.php?id=375&type=C" /> PINETUM Furniture The actual icon for this cat (info via properties) is "/icon.php?categoryid=375&rand=2132004131" "PINETUM Furniture" is the Cat title. Does this sound right? Denis.
__________________
DenisG V4.0.14 www.mercersfurniture.co.uk V4.1.11 www.mattress4beds.co.uk/home.php/" |
|||||||
#7
|
|||||||
|
|||||||
![]() inebriate, I can't thank you enough for this!!!!!!!!!!!!!!!!!
![]() I'm not finished playing with the category images yet, but just putting the code in seems to be exactly what I've been looking for.
__________________
Gold 4.1.3 |
|||||||
#8
|
|||||||
|
|||||||
![]() how do i make the category name and number of products in department show?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#9
|
|||||||
|
|||||||
![]() i have the images set pretty much the way I want. However the links are invisible then turn red...I assume I can fix this in CSS right?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#10
|
|||||||
|
|||||||
![]() Ok I am looking through my css...and I cannot locate the code that would operate changing the text in the categories welcome section from white to red
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|