| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Upselling Products module modification | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Upselling Products module modification
Hi all !!!
I have modified Upselling Products module - Added: thumbnails in products links - Added: Add to cart - Added: if product link has options ... the new related_products.tpl located in ../skin1/modules/Upselling_Products : Code:
2003/10/12 ---> edited the code - Added: |escape:"html" in the $smarty's variables "add to cart" - Removed: Showing "product prices by quantity" in list products (it showed the prices of the main article, still adding variable "product=$product_links[cat_num]" in in the call to the file buy_now.tpl ... lol ------------------------------------- 2003/11/26 ---> edited the code - Removed "add to cart" code if $js_disabled. (this verification is made from buy_now.tpl) thanks Jon - Removed "add to whishlist" (is added from buy_now.tpl) - Fixed sintax error (thanks Jon) - Fixed Link Add to Cart if product as options ------------------------------------- 2004/03/19 ---> edited the code: related_products.php - Added Multilingual Products - Added Fix security patch detected by X-Cart Team in all 3.4.x versions Backup and edit ../xcart/modules/Upselling_Products/related_products.php to replace the original code by the following one: Code:
suggestions and corrections well will be received greetings !!! |
|||||||
#2
|
|||||||||
|
|||||||||
Is this for Version 3.4.7 ?
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
ups !!! yes ... i am runnig v.3.4.7
|
|||||||
#4
|
|||||||||
|
|||||||||
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
Hi !!
it would be well that it was included like option in future versions of x-cart |
|||||||
#6
|
|||||||
|
|||||||
Nice contribution! Keep up the good work!
__________________
Never understimate stupidity. -------- X-Cart Version: 3.5.2 Hosting:mind-in-design.net Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14 |
|||||||
#7
|
|||||||
|
|||||||
Great Mod Maki, Thanks
__________________
-------------------- Sandip x-cart version 5.4.X, hosted on X-Cart server/ |
|||||||
#8
|
|||||||
|
|||||||
Great hack, thanks!
A couple of questions... Is there a way to turn "off" the images on certain ones, so just a link is shown? Secondly, how can I make it so when a customer clicks on a related item it doesn't open a new window? I want it so they can use their back button if needed. Thanks again. |
|||||||
#9
|
|||||||
|
|||||||
Quote:
Hi !! For the first question, remove: {include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=60} and the thumbnails will not be shown For the last question, remove: target=_blank the code would be thus: <td width=90 align=center valign=center></td> I hope that he is to you useful |
|||||||
|
|||
X-Cart forums © 2001-2020
|