Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

A few questions - Wholesale, PHP and Smarty

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-12-2011, 02:18 AM
 
adam.fearn adam.fearn is offline
 

Newbie
  
Join Date: Jan 2011
Posts: 8
 

Default 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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:06 PM.

   

 
X-Cart forums © 2001-2020