| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Replacing "Featured Products" with "Recommend | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Replacing "Featured Products" with "Recommend
I have (finally) managed to replace the "Featured Products" with "Recommended Products" on home.php - now 6 products are displayed at random instead of the static "Featured Products"
My next goal would be to make this now display the pricing information and the "Buy Now" button, in 2 rows of 3 products. I'm pretty sure that this would just be editing the recommends.tpl file.....any help would be appreciated! Heres what I did: in skin1/customer/home.tpl, add Code:
Code:
In skin1/customer/main/welcome.tpl remove Code:
and finally, in home.php add: Code:
under Code:
This was done in 4.0.11 Hope this helps someone! Allan
__________________
____________ ____________ X-Cart v 4.0.14 X-Cart v 4.0.11 ____________ ____________ |
|||||||
#2
|
|||||||
|
|||||||
Works well, thanks
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Replacing "Featured Products" with "Recom
Quote:
Allan, Were you able to get this to work? Look forward to your reply, thanks!
__________________
X-Cart Platinum 4.6.5 |
|||||||
#4
|
|||||||||
|
|||||||||
This is a great mod!
A couple notes from my own implementation: If you only want the above mod to appear on the homepage, use the following code in: skin1/customer/home.tpl Code:
If you want to limit the number of random items that appear then you will want to use customer recommends.php. Personally, I created recommends_home.php and made the following modification: open recommends_home.php Code:
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#5
|
|||||||||
|
|||||||||
The mod doesn't works for me.
Did exactly what was descriped above. But getting this error: Code:
Recommends.tpl Code:
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#6
|
|||||||
|
|||||||
I cant get this working either - same error message as above
__________________
Maree 4.0.13 |
|||||||
#7
|
|||||||||
|
|||||||||
Try emptying out the recommends.tpl file and just placing some text in there to see if the file is being found. If you get the same error make sure that your file is indeed at this location: modules/Recommended_products/recommends.tpl
Case sensitive!
__________________
Site 1 > XCART LIVE 3.4.12 Site 2 > XCART LIVE 4.0.17 |
|||||||||
#8
|
|||||||||
|
|||||||||
I just tried this and got the same error, it is a case-sensitive issue. In my store 3.5.10 the file is
modules/Recommended_Products/recommends.tpl Note the capital P of Recommended_Products - That it generating the error, hth
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#9
|
|||||||
|
|||||||
Thanks Amy - that was the problem.
The following notes are for others who are looking at this hack- I now have recommended products randomly displaying in a 2 column 200 thumbnail format (thanks to Balinors Mod in Completed Mods). I've also added a hack to pull the price up 2 problems with doing all this -recommended products is displaying products that are hidden but available for sale - and the price is not displayed in the nicely formated including GST display that was on featured products. So the best way I feel is to request xcart to add a checkbox in future releases so that featured products can be dispayed randomy from the whole active product catalogue or a user nominated array. Hope this helps someone else
__________________
Maree 4.0.13 |
|||||||
#10
|
|||||||
|
|||||||
X-Cart Gold 4.01
So I think I might be getting closer to what I'm looking for. So much discussion on this topic, but none of it exactly what I need. The situation: -Featured products set to random -Featured products module display called in the welcome.tpl Result: Featured products module boundaries and header show up, but it's empty 1. Why is is empty when I've told X-Cart to randomly select? 2. Once I get it past that point, how would I manually select items for display in featured items? Thanks.
__________________
Webmaster, Janzjewelry |
|||||||
|
|||
X-Cart forums © 2001-2020
|