Shop By Category

View as Grid List

2 Items

Set Ascending Direction
View as Grid List

2 Items

Set Ascending Direction

New Arrivals

'); } else { $('#product-id-' + product_id + ' .stock').removeClass('available').removeClass('unavailable').addClass('unavailable').html('Out of stock'); } $('#product-id-' + product_id + ' .custom_uom').val(uom); $('.products-list .qty').css('display', 'block'); $('.products-list .price-box').css('display', 'block'); $('.products-list .price-box.price-final_price').css('display', 'block'); $('.products-list button.action.tocart.primary').css('display', 'block'); $('.products-grid .qty').css('display', 'block'); $('.products-list .stock, ' + '.products-grid .stock').show().css('visibility', 'visible'); $('.products-list .availability, ' + '.products-grid .availability').show().css('visibility', 'visible'); $('.products-grid .price-box').css('display', 'block'); $('.products-grid .price-box.price-final_price').css('display', 'block'); $('.products-grid button.action.tocart.primary').css('display', 'block'); } }); } }); } clearInterval(interval5); } }, 1000); } if (productIds.length > 0) { var customurl = "https://www.jomardist.com/Catalog/index/price/"; $.ajax({ url: customurl, type: 'POST', global: false, dataType: 'json', data: { productIds: productIds.toString() }, success: function (response) { $.each(response, function (key, value) { var product_id = value.id; var price = value.price; var qty = value.qty; var uom = value.uom; if (product_id) { if (price != 0) { $('#product-price-' + product_id + ' .price').html(price); $('#product-id-' + product_id + ' .price').html(price); $('#old-price-' + product_id + '-widget-product-grid .price').html(price); $('#old-price-' + product_id + '-widget-product-grid').css('display', 'none'); } $(".product-items.widget-product-grid [data-product-id="+ product_id +"]" ).after('
'); if (qty > 0) { $('#product-id-' + product_id + ' .stock').removeClass('available').removeClass('unavailable').addClass('available').html('Available In-Stock'); $('#product-id-' + product_id + ' .stock').after(''); } else { $('#product-id-' + product_id + ' .stock').removeClass('available').removeClass('unavailable').addClass('unavailable').html('Out of stock'); } $('#product-id-' + product_id + ' .custom_uom').val(uom); $('#product-id-' + product_id + ' .erp_qty').val(qty); } }); /* Common display changes for all products */ $('.products-list .price-box.price-final_price .price, ' + '.products-grid .price-box.price-final_price .price').show(); $('.products-list .price-box.price-final_price, ' + '.products-grid .price-box.price-final_price').css('background-image', 'none'); $('.products-list .stock, ' + '.products-grid .stock').show().css('visibility', 'visible'); $('.products-list .availability, ' + '.products-grid .availability').show().css('visibility', 'visible'); $('.products-list .product .actions-primary, ' + '.products-grid .product .actions-primary').css('background-image', 'none').css('display', 'block'); $('.products-list button.action.tocart.primary, ' + '.products-list .qty, ' + '.products-grid button.action.tocart.primary, ' + '.products-grid .qty').show(); $('.grid.products-grid .product .actions-primary').css('padding', '0').css('width', '100%'); $('.products-grid .price-box.price-final_price').show(); } }); } /* Display alert message if 'orderPadOnly' is 'yes' for add to cart button */ /* Display current company in header */ /** * PDP Page Scripts */ /** * Cart page scripts */ /** * Checkout page scripts */ /** * Register page scripts */ }); }); Copyright © Jomar Distributors Inc. All rights reserved.