1 / 2

How to create BIGCOMMERCE FREE SHIPPING COUNTER

How to create BIGCOMMERCE FREE SHIPPING COUNTER

makkpress
Download Presentation

How to create BIGCOMMERCE FREE SHIPPING COUNTER

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Bigcommerce free shipping 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>

  2. <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> Get Best Bigcommerce Services at Makkpress

More Related