Volume Discount Display
Volume Discount Display
We are wanting to use the line item quantity discounts with a percentage discount. However, we do not want it to display on the product page showing "10% off", but instead saying something like "5-15 items, $1.50/pc" where the actual price is extrapolated per item.
Another option would be to have the discounts apply, but not have the box actually appear on the page. We would then create a table with the info. that we would include with the product description.
However, we can not figure out how to make the volume discount box display with the actual price instead of the percentage or how to make the volume discount box not appear at all. I do not know which solution would be easier to implement. Changing the display of the box to show the price would save us time in entering products as it would automatically figure and display the discounts, where if we hide the display and make our own, then we have to create them for every product.
Any suggestions would be appreciated!
Kristi
Another option would be to have the discounts apply, but not have the box actually appear on the page. We would then create a table with the info. that we would include with the product description.
However, we can not figure out how to make the volume discount box display with the actual price instead of the percentage or how to make the volume discount box not appear at all. I do not know which solution would be easier to implement. Changing the display of the box to show the price would save us time in entering products as it would automatically figure and display the discounts, where if we hide the display and make our own, then we have to create them for every product.
Any suggestions would be appreciated!
Kristi
Re: Volume Discount Display
I actually adopted this design from a client of mine, sounds like what you're looking for. I can figure out how I got this done again if so.
DELETED
DELETED
Last edited by sdlong02 on Fri Jul 24, 2009 10:40 am, edited 1 time in total.
Re: Volume Discount Display
This is the category display of my volume discounts. Both are WIP
DELETED
DELETED
Last edited by sdlong02 on Fri Jul 24, 2009 10:40 am, edited 1 time in total.
-
- Commodore (COMO)
- Posts: 433
- Joined: Wed May 28, 2008 9:42 am
- Location: Concord, NC
- Contact:
Re: Volume Discount Display
I actually need this too. Would you mind sharing the code to get the actual price of the item to display?
Re: Volume Discount Display
I'll try to get this code for you, lots of cookie-cutting code along with trial and error, I will need to track down again how I did this. Hopefully I'll have time to get it out here soon.
Re: Volume Discount Display
Code: Select all
/*VolumeDiscountCollection availableDiscounts = VolumeDiscountDataSource.LoadForProduct(product.ProductId);
VolumeDiscount testDiscount = availableDiscounts[0];
int DiscountCount = testDiscount.Count;
testDiscount.Levels.Count;
VolumeDiscount discount = (VolumeDiscount)dataItem;
*/
//OUTPUT Price for item
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
itemTemplate1.Controls.Add(new LiteralControl(string.Format("{0:ulc}", product.Price)));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
VolumeDiscountCollection availableDiscounts = VolumeDiscountDataSource.GetAvailableDiscounts(product.ProductId);
VolumeDiscount testDiscount;
if (availableDiscounts.Count > 0)
{
testDiscount = availableDiscounts[availableDiscounts.Count-1];
foreach (VolumeDiscountLevel level in testDiscount.Levels)
{
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
if (level.IsPercent) itemTemplate1.Controls.Add(new LiteralControl(string.Format("{0:ulc}", product.Price * (1 - level.DiscountAmount/100))));
else itemTemplate1.Controls.Add(new LiteralControl(string.Format("{0:ulc} off", level.DiscountAmount)));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
}
}
else
{
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
itemTemplate1.Controls.Add(new LiteralControl(" "));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
itemTemplate1.Controls.Add(new LiteralControl(" "));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
itemTemplate1.Controls.Add(new LiteralControl(" "));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
itemTemplate1.Controls.Add(new LiteralControl("<td>"));
itemTemplate1.Controls.Add(new LiteralControl(" "));
itemTemplate1.Controls.Add(new LiteralControl("</td>"));
}
-
- Commander (CMDR)
- Posts: 182
- Joined: Tue Jan 27, 2009 2:29 pm
Re: Volume Discount Display
Do you have a web site where I can see how this modification looks?
Thanks
Thanks
Re: Volume Discount Display
We once did something similar for a customer. The store is not fully launched by the customer yet but here is an example of discounts display http://www.intertexonline.com/Cinch-140 ... P2372.aspx
See the price breaks in Price section.
See the price breaks in Price section.
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Volume Discount Display
You might want to look at our site and see if this is more in tune with the desired result.
Try this product
http://store.netgate.com/-P91C95.aspx
Try this product
http://store.netgate.com/-P91C95.aspx
-
- Commander (CMDR)
- Posts: 182
- Joined: Tue Jan 27, 2009 2:29 pm
Re: Volume Discount Display
Well both of those look like improvements, but what I want is that to show on the CATEGORY page. I use the deep item display with add to basket (CategoryGrid3.aspx) My items are inexpensive and I get a lot of people just order right off the category page, but they get confused because there are no price breaks shown there. Here is the page I want the breaks to show on
http://www.cameojewelrysupply.com/Alpha ... -C104.aspx
http://www.cameojewelrysupply.com/Alpha ... -C104.aspx
Re: Volume Discount Display
The same control that we are using for display on product page can be used on category page. It will only need a slight modification. i.e; setting the product id for the control in the repeater instead of getting the product id from context/query string.