| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
3 column layout with thumbnail for Related Products | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
3 column layout with thumbnail for Related Products
I just installed the mod from mlfnet that displays the Recommended Products in 3 columns with a product icon, and I thought it would be nice to have the Related Products do the same thing. Tested in version 3.5.13, but should work for previous 3.5.x versions as well. Replace your /modules/Upselling_Products/related_products.tpl with this:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#2
|
|||||||
|
|||||||
Awesome mod! This seems to work with 4.0.8 as well.
|
|||||||
#3
|
|||||||
|
|||||||
Thanks, I would add in
Code:
just before the last {/if} in case there is no upselling products, otherwise it's blank.
__________________
xcartmods.co.uk |
|||||||
#4
|
|||||||
|
|||||||
Oops...my bad. Nice catch Philj, thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Thanks for this mod. Works in 4.0.11
__________________
X-Cart Gold 4.0.12 X-AOM, X-RMA, X-FancyCat Apache/Linux Server PHP 4.3.8 |
|||||||
#6
|
|||||||
|
|||||||
Very small change needed to make sure that if you have the 'open in new window' option selected in modules admin the thumbnail as well as the link opens in a new window.
__________________
X-Cart Gold 4.0.12 X-AOM, X-RMA, X-FancyCat Apache/Linux Server PHP 4.3.8 |
|||||||
#7
|
|||||||
|
|||||||
Thanks balinor! This mod is great and I put in below the product details and removed the dialog. Looks (and works) great.
PhilJ- not sure why you need an else statement there ... related products are manually added and there already is an if statement in the product.tpl for the module (if active). If there aren't related products then there is no header. Thanks, - Mike
__________________
4.1.9 |
|||||||
#8
|
|||||||
|
|||||||
Works great in v3.4.6
Thanks Balinor
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#9
|
|||||||
|
|||||||
this is great!
Is there a way to include a part of the product detail? -- got it - simple modification of the related_products.php replace the sql code with this Quote:
and in your related_products.tpl you just need to add this wherever you want: Quote:
hope that helps! -edit- and if the description is too long..then add this: Quote:
and then add a 'read more here' link to the end of the dots... Quote:
you can see the example here: http://www.yoyonation.com/product.php?productid=63&cat=0&page=1 - it's still in testing and we haven't loaded in our yoyo products yet... if anyone can help me out with the comment thing below.. would like to add an edit/delete option in the admins..having trouble programming that - but if i get it, will definitely add it into the mod page.!
__________________
... v 4.0.18; 4.1 |
|||||||
#10
|
|||||||||
|
|||||||||
no luck using with a two column
__________________
X-Cart version 4.4.5 PHP 5.2.13 MySQL server 5.0.51a-community-log MySQL client 5.0.51a Web server Apache/2.2.8 (Unix) mod_ssl/2.2.8 Operation system Linux Perl 5.008008 http://temptinglysexy.co.uk |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|