View Single Post
  #3  
Old 08-25-2010, 06:34 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Displaying 'Wholesale price' instead of 'Product price'

Hi Sisom -

Webmaster mode will tell you all the smarty variables that are available to you on any particular page load, so you do not have to guess. You can look in the webmaster mode console to see what wholesale variables are available. If you do not see what you need, then the php file has to be modified to make it available. Here is a post with more information and an example of using the webmaster mode to find smarty variables.

(If it is there - it will probably be in an array. products_t displays multiple products - so $product_wholesale - which applies to only one product, may not have much meaning. If you do not see it - a query needs to be added to the php file to get it for each product and pass it to template with smarty)
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote