JSFiddle - React, Tailwind, and code Playground
by hslincoln
JavaScript
// Handle for red tag free P&P
jQuery("#productList ul.gridStyle li").each(function () {
var priceToChange = jQuery('p.price').text().replace(/\u00A3/g, '');
var PPthreshold = 74.99;
if (+priceToChange => PPthreshold) {
jQuery('#FreePParea', this).show();
jQuery('#freePP-tag', this).attr('src', "http://www.jmldirect.com/content/ebiz/shop/resources/exp/redtags/rt_10_percent_off.png");
return true;
}