PDA

View Full Version : static List selection does not show in cart page


robert329616
04-17-2009, 08:11 AM
Hello.

This is probably very basic, but I am having a hard time trying figure it out. I searched the forum and went through solution PDF's.

I have the product detail and cart pages set up. I would like to use an updatable list since the weight for each product can be adjusted per buyer (i.e., 17 OZ, 18 OZ, etc). I set the ecart button for weight to be updateable list. I tried to add values but that did not work.
Starting over, I then chose the updateable list button in ecart, added the values but the same thing happened. When I go to select the weight then add to cart, the weight does not show up in the cart.

Is there a solution that I could follow to figure this out?

Thanks.
Rob

Ray Borduin
04-17-2009, 08:25 AM
If you use the add to cart interface and mark it as "updatable" from a "list", then the list will be blank at first. But then you can highlight the list and use the native DW list properties to set the values.

If you want you can also just add the list to the add to cart form and name it yourself and populate it using standard Dreamweaver form functionality. Then in the eCart add to cart button, don't check the updatable checkbox and use the lightning bolt to set the value from the list form element you added.

robert329616
04-17-2009, 09:13 AM
Ray,

Thanks again. I was able to get it to work. I tried to make it so that if the customer selects the same product but at a different weight it would show on the cart page as 2 purchases of the same product at 2 different weights. Right now it adds 2 to the quantity at the first selected weight. I tried to make weight updatable in the button, but it gave me another field. Do I have to add code to the list menu?

Thanks,
Rob

Ray Borduin
04-17-2009, 09:33 AM
In the add to cart interface there is an option for what to do when the item is already in the cart. Currently you have it set to Sum, chang it to Add New and it should do what you want.

robert329616
04-17-2009, 09:40 AM
Ray,

That worked perfectly!

Thanks again!

Regards,
Rob