Grateful Dead Steal your Face Tie-Dye Fleece Throw Blanket
${function() {
const variantData = data.variant || {"id":"e929a212-d597-4c8d-9fc4-512e5a2da03f","product_id":"f7303b50-e133-49b8-b617-8fc474c165e5","title":"Colorful-50\"L x 60\"W","weight_unit":"kg","inventory_quantity":0,"sku":"cky-Colorful-50\"L x 60\"W-A00231363","barcode":"","position":1,"option1":"Colorful","option2":"50\"L x 60\"W","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a5643fb890a2e0e13d1c27ea73303e9.jpg","path":"8a5643fb890a2e0e13d1c27ea73303e9.jpg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.66,"min_quantity":1}],"weight":"0","compare_at_price":"59.66","price":"37.66","retail_price":"59.66","available":true,"url":"\/products\/tomorrow-will-be-nice-unisex-cap-nmh7-zsfi?variant=e929a212-d597-4c8d-9fc4-512e5a2da03f","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"50\"L x 60\"W"}],"off_ratio":37,"flashsale_info":[],"sales":5};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Colorful
${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}
`
}()}
Size:
50"L x 60"W
${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}
`
}()}
Add to cart
$37.66
${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":"e929a212-d597-4c8d-9fc4-512e5a2da03f","product_id":"f7303b50-e133-49b8-b617-8fc474c165e5","title":"Colorful-50\"L x 60\"W","weight_unit":"kg","inventory_quantity":0,"sku":"cky-Colorful-50\"L x 60\"W-A00231363","barcode":"","position":1,"option1":"Colorful","option2":"50\"L x 60\"W","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8a5643fb890a2e0e13d1c27ea73303e9.jpg","path":"8a5643fb890a2e0e13d1c27ea73303e9.jpg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":37.66,"min_quantity":1}],"weight":"0","compare_at_price":"59.66","price":"37.66","retail_price":"59.66","available":true,"url":"\/products\/tomorrow-will-be-nice-unisex-cap-nmh7-zsfi?variant=e929a212-d597-4c8d-9fc4-512e5a2da03f","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"name":"Size","value":"50\"L x 60\"W"}],"off_ratio":37,"flashsale_info":[],"sales":5};
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.