an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 9/23/2008 9:22:42 PM By lukezy. 7 replies.
9/22/2008 11:29:45 AM
lanewman
Posts: 17
Joined: 6/14/2008
Location:Ft Lauderdale, FL, US
Required Attributes
I've set up attributes that are marked required.  When I try to buy the product from the product details page, the system enforces attribute selection.  However, from the category overview page, I'm able to clic "add to cart" which bypasses selecting a value for the attribute.  How to do I remedy the missing attributes?
9/22/2008 11:51:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Required Attributes
In your case, it doesn't make sense to show "Add to Cart" button in the overview page. You can customize the overview page to not show the "Add to Cart" button.
DotShoppingCart Staff
9/22/2008 1:43:11 PM
lanewman
Posts: 17
Joined: 6/14/2008
Location:Ft Lauderdale, FL, US
Re: Required Attributes
Thanks for quick reply.
 
Based on the documentation of the "Add Storewide Attribute" found at http://www.dotshoppingcart.com/View/Article/Documentation/Online%20Help/Product%20Management/Using%20Product%20Attributes/40.aspx, it sounds like a defect to me.
 
<span class="Apple-style-span" style="font-family: Verdana; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Required</span><span class="Apple-style-span" style="font-family: Verdana; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">: if checked customer has to choose a value for this attribute before he could add the product to the shopping cart</span>
 
I have this Required checked yet  they're able to add it to the cart.
9/22/2008 2:12:27 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Required Attributes
I am not sure why you are saying it's a defect. When you click the product and go to the product detail page, you should be able to choose the required attribute and then click the "Add to Cart" button to add it to the cart.
 
Could you please explain what you want it to do differently?
DotShoppingCart Staff
9/22/2008 2:21:23 PM
lanewman
Posts: 17
Joined: 6/14/2008
Location:Ft Lauderdale, FL, US
Re: Required Attributes
 I'm suggesting its a defect because the add to cart button on the overview page ignores the fact that I've checked required for a particular attribute.  It then allows someone to purchase an item without selecting a value for the attribute. And I feel that contradicts that which I've configured.  Namely that the attribute is required.
 
I do appreciate the fact that you've given me a workaround that I can implement quickly so my client doesn't have incomplete orders.
9/22/2008 2:35:04 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Required Attributes
Ok, that makes sense.
 
Would you please log this issue here so that we can get this fixed in the future release.
DotShoppingCart Staff
9/23/2008 7:18:00 PM
Linden
Posts: 32
Joined: 3/19/2008
Re: Required Attributes
In what is probably a related issue, we are unable to add an optional attribute to a product. Even if the attribute is marked as not required, you can not add the item to the cart without selecting the optional attribute.
9/23/2008 9:22:42 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Required Attributes
I cannot repro it in DotShoppingCart Suite V2.5. Here is the test product that I created on our demo site. "packaging" is the optional attribute. I can add the product to the cart just fine.
DotShoppingCart Staff