![]() |
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 |
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:
if ($config["Modules"]["select_recommends_list_randomly"] == "Y" && count($query_ids)>0) { See if that helps! Carrie |
I tried again and still not working.
Here is code after edited. Code:
{* $Id: recommends.tpl,v 1.4 2004/05/28 12:21:12 max Exp $ *} Parts from recommend.php Code:
if ($config["Modules"]["select_recommends_list_randomly"] == "Y" && count($query_ids)>0) { 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 |
Worked for me in 4.0.9 Gold.
Nice one Carrie! :wink: |
This worked for me on 4.0.9, here is the code.
/skin1/modules/Recommended_Products/recommends.tpl Code:
{* $Id: recommends.tpl,v 1.4 2004/05/28 12:21:12 max Exp $ *} The above is the full code in recommends.tpl |
And the last bit of the code in the your_shop_cart_root/recommends.php
Code:
if ($config["Modules"]["select_recommends_list_randomly"] == "Y" && count($query_ids)>0) { 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 |
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??
|
What do i have to change in 3.5.14
|
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. |
All times are GMT -8. The time now is 03:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.