sales@makkpress.com 1300 513 310

Bigcommerce free shipping counter


blog counter

When you want to show a Counter on cart page that shows the free shipping amount.

Use this method if you want to –

1. Copy the below code and paste the code in cart,html before </body>

post5

<script type=”text/javascript”>

var pr = Number($(‘.SubTotal’).children(‘.small’).children(‘.ProductPrice’).html().replace(/[^0-9\.]+/g,””));

var fo = 500; /* Amount for Flat rate shipping eligibility, 15 below in line 81 and 85 is amount for flat rate */

var fg = parseInt(fo – pr);

if((fg < fo) && (fg > 0) ){

$(‘.breadcrumbs’).after(‘<div class=”nsiio”> you are just $’ +fg+ ‘ away from $15 flat-rate shipping!</div>’);

}

else if(pr==0){

}

else{

$(‘.breadcrumbs’).after(‘<div class=”nsiio”> you are qualified for $15 flat-rate shipping!</div>’);

}

</script>

NEED HELP? CONTACT US
CALL US: +91 7827262320

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

"request a Quote"

What makes us unique is our high level commitment towards what we do





Google Rating
Google Rating
5.0 star rating
x

Get a Free Website Audit Worth $449

Get a Free Audit of your website to Know what changes and updates are needed to improve your websites performance to generate more leads. Our Experts will do a Manual in-depth Analysis of your website for 1- SEO
2- UI/UX Conversion optimization.







x