I bet this is here someplace but I can't find it....
SImply stated in the ProductDiscountsDialog.ascx.cs it uses the product.Price as the base upon which any discounts are calculated.
I want to use the sum of the prices of the kit components when the product is a kit rather than a "product"
Is there some easy way to get a "kit.Price" rather than the "product.Price"?
I suspect I would need to have an "if" statement to determine if the kit price (sum of the components' prices) was the one to use or not. Not all kits we have use the sum of component prices, but some do.
Kit Price vs Product Price
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Kit Price vs Product Price
One has to make selection of the components before price can be calculated. So there is no method like kit.Price.
There is no simple answer to your question but if you have a look at code for ConLib/Utility/ProductPrice control you fill figure out a lot of things.
There is no simple answer to your question but if you have a look at code for ConLib/Utility/ProductPrice control you fill figure out a lot of things.
-
- Lieutenant (LT)
- Posts: 77
- Joined: Mon Apr 19, 2010 4:52 pm
Re: Kit Price vs Product Price
Yea, it looks like I need to copy some code from a couple of other modules that have a calculation for kits.
The situation I have already has the selections done before getting to this. So, that was already understood.
The situation I have already has the selections done before getting to this. So, that was already understood.