| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Detailed Recommends List | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Detailed Recommends List
I am almost finished with a custom mod that shows details of the products that show up under the Recommends List. I only have one problem, which I hope you all can help me with, and that is I am unable to get it to display the price. Instead it says: "Enter your price !" as if the products have no prices. The description, product title, and image thumbnail works though. Here is the code:
Code:
Thanks in advanced! |
|||||||
#2
|
|||||||
|
|||||||
any update on this? I would love to see this working.
__________________
X-Cart version 3.5.11live php ver 4.3.7 |
|||||||
#3
|
|||||||
|
|||||||
Does anyone know? I'm pretty sure it has to do with the following part:
Code:
|
|||||||
#4
|
|||||||||
|
|||||||||
the problem lies in the xcart source code itself - which doesn't grab the price out of the database. If you want this to work you will have to go further than just the templates.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#5
|
|||||||
|
|||||||
Im sorry, but i cant believe that what you said.
Everything can displayed, so it has to be a way to display the price of the recommended product. If you want to display the list price, this works. In case it has to be way for displaying the actual price, too |
|||||||
#6
|
|||||||||
|
|||||||||
if you use the debug window and alter the smarty.php file as below you will see all active variables
find Code:
change to Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#7
|
|||||||||
|
|||||||||
Quote:
theres a sql select statement in the php coding which doesn't grab the price - hence the templates see the price as 0 - (enter your price!). You have to remember that the list price is just one figure. The selling price can be different for different type of customers, and unforently this is not in the recommend products coding.
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|