| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to display the price for products in the recommends list | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Hi BCSE:
I tried your codes in x-cart 4.0.7. I can see the price next to recommended product names but the price does not match to the product. It seems to me that prices are randomly listed next to product. PHP codes are beyond my knowledge. Any chance you can fix it for 4.0.7? Thanks. S-H-W-E-K-H-A-W
__________________
X-Cart Gold Plus 4.5.5 Checkout ONE Checkout ONE DPM BCSE CIM Apache Linux |
|||||||
#12
|
|||||||||
|
|||||||||
![]() I just tested the above code in 4.0.4 and it's showing the right price. Perhaps you inserted the php code in the wrong place?
For 4.0.4 I inserted it into recommends.php (in x-cart directory) after this code: Code:
See if 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! |
|||||||||
#13
|
|||||||
|
|||||||
![]() I tried again and still not working.
Here is code after edited. Code:
Parts from recommend.php Code:
I am assuming that you add the code within if statement. The error is incorrect pricing shows up next to recommended product. Under module options, Select recommended products randomly: checked Number of products to be displayed : 10
__________________
X-Cart Gold Plus 4.5.5 Checkout ONE Checkout ONE DPM BCSE CIM Apache Linux |
|||||||
#14
|
|||||||||
|
|||||||||
![]() Worked for me in 4.0.9 Gold.
Nice one Carrie! ![]()
__________________
XC 4.2 inc (unofficial) patch release. |
|||||||||
#15
|
|||||||||
|
|||||||||
![]() This worked for me on 4.0.9, here is the code.
/skin1/modules/Recommended_Products/recommends.tpl Code:
The above is the full code in recommends.tpl
__________________
Regards Maxking SERVER: Microsoft-IIS/5.0 MYSQL Server: 4.0.18-NT PERL: 5.006001 PHP: 4.3.6 X-CART pro: 4.3 X-AOM: 4..3 X-RMA: 4..3X-FancyCategories 4.3 Skin: Own Design Marketing Manager Professional 3.0 Bundle |
|||||||||
#16
|
|||||||||
|
|||||||||
![]() And the last bit of the code in the your_shop_cart_root/recommends.php
Code:
I added the extra lines in the code which you can see is marked with: # Add extra code for Prices to Show And ends with # End Add extra code for Prices to Show
__________________
Regards Maxking SERVER: Microsoft-IIS/5.0 MYSQL Server: 4.0.18-NT PERL: 5.006001 PHP: 4.3.6 X-CART pro: 4.3 X-AOM: 4..3 X-RMA: 4..3X-FancyCategories 4.3 Skin: Own Design Marketing Manager Professional 3.0 Bundle |
|||||||||
#17
|
|||||||||
|
|||||||||
![]() How about a mod to display the prices of the product options in the order_info.tpl (in the orders view in the xcart admin)...4.0.x??
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#18
|
|||||||
|
|||||||
![]() What do i have to change in 3.5.14
|
|||||||
#19
|
|||||||||
|
|||||||||
![]() I've tried this MOD and have to agree with other posters that it randomizes the prices so that they do not match the products.
Has anybody had success getting the prices to match? Thanks.
__________________
X-Cart Gold: 2 live sites running 4.1.x and 4.2.x Add ons: XAOM, XCONF & XFANCYCAT |
|||||||||
|
|||
X-Cart forums © 2001-2020
|