Description in Cart

Mar 27, 2009 at 5:35 PM
Hi, first off, thanks for the free module! It is MUCH better than the official DNN store module.

In the checkout cart page, can you tell me how to show each item's description alongside the name, price, qty, etc.?
Mar 28, 2009 at 1:06 AM
Hi, Thanks for the encouragement!

There is no way to change this in the store via templates.  If you want to do it your going to have to get your hands dirty, by changing code:

Firstly the the name in the cart list isn't just the product name, it's the product model that has been selected plus a description of any options that may also have been selected.  To change this to just the product description you need to:

1 - Add a field to the NB_Store_Cart_Details table (let's say ProductDesc)
2 - on the add to cart button, change the code to add the addition of the product description to the cart detail table.
3 - in the cartlist.ascx display the new productDesc field that you've created.

Hope this helps,
Dave.
Mar 30, 2009 at 2:00 PM
Dave, thanks a lot for your support. I will try this. Keep up the good work.