[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Editing random component
>Hi Everyone,
>
>I'm using IC 4.8.5. I am trying to change /templates/components/random
>to NOT display the 'Buy Now' button if the quantity in the inventory
>database is < 1 for the item. I changed the following code.
>
><td nowrap align="center">
> [if-loop-data inventory quantity <1]
> [else]
> [if-loop-data options o_modular]
> [page [loop-code]]
> [else]
> [order [loop-code]]
> [/else]
> [/if-loop-data]
> <img align="top" src="__THEME_IMG_DIR__buynow.gif" border="0"
>alt="Buy Now">[/order]
> [/else]
> [/if-loop-field] <- Where is the beginning [if-loop field]???
></td>
>
Maybe it didn't find the ending [/if-loop-data]
-Steve
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx