Minimum Order Quantity - UK Customers

  • Status: Closed
  • Prize: €10
  • Entries Received: 2

Contest Brief

Bigcommerce requires the cart to be hidden to allow minimum order quantities.

This script works for Users using the €euro currency. What I require is addition to this script so it can hide the cart button for customers using £Sterling currency.
( I have tried duplicating the script and changing € to £)


<script type="text/javascript">
jQuery(document).ready(function(){
var CartTotal = '%%GLOBAL_CartItemTotal%%';
CartTotal= CartTotal.replace('€', '');
CartTotal= CartTotal.replace(',', '');
if(CartTotal >= 50.0) {
$('.CartTotalMessage').hide();
}
else {
$('.ProceedToCheckout').hide();
$('.btn.cta').hide();
$('.PayPalExpressCheckout').hide();
$('.GoogleCheckout').hide();
$('#CartHeader h2 img').hide();
}
});
</script>

Recommended Skills

Public Clarification Board

  • sopholos
    sopholos
    • 10 years ago

    Please show url of website

    • 10 years ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!