| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to display the price for products in the recommends list | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to display the price for products in the recommends list
Hi,
I have seen many people wondering about how to display the price for products in the recommends list. Has anyone managed to find a suiatble solution that could be shared? I am presuming that a php file may need to be modified to include the price related to the productid of the recommended products, but which and how I don't know. If anyone can help it would be very much appreciated. thanks
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#2
|
|||||||
|
|||||||
Here is a way to get the price in the non-random method the recommends use
You have to edit ./customer/recommends.php and replace the query on line 70 with Code:
You also have to edit ./skin1/modules/Recommended_Products/recommends.tpl Code:
I can't test it myself, I don't have a demo with the proper statistics loaded on it. But it should work, the query doesn't give an errors or anythng. Let me know how it does
__________________
Mod King |
|||||||
#3
|
|||||||
|
|||||||
Hi,
How would you apply the pricing fix to the code for the random method: staring with Code:
in recommends.php thanks |
|||||||
#4
|
|||||||
|
|||||||
how do i add the product price to the random selection of this mod?
|
|||||||
#5
|
|||||||
|
|||||||
Hello,
Has anyone managed to come up with a solution to display the prices of items from the random products array? TIA
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#6
|
|||||||||
|
|||||||||
I had a little time to look into this and have it working for random products. I tested this with 3.5.5
First edit skin1/modules/Recommended_Products/recommends.tpl Add this code: Code:
AFTER Code:
Then edit customer/recommends.php Find this line: Code:
CHANGE IT TO: Code:
Find this line: Code:
CHANGE IT TO: Code:
Finally, find this line: Code:
CHANGE IT TO: Code:
Hope this helps! Feel free to format recommends.tpl to suit your needs. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#7
|
|||||||
|
|||||||
Fantastic Carrie! - I will implement this in v3.5.10 and let you know how I get on.
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#8
|
|||||||
|
|||||||
Unfortunately there are a number of changes in recommends.php from the 2004/05/05 modification. Therefore it does not work under v3.5.10 - The most stragithforward solution might be to just use the 'recommends.php' file and implement the changes outlined.
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#9
|
|||||||||
|
|||||||||
I don't have any version above 3.5.7 installed anywhere yet. I need to do that though, so once I get one of the higher versions installed, I'll report back as to how to change it.
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#10
|
|||||||||
|
|||||||||
I got around to trying this in 3.5.10 and found a solution since the recommends.php code is quite a bit different from the 3.5.5
First edit skin1/modules/Recommended_Products/recommends.tpl Add this code: Code:
AFTER: Code:
Then edit customer/recommends.php Add these two lines: Code:
AFTER: Code:
Hope that helps! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|