| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
A few questions - Wholesale, PHP and Smarty | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
A few questions - Wholesale, PHP and Smarty
Good morning,
I have been searching the forums, and although I have seen one or two posts similar to my problem, none have provided a solution. The main issue is that I am trying to get the lowest wholesale price to appear on the Products List page in place of the taxed Price, I have tried a few different ways of making this work, both with PHP and Smarty code, but have not met with any success. Can anyone provide me with a method that would work? Also, I have noticed while editing the products.php located in the root, that echo doesn't seem to work - each time I would try to echo something for testing purposes, it wouldn't appear at all, although print_r() did. Same happened when working within {php} tags in skin/common_files/customer/main/products_list.tpl, is there a reason for this? Lastly, I am assuming that $smarty->assign() will make a smarty variable from a PHP variable, I've used this once or twice but it hasn't seemed to work very well. Could someone explain its proper use? And if there's a way to change a smarty variable into a PHP variable? Thank you for your time. Regards, - Adam.
__________________
X-Cart Gold, version 4.4.2. |
|||||||
|
|||
X-Cart forums © 2001-2020
|