Hello,
This scenario unfortunately cannot be set up out of the box. Product options do not count for volume discounts (mostly due to general design where you can have more options of the same category selected for different products, e.g. shirt sizes, etc.), but
new customization model in 6.0 allows us to do that with few lines of code.
The particular solution would depend on how exactly are your volume discounts calculated, we will need more details here:
Are the product options defined as unit and you can select their amount, or are there predefined credit volumes as individual options?
In other words, do you have a single option (credit) with textbox for entering its amount, or something like A) 1 credit, B) 5 credits, C) 10 credits ?
Another thing is how the product amount and credit amount influence the volume discount. Is there a linear multiplication (number of credit cards * number of credits per card) leading to total credit amount, or is it rather that number of credit cards sets one scale of volume discounts, while number of credits per card sets a volume discount for one individual card?
Maybe more or all possible situation will be enough to understand... Now we don't know if 1 card with 5 credits has any discount... in the multiplication logic, it would be the same as 5 cards each with 1 credit..
Just to suggest the customization - it could be placed in the
GetDiscountsInternal method override from the
CustomShoppingCartItemInfoProvider, which can be already found as a sample customization in the default installation in ~\App_Code\CMSModules\Ecommerce\Samples\CustomShoppingCartItemInfoProvider.cs
Thank you in advance for further information.
Regards,
Zdenek