Russ Cincinnati Bengals Outdoor Cycling Mask Magic Headscarf Multi-Purpose Bib Wristband
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"b8816c47-b5d7-4120-9c97-656c116e3c3b","product_id":"6195d2ac-95f9-4f1d-8620-3c3d550584d6","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"P2309100329","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/russ-cincinnati-bengals-outdoor-cycling-mask-magic-headscarf-multi-purpose-bib-wristband?variant=b8816c47-b5d7-4120-9c97-656c116e3c3b","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Add to cart
$9.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"b8816c47-b5d7-4120-9c97-656c116e3c3b","product_id":"6195d2ac-95f9-4f1d-8620-3c3d550584d6","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"P2309100329","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/russ-cincinnati-bengals-outdoor-cycling-mask-magic-headscarf-multi-purpose-bib-wristband?variant=b8816c47-b5d7-4120-9c97-656c116e3c3b","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
${function(){
const variantData = data.variant || {"id":"b8816c47-b5d7-4120-9c97-656c116e3c3b","product_id":"6195d2ac-95f9-4f1d-8620-3c3d550584d6","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"P2309100329","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/russ-cincinnati-bengals-outdoor-cycling-mask-magic-headscarf-multi-purpose-bib-wristband?variant=b8816c47-b5d7-4120-9c97-656c116e3c3b","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
`
}()}