Vivek, Amit,
you are right, there is an error.
It is caused because when you remove the first confinItem (with small
and large pizza options), it is not possible to create a valid default
configuration ( ie a configId) for the rest of pizza, as the other
configItem has no selected options by default. To have a configid
created, at least on option should be selected by default. Hope it is
clear.
I will take a look at it, later today.
Bilgin
On Jan 21, 2009, at 1:25 PM, Amit Sharma wrote:
Thanks Bilgin for the reply ,
I tried it as u suggest but after login its not showing virtual
products. and it again showing error on console
==> ${configId} [on line 369, column 55 in component://ecommerce/
webapp/ecommerce/catalog/configproductdetail.ftl]
So when we change ${configId} to ${configId!} then it will show
virtual products in logged in case also,
Please let me know is there is a solution or any other way to solve
our problem.
Thanks & Regards
Amit Sharma
Bilgin Ibryam wrote:
On Jan 13, 2009, at 4:02 PM, Amit Sharma wrote:
In ecommerce's application we have PIZZA as a configurable product .
If we show only Peeper and Souce for Pizza as a component then its
not running fine (both configuration item peeper and souce are not
getting displayed on product detail page), if user is logge-in
On the other hand its working fine if user is not logged-in.
Not included --<ProductConfigItem configItemId="PZ0000"
configItemTypeId="SINGLE" configItemName="Dough"
description="Select type:"/>
Included---- <ProductConfigItem configItemId="PZ0001"
configItemTypeId="MULTIPLE" configItemName="Toppings"
description="Select the Toppings:"/>
Note: I don't want to have configuration item large and small Pizza.
Thanks
Amit
Hi Amit,
I removed ProductConfig line from DB to get a pizza w/o large and
small configuration and it works fine. Can you try this, instead
of removing ProductConfigItem entrie..
<ProductConfig productId="PIZZA" configItemId="PZ0000"
sequenceNum="10" fromDate="2004-08-20 12:59:26.209"
configTypeId="QUESTION" isMandatory="Y"/>
Bilgin