Re: Displaying 'Wholesale price' instead of 'Product price'
Thanks for your help gb2world, I read the other post you had linked to, very helpful indeed, now I understand so much more about how the variables work.
You were right in that there isn't a 'wholesale' variable on the featured products page at all, I shall see if I can work out how to add it to the php file.
One question I have is - in your post about Smarty variables, you used the example of
<p>This product is made by {$product.manufacturer}.</p>
but when I looked in my Webmaster Mode popup, I could only see the variable
$products
not
$product
but when I tried entering something like
<p>Test:{$products.product}</p>
into products_list.tpl, it didn't work, it only works if I use
<p>Test:{$product.product}</p>
Should I also be seeing a
$product
variable in my Webmaster Mode popup window?
I also then tried
<p>Weight: {$product.weight}</p>
and that worked fine - and finally I understand what all those variables are doing in the templates! Many thanks.
__________________
X-Cart Gold Version 4.3.2
|