Here is the template that I mentioned in my other message. It may need
a little modification to meet your needs but should give you the general
idea.
Jim
#=================================
[-- DEFINE SUBPRODUCT --]
# A subproduct in this template is just an option for a pull down list
# Note1: Field1 is used to hold the name used for the pull down list
# such as "Brown, Size 8" instead of the actual name which
# might be "Wing Tip - Brown, Size 8".
# Note2: In order to turn off the master:subproduct naming feature
# used
# by ShopSite's shopping cart check the box
# Display subproducts without parent name:
# Under Commerce Setup > Order System > Shopping Cart
#
[--IF PRODUCT.SaleOn--]
<option value="[--PRODUCT.RECORDNUMBER--]">[-- PRODUCT.FIELD1 --] [--
PRODUCT.S
aleAmount --]</option>
[-- ELSE --]
<option value="[--PRODUCT.RECORDNUMBER--]">[-- PRODUCT.FIELD1 --] [--
PRODUCT.P
RICE --]</option>
[-- END_IF --]
[-- END_DEFINE SUBPRODUCT --]
[-- DEFINE PRODUCT --]
<CENTER>
[--PRODUCT.Name--]
<br>
[-- IF product.subproduct --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method=post>
<input type=hidden name=storeid value=[--Store.id--]>
<input type=hidden name=dbname value=products>
<input type=hidden name=function value=add>
<TABLE>
<TR><TD>
<SELECT name=itemnum>
[-- LOOP SUBPRODUCTS --]
[-- SUBPRODUCTS --]
[-- END_LOOP SUBPRODUCTS --]
</SELECT></TD><TD>
<input type=image src="[-- OUTPUT_DIRECTORY_URL
--]/media/add_to_cart.gif" width
=83 height=20 alt="add_to_cart.gif" hspace=3 vspace=3 border=0
align="bottom" na
me="Add to Cart" alt="Add to Cart">
<input type=image src="[-- OUTPUT_DIRECTORY_URL --]/media/view_cart.gif"
width=7
1 height=20 alt="view_cart.gif" hspace=3 vspace=3 border=0
align="bottom" name="
View Cart" alt="View Cart">
</TD></TR></TABLE>
</form>
[-- ELSE --]
# Need to treat as regular product
# this code still needs to be added
[-- END_IF --]
</CENTER>
[-- END_DEFINE PRODUCT --]
[-- DEFINE MORE_INFO_PAGE --]
[-- END_DEFINE MORE_INFO_PAGE --]
#======================================
Rodney Blackwell wrote:
For example, I sell t-shirts in different sizes, it would benefit me to know
if I am low on a particular *size*, rather than on the product as a whole.
IE: If I have 1 small, 10 mediums, 50 larges, and 1 XLarge of the "blue dog
t-shirt"
I would need to know that I'm running low on SMALLS and XLARGES, even though
I have a lot of inventory of the product as a whole (62 total shirts of that
style). That way I can get a low inventory notification to let me know I
need to reorder smalls and xlarges. Customers could see a message that just
those sizes are out of stock.
Is there a way for shopsite to keep track of inventory based on the
pull-down menu ordering option (like Small/Medium/Large, etc)?
If not, anybody know of a module that will do this?
Thanks,
Rodney