I'm currently overriding the OrderLineCalculator - CalculatePrice,
this works fine when individually amending the price point per OrderLine, but I'm trying to amend the overall Order amount.
I can see within the Order Calculator there is - CalculateOrderTotalPrice but this is protected so I'm unable to override it?
What's the best way of increasing the overall Order total?
The amount it is increasing by doesn't really correlate to another product as such. The user uploads logos to a garment, and I'm determining how many logos they upload, will determine an increase of £20.00 per upload, so need to increase the overall Order value.
What's the best way to achieve this, should I create a dummy product called 'upload', and set it to £20.00 then add this to the Order as an Orderline?
How to add an amount to overall Order value
HI
I'm currently overriding the OrderLineCalculator - CalculatePrice, this works fine when individually amending the price point per OrderLine, but I'm trying to amend the overall Order amount.
I can see within the Order Calculator there is - CalculateOrderTotalPrice but this is protected so I'm unable to override it?
What's the best way of increasing the overall Order total?
The amount it is increasing by doesn't really correlate to another product as such. The user uploads logos to a garment, and I'm determining how many logos they upload, will determine an increase of £20.00 per upload, so need to increase the overall Order value.
What's the best way to achieve this, should I create a dummy product called 'upload', and set it to £20.00 then add this to the Order as an Orderline?
I've ended up just creating a Product called 'Logo Upload' and set a static price of £20.00
The editor can then change this price per upload for the future and I can hide it within the basket.
Using the BundleIdentifier I can attach each one to an OrderLine that way. Which allows me to increase the overall order.
Great solution Neil, glad you were able to figure out a workaround.
Matt
is working on a reply...