Dog Hair Don’t Care Dog Mama T-Shirt-013077-CB
${function() {
const variantData = data.variant || {"id":"fda1355a-51a4-48d7-ab6e-6dc87e3796a0","product_id":"8791b23b-60b4-4cc3-b5a1-6c4bf5c01746","title":"S-Rose Gold","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"S","option2":"Rose Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfbbd280f0bbc157bd12111708be6c8f.jpeg","path":"cfbbd280f0bbc157bd12111708be6c8f.jpeg","width":1001,"height":1001,"alt":"Dog Hair Don\u2019t Care Dog Mama T-Shirt-013077-CB-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"18.99","retail_price":"22.99","available":true,"url":"\/products\/dog-hair-dont-care-dog-mama-t-shirt-013077-mvce?variant=fda1355a-51a4-48d7-ab6e-6dc87e3796a0","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Rose Gold"}],"off_ratio":17,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Size:
S
${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:
Rose Gold
${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
$18.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":"fda1355a-51a4-48d7-ab6e-6dc87e3796a0","product_id":"8791b23b-60b4-4cc3-b5a1-6c4bf5c01746","title":"S-Rose Gold","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"S","option2":"Rose Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfbbd280f0bbc157bd12111708be6c8f.jpeg","path":"cfbbd280f0bbc157bd12111708be6c8f.jpeg","width":1001,"height":1001,"alt":"Dog Hair Don\u2019t Care Dog Mama T-Shirt-013077-CB-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"22.99","price":"18.99","retail_price":"22.99","available":true,"url":"\/products\/dog-hair-dont-care-dog-mama-t-shirt-013077-mvce?variant=fda1355a-51a4-48d7-ab6e-6dc87e3796a0","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Rose Gold"}],"off_ratio":17,"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.