Minimum Order Value Settings/Currency Converter Problem

Posted By Cabrach Sat 10 Oct 2015
Add to Favorites0
Author Message
Cabrach
 Posted Sat 10 Oct 2015
Supreme Being

Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)

Group: Forum Members
Last Active: Tue 3 Nov 2015
Posts: 5, Visits: 57
We've had a few orders come through where the minimum order value settings don't work correctly. When a customer uses the currency converter they can bypass the minimum order values, simply by clicking the 'x' in the pop-up message, then proceeding right through checkout.

A fix would be most welcome.
Cabrach
 Posted Fri 16 Oct 2015
Supreme Being

Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)

Group: Forum Members
Last Active: Tue 3 Nov 2015
Posts: 5, Visits: 57
Another 3 orders this week which we've had to supply at a loss. Can anyone help at all?
Paul Marked As Answer
 Posted Tue 20 Oct 2015
große Käse

große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)große Käse - (522,224 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Find this around line 470 of checkout.aspx.vb (root):

        If numMinOrderValue > 0 Then

If GetKartConfig("general.tax.pricesinctax") = "y" Then

'Prices include tax
If UC_BasketView.GetBasket.TotalIncTax < numMinOrderValue Then
Response.Redirect("~/Basket.aspx?error=minimum")
End If
Else
If UC_BasketView.GetBasket.TotalExTax < numMinOrderValue Then
Response.Redirect("~/Basket.aspx?error=minimum")
End If
End If
End If


change to

        If numMinOrderValue > 0 Then

If GetKartConfig("general.tax.pricesinctax") = "y" Then

'Prices include tax
If UC_BasketView.GetBasket.TotalIncTax < CurrenciesBLL.ConvertCurrency(Session("CUR_ID"), numMinOrderValue) Then
Response.Redirect("~/Basket.aspx?error=minimum")
End If
Else
If UC_BasketView.GetBasket.TotalExTax < CurrenciesBLL.ConvertCurrency(Session("CUR_ID"), numMinOrderValue) Then
Response.Redirect("~/Basket.aspx?error=minimum")
End If
End If
End If


This applies the present currency to the minorderval setting, so changing currency should see the min order value increased by the same amount in numeric terms as the order total


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Tue 20 Oct 2015 by Paul
Cabrach
 Posted Wed 21 Oct 2015
Supreme Being

Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)Supreme Being - (2,565 reputation)

Group: Forum Members
Last Active: Tue 3 Nov 2015
Posts: 5, Visits: 57
Thanks, that's done the trickSmile

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top