![]() |
Hide related items if quantity = 0
just having a fiddle with the related items module as I think when we had x-cart do the work something went missing.
what im trying to do is in related items that if a related item has a quantity of 0 then it is hidden from view I presume it could be done with an if statement - any ideas on what the syntax would be though. Also am i right in presuming that the if statement woud be placed before the {setion} or is it after it??? this is the current code so any help would be appreciated. Code:
{* $Id: related_products.tpl,v 1.10.2.1 2004/10/07 10:52:42 max Exp $ *} |
Someone was just talking about this the other day...might want to see if you can borrow their file :)
http://forum.x-cart.com/viewtopic.php?t=25448 |
Cheers PM'd but i'll ask x-cart team as well just in case its a file that they don't want distributed
EDIT: Apparently the fixed file is in the 4.0.18 distro - so if anyone else is having the same problem then just download and replace with that version (of course backup your original first just in case you need to swap back) |
Hmmm... where is the 4.0.18 Distributive? It doesn't show at the help desk?
|
Perhaps x-cart team mistyped when the emailed me and they meant .17
|
All times are GMT -8. The time now is 12:15 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.