[ic] How to include a file?

Paul Jordan interchange-users@interchange.redhat.com
Tue Jan 22 17:23:01 2002


>
> On a different subject: Is there a way to disable the 'in-stock' from
> showing up on the website? Again being specialized products, many are made
> to order, and are rather expensive to keep in stock. Don't want to display
> that 'out of stock' if I can help it! Thanks for the assistance, Jim
>
For example, in flypage.html you have:
-------------------------------------------------------------------
 [if-item-data inventory quantity < 1]
	    <td align="left">
	      <b>Out Of Stock<b>
	        <br>
	        <a href="[area stock-alert [item-code]]">In-Stock Notification</a>
	    </td>
	    [else]
	    <td align="left">
		<b>In Stock</b>
            </td>
	    [/else]
	    [/if-item-data]
------------------------------------------------------------------
To get rid of the in stock display, you would exchange all above with simply

	<td align="left">
              &nbsp;
	</td>
------------------------------
You will want to leave the <td> </td> so you don't break anything in
Foundation. You can probably tell what is going on here, so look for this
(similar) code in other pages and fix accordingly.

I will leave the include question to someone more experienced

Paul