Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
When there is nothing in the cart and you try to check out there is a message about the minimum order value of $100. The format does not allow it to be read properly as it is all bunches together (see screenshot). Screen Shot 2023-02-27 at 20.12.43.png (82kb) downloaded 1 time(s).
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 467
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Hi there, Has this installation been upgraded at any time? If so, from what version(s)? This is a styling issue. 2023-02-27_10-57-25.png (23kb) downloaded 0 time(s).The cart looks fine in my 9.0.7 install. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
Hi, Katie.
We've been upgrading from 7.0.7 version, how can we fix it?
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 467
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Did you upgrade directly from 7.0.7 to 9.0.7? Or did you upgrade to/from different versions of 9? I'm asking because there are stylesheet updates in the 9.0.x upgrades, but if you came directly from 7.0.7, then this would be a different issue. For example, this is from the last version, upgrading from 9.0.6 to 9.0.7: Quote:### Post-Upgrade Instructions ###
1. Find the default "Sample" theme and locate the "default.css" file. The file is located at \Website\Themes\Sample\Content\default.css
Copy this file to your custom store theme's \Content\ folder. You should not have merge any changes unless you've customized this file. If you have customized this file, then you can manually copy the code below into it.
Following style is added in sample theme default.css file:
.ui-autocomplete { z-index: 9999 !important; } Each version upgrade has specific post-upgrade instructions that need to be applied to keep your stylesheets and themes updated. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
We upgraded directly from 7.0.7. default.css files match from both themes (sample & ours).
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 467
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Please check the style.css file in the \Website\Themes\{your theme name}\Content\ folder.
/*------------------------------ ALERT ------------------------------*/
.alert { border-radius:0; border-width:2px; padding:20px; }
.alert-dismissable, .alert-dismissible { padding-right:40px; }
.alert .close i { font-size:16px; }
.alert-danger, .alert-info, .alert-success, .alert-warning { border-color:rgba(0,0,0,0.03); }
.alert-danger { color:#BA5B68; background-color:#F5E1E1; }
.alert-info { color:#4B90AE; background-color:#E1F5F4; }
.alert-success { color:#4BAE4F; background-color:#E1F5E3; }
.alert-warning { color:#AEA64B; background-color:#FAFAD2; }
|
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 467
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Ok, I did some more digging and found that this issue was recently reported. https://www.ablecommerce...ximum-order-bug#post6035The install I was testing already had the changes applied, so that's why I wasn't seeing the issue. I'm going to try and get you the fix, but first I need to track down the changes and test first. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 467
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
It is super easy to fix the issue, open the _BasketContents.cshtml file in the \Website\Views\Checkout\ folder. There are 2 lines of code needing a small change. Find: Code:<span class="alert alert-warning">Your order does not yet meet the minimum value of @(ViewBag.OrderMinimumAmount). You must increase your purchase and click Recalculate, in order to checkout.</span>
Replace starting and ending "span" with "div" Code:<div class="alert alert-warning">Your order does not yet meet the minimum value of @(ViewBag.OrderMinimumAmount). You must increase your purchase and click Recalculate, in order to checkout.</div>
Find: Code:<span class="alert alert-warning">Your order exceeds the maximum value of @(ViewBag.OrderMaximumAmount). You must reduce your purchase and click Recalculate, in order to checkout.</span>
And again, replace starting and ending "span" with "div" Code:<div class="alert alert-warning">Your order exceeds the maximum value of @(ViewBag.OrderMaximumAmount). You must reduce your purchase and click Recalculate, in order to checkout.</div>
I've tested this on 9.0.7 and confirmed it works. |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Newbie
Groups: Authorized User
Joined: 2/27/2023(UTC) Posts: 0
|
I also confirm that your fix is working fine.
Thank you very much, Katie.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close