Outward Hound Granby Splash Orange Dog Life Jacket, Medium
${function() {
const variantData = data.variant || {"id":"fe395722-dbe3-4946-8f05-532a1e2e8f49","product_id":"fadbb0de-842d-4e55-96e8-19cb34ad4cef","title":"Red-Medium (Chest Girth: 21\"-27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"B01NGUMOS7","barcode":"","position":1,"option1":"Red","option2":"Medium (Chest Girth: 21\"-27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","path":"e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","width":1500,"height":746,"alt":"","aspect_ratio":2.0107238605898123},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/outward-hound-granby-splash-orange-dog-life-jacket-medium-b0081xikyg?variant=fe395722-dbe3-4946-8f05-532a1e2e8f49","available_quantity":999999999,"options":[{"name":"Size","value":"Red"},{"name":"Color","value":"Medium (Chest Girth: 21\"-27\")"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
Red
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color:
Medium (Chest Girth: 21"-27")
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$19.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":"fe395722-dbe3-4946-8f05-532a1e2e8f49","product_id":"fadbb0de-842d-4e55-96e8-19cb34ad4cef","title":"Red-Medium (Chest Girth: 21\"-27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"B01NGUMOS7","barcode":"","position":1,"option1":"Red","option2":"Medium (Chest Girth: 21\"-27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","path":"e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","width":1500,"height":746,"alt":"","aspect_ratio":2.0107238605898123},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/outward-hound-granby-splash-orange-dog-life-jacket-medium-b0081xikyg?variant=fe395722-dbe3-4946-8f05-532a1e2e8f49","available_quantity":999999999,"options":[{"name":"Size","value":"Red"},{"name":"Color","value":"Medium (Chest Girth: 21\"-27\")"}],"off_ratio":0,"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 variantData = data.variant || {"id":"fe395722-dbe3-4946-8f05-532a1e2e8f49","product_id":"fadbb0de-842d-4e55-96e8-19cb34ad4cef","title":"Red-Medium (Chest Girth: 21\"-27\")","weight_unit":"kg","inventory_quantity":1000,"sku":"B01NGUMOS7","barcode":"","position":1,"option1":"Red","option2":"Medium (Chest Girth: 21\"-27\")","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","path":"e8d7951f0c8e14408fe6ffd5633c8e5b.jpeg","width":1500,"height":746,"alt":"","aspect_ratio":2.0107238605898123},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/outward-hound-granby-splash-orange-dog-life-jacket-medium-b0081xikyg?variant=fe395722-dbe3-4946-8f05-532a1e2e8f49","available_quantity":999999999,"options":[{"name":"Size","value":"Red"},{"name":"Color","value":"Medium (Chest Girth: 21\"-27\")"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}