customer text entry on product page
Posted: Thu Feb 06, 2003 1:57 pm
I was wondering whether it's possible to put a customer text entry box
for a product on the product page, using custom templates (much like you
can put the ordering options menu on the product page as well as it in
the cart).
I've tried creating a text box with name
181:freeopt
(where 181 is the product number) but it doesn't get put in the cart.
I have a customer who has some complex volume discounting requirements,
so I've used custom templates to create a form on the product page and
written a script that processes that form and inserts the appropriate
products into the cart. I need to use the "customer text entry" field
to store a list of sizes (i.e. "S: 14, M:8, L:50, XL:12,") but I can't
seem to get anything inserted into that field when I add the product to
the cart.
You might suggest to use subproducts for each size, and just add the
appropriate quantity of each of the subproducts to the cart all at once.
However, I'm already using subproducts for the quantity discounting
(that is,I have a product for 12-25 shirts, one for 26-50 shirts, etc)
and it seems like it would be really complicated to create 40
subproducts for all the size / total quantity combinations.
It would be great if quantity discounting were built in to shopsite
soon, because if I can't insert into the customer text entry box
automatically, I don't know that this problem is solvable (short of
creating those 40 products for each type of shirt.
Thanks,
-Alex
written some scripts to sit between the page and the cart
for a product on the product page, using custom templates (much like you
can put the ordering options menu on the product page as well as it in
the cart).
I've tried creating a text box with name
181:freeopt
(where 181 is the product number) but it doesn't get put in the cart.
I have a customer who has some complex volume discounting requirements,
so I've used custom templates to create a form on the product page and
written a script that processes that form and inserts the appropriate
products into the cart. I need to use the "customer text entry" field
to store a list of sizes (i.e. "S: 14, M:8, L:50, XL:12,") but I can't
seem to get anything inserted into that field when I add the product to
the cart.
You might suggest to use subproducts for each size, and just add the
appropriate quantity of each of the subproducts to the cart all at once.
However, I'm already using subproducts for the quantity discounting
(that is,I have a product for 12-25 shirts, one for 26-50 shirts, etc)
and it seems like it would be really complicated to create 40
subproducts for all the size / total quantity combinations.
It would be great if quantity discounting were built in to shopsite
soon, because if I can't insert into the customer text entry box
automatically, I don't know that this problem is solvable (short of
creating those 40 products for each type of shirt.
Thanks,
-Alex
written some scripts to sit between the page and the cart