Shipping fee (and discounts for that matter) is applied to your basket SUBTOTAL and not ORDERTOTAL as you cannot allow discounts on fees (shipping and payment).
I assume you're using Marketing Foundation to apply free shipping awards when your basket total exceeds a specific amount (This is basically the same as specifying a shipping fee when your order subtotal is less than your specified amount).
So basically you have to look at your basket subtotal and ordertotal (subtotal + shipping fee + payment fee).
Also you have to bear in mind that vouchers are applied to subtotal and not order total.
take this for an
Your customer has 310 euros in his basket.
Free shipping is applied on basket subtotal 300 euros.
Your customer applies a 10% discount on his basket and now his order subtotal is 279 euros (which is below the 300 euros free shipping award). Now your customer needs to pay the shipping fee.
In my current problem ucommerce behaves somewhat right and somewhat not.
A customer has a product in basket for 16,00€.
A shipping fee of 6,00€ is added and the order total is now 22,00€. Everything correct until now.
If he now adds a voucher which gives 20€ discount than the order total gets to 0,00€. The shipping costs in basket stays 6,00€.
Maybe there is another spot where the order total get's screwed. We have some custom stuff build for ucommerce so just wanted to make sure if ucommerce miscalculates something or how ucommerce normaly would react in this situation or if the custom stuff is broken somewhere.
I'm sure this bug has been fixed in a later version of uCommerce. (I think it is fixed in 3.5.0.13085). It sounds like the exactly same issue as I had on a project about 4 months ago or like that.
So we disagree a little on what the correct behaviour SHOULD be. What Martin says is correct. It is fixed somewhere in that version so promo codes also kills the shipping and payment fees.
David: Can you tell me what version of uCommerce you're running?
Hi again David. Trying to resolve the matter. I've tested with a bunch of scenarios on the standard implementation of Avenue-clothing. And for me it seems to be working as expected (and also as martin expected since 3 point somthing). I'll give you a nice example to work with. A good idea is to modify your prices to somthing that are nice and round where calculations in your head is easy. Also let me just say that the basket page and preview page in avenue-clothing is NOT showing the calculation in an explicit easy-understanding way.
But here follows:
I've made a product that costs 100€ and for the easy understanding my pricegroup adds 10% VAT which gives an orderline of 110€.
Just like you i've configured free shipping, but for orders that exceed 50€ so now my order stays at 110€ after applying a shipping method that costs 10€.
Here comes the crazy part - and actually the part that makes the basket page on avenue-clothing very confusing:
I add a voucher code that give 80€ discount. My basket now looks like this:
It looks strange, but the calculations are right. Note that the discounts are applied as 90€ (80€ voucher and 10€ shipping).
When you add a 80€ voucher to a 110€ order, the order total is 22€ as discounts are applied to SUB total NOT ORDER total. It affects the final VAT as you only have to pay VAT based on 20€ (which gives 2€ VAT) not 100€ (which gives 10€ VAT). this is basically the same as saying that a 80€ voucher actually affects the order total with 88€ (if you add 10% VAT).
As of your example. It is not easy for me to see if you applied shipping or not. Also i don't see what the shipping price is.
So to sum it all up. The calculations are right out of the box, however Avenue-Clothing might have a issue displaying the calculation more explicit.
thanks again for your help!
There are two ways that i used shipping:
Shipping with an amount of 6€ on all orders set in the shipping settings and then used the marketing foundation to reduce the shipping costs by 100% if the amount is higher than 49€.
Implemented a custom shipping provider that uses a property in the web config where the 49€ are stored to calculate the shipping costs. (Code can be supplied).
Vouchers and shipping costs
Using uCommerce 2.6.0.0 and Umbraco 4.7.2
In our current configuration we have a shipping fee when the total amount of an order is lower than a specific amount.
When a voucher is used and the total amount gets less than our specific amount no shipping fee gets added.
Is this behavior wanted from uCommerce or some wrong settings?
Shipping fee (and discounts for that matter) is applied to your basket SUBTOTAL and not ORDERTOTAL as you cannot allow discounts on fees (shipping and payment).
I assume you're using Marketing Foundation to apply free shipping awards when your basket total exceeds a specific amount (This is basically the same as specifying a shipping fee when your order subtotal is less than your specified amount).
So basically you have to look at your basket subtotal and ordertotal (subtotal + shipping fee + payment fee).
Also you have to bear in mind that vouchers are applied to subtotal and not order total.
take this for an
Your customer has 310 euros in his basket.
Free shipping is applied on basket subtotal 300 euros.
Your customer applies a 10% discount on his basket and now his order subtotal is 279 euros (which is below the 300 euros free shipping award). Now your customer needs to pay the shipping fee.
Hope this helps.
In my current problem ucommerce behaves somewhat right and somewhat not.
A customer has a product in basket for 16,00€.
A shipping fee of 6,00€ is added and the order total is now 22,00€. Everything correct until now.
If he now adds a voucher which gives 20€ discount than the order total gets to 0,00€. The shipping costs in basket stays 6,00€.
Maybe there is another spot where the order total get's screwed. We have some custom stuff build for ucommerce so just wanted to make sure if ucommerce miscalculates something or how ucommerce normaly would react in this situation or if the custom stuff is broken somewhere.
Hi David (and Morten),
I'm sure this bug has been fixed in a later version of uCommerce. (I think it is fixed in 3.5.0.13085). It sounds like the exactly same issue as I had on a project about 4 months ago or like that.
I hope you find a solution.
Best regards Martin
Hi Martin and David,
So we disagree a little on what the correct behaviour SHOULD be. What Martin says is correct. It is fixed somewhere in that version so promo codes also kills the shipping and payment fees.
David: Can you tell me what version of uCommerce you're running?
I'm using uCommerce 2.6.0 for that project.
Edit:
I'm in email contact with Soren about that but to just that others can see what my problem is:
I installed a blank umbraco with uCommerce 4.0.x and the uCommerce Demo Store 1.0.x
Then I added 2 vouchers for shipping with 49€ min value for free shipping and a 100€ voucher.
And thats my outcome in the basket:
So that seems not realy as it is fixed to me. But maybe i'm not using uCommerce in the right way there.
We'd like to hear what the answer is when you've worked it out with Soren.
Hi again David. Trying to resolve the matter. I've tested with a bunch of scenarios on the standard implementation of Avenue-clothing. And for me it seems to be working as expected (and also as martin expected since 3 point somthing). I'll give you a nice example to work with. A good idea is to modify your prices to somthing that are nice and round where calculations in your head is easy. Also let me just say that the basket page and preview page in avenue-clothing is NOT showing the calculation in an explicit easy-understanding way.
But here follows:
I've made a product that costs 100€ and for the easy understanding my pricegroup adds 10% VAT which gives an orderline of 110€.
Just like you i've configured free shipping, but for orders that exceed 50€ so now my order stays at 110€ after applying a shipping method that costs 10€.
Here comes the crazy part - and actually the part that makes the basket page on avenue-clothing very confusing:
I add a voucher code that give 80€ discount. My basket now looks like this:
It looks strange, but the calculations are right. Note that the discounts are applied as 90€ (80€ voucher and 10€ shipping).
When you add a 80€ voucher to a 110€ order, the order total is 22€ as discounts are applied to SUB total NOT ORDER total. It affects the final VAT as you only have to pay VAT based on 20€ (which gives 2€ VAT) not 100€ (which gives 10€ VAT). this is basically the same as saying that a 80€ voucher actually affects the order total with 88€ (if you add 10% VAT).
As of your example. It is not easy for me to see if you applied shipping or not. Also i don't see what the shipping price is.
So to sum it all up. The calculations are right out of the box, however Avenue-Clothing might have a issue displaying the calculation more explicit.
Hope this helps
Best regards
Morten
Hey Morten,
thanks again for your help! There are two ways that i used shipping:
Both ways no shipping gets added for me.
Regards David
first approach seems to be the right thing. You need to add a shipping like in avenue-clothing and then execute basket pipeline.
can you please mail me the code. You should allready have my email (msk at ucommerce dot dk).
is working on a reply...