| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Pictures in recommends.tpl for 3 column format | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Just wanted to thank Balinor for the codes below. It works great as of version 4.1.3 YEAH!!!!!!
Just a quick question, how do I insert a simple line space so that the product title would drop down and be center under the product thumbnail? Here is how it currently looks. http://www.mvpautoparts.com/shop/product.php?productid=17036&cat=0&page=1 Thanks again for all of your help. -Tuan Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#32
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Hi ETInteractive,
Would you be so kind and help the us, the code-challenged people, in getting this done? I've tried to looked in the two files you mentioned below, but didn't quite understand what needs to be replaced. This is the same issue I have with the "Best Sellers" module as well. It is calling all the thumbnails via the "image.php" file. Very, very slow. http://forum.x-cart.com/showthread.php?t=25194 My guess is that we have to replace this code Code:
With something similar like this one (from the Manufacturer template). But I haven't be able to figure the exact syntax format yet. Code:
Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#33
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Does anyone know how to pull the images from the filesystem rather then from image.php?
This causes the product pages to load much slower!
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#34
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
hi
For some reason i can't find where to set the max number of products to show in the Recommended list ?
__________________
x-cart 4.4.5 |
|||||||
#35
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
General Settings>Module Options>Number of products to be displayed in recommended products list:
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#36
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Thanks for that.
I was having a blank moment.
__________________
x-cart 4.4.5 |
|||||||
#37
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Well, just to update everyone on this thread, I contacted the X-cart team and Eugene Kaznacheev in the technical support team was able to ressolve the issue. Of course that cost me some support point, but I thought it was well worth it. All of my images from the "Best Sellers" and "Recommended Products" are now being referenced via the direct filesystem path and no longer being pulled via "image.php" file. WOW, they are so much faster. Night and day difference!!!
With that being said, I'm posting the code modification required to make this work down below. Hopefully this will help someone in the future. Cheers -Tuan 1. Edit <xcart_dir>/modules/Bestsellers/bestsellers.php script and replace: Code:
with Code:
2. Then edit <xcart_dir>/recommends.php file and replace: Code:
with Code:
--------------------------------------------------------------------------------------------------------------------- After that, you would need to modify the "xcart_dir\skin1\modules\Bestsellers\bestsellers.t pl" and "xcart_dir\skin1\modules\Recommended_Products\reco mmends.tpl" files as well. And below is how I currently have those two files configure. Cheers -Tuan "xcart_dir\skin1\modules\Bestsellers\bestsellers.t pl" File Code:
Code:
Quote:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
#38
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
For those of you using DSEFU and Telefirma's image mod's:
THIS IS ONLY FOR RCOMMENDED PRODUCTS AND I"M USING 2 COLUMNS recommends.php find: Code:
Code:
recommends.tpl should look like: Code:
__________________
X-Cart Gold v4.0.17 ~ EWD Hosting! |
|||||||
#39
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
hi guys, hw would you show price on recommeds.tpl. check this out http://www.lootsale.co.uk/product.php?productid=37901&cat=328&page=1
i have managed to show prices under upselling products but recommended products price seems to be pain. Plz help? ive tired £{$recommends[num].price} and £{$recommends[num].taxed_price} but none of them works...
__________________
iddiboy.. lootsale.co.uk.. x-cart 4.1.3.. |
|||||||
#40
|
|||||||
|
|||||||
Re: Pictures in recommends.tpl for 3 column format
Great mod. Balinor's version (post #22) works perfectly in 4.0.15. I added a <br> before
Code:
__________________
Quiet please... I'm trying to unscramble my brian. http://lizzybug.co.uk (live, minor mods, 4.0.15) EZCheckout/EZUpsell (Must have mods!) Firetank's Featured Products Manager, and loads of little mods off the forum (thanks all!) http://www.jellybeangifts.co.uk (live, 4.0.18 ) Fancy Cats + custom colour mod |
|||||||
|
|||
X-Cart forums © 2001-2020
|