I Cry A Lot But I'm So Productive Broken Heart Sweatshirt
${function() {
const variantData = data.variant || {"id":"fb714ef7-5770-45a4-89e3-1367ce861ac0","product_id":"fb5e4a89-53d6-4687-b45f-d9fb617a1ec1","title":"Khaki-S","weight_unit":"g","inventory_quantity":0,"sku":"WL202404260F8-Khaki-S","barcode":"","position":9,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd2b173fc31f502968530d2ae7cbe83f.jpeg","path":"fd2b173fc31f502968530d2ae7cbe83f.jpeg","width":750,"height":1000,"alt":"I Cry A Lot But I'm So Productive Broken Heart Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"255","compare_at_price":"36","price":"25.98","retail_price":"36","available":true,"url":"\/products\/i-cry-a-lot-but-im-so-productive-broken-heart-sweatshirt?variant=fb714ef7-5770-45a4-89e3-1367ce861ac0","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":4};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Khaki
${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:
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}
`
}()}
Add to cart
$25.98
${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":"fb714ef7-5770-45a4-89e3-1367ce861ac0","product_id":"fb5e4a89-53d6-4687-b45f-d9fb617a1ec1","title":"Khaki-S","weight_unit":"g","inventory_quantity":0,"sku":"WL202404260F8-Khaki-S","barcode":"","position":9,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd2b173fc31f502968530d2ae7cbe83f.jpeg","path":"fd2b173fc31f502968530d2ae7cbe83f.jpeg","width":750,"height":1000,"alt":"I Cry A Lot But I'm So Productive Broken Heart Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":25.98,"min_quantity":1}],"weight":"255","compare_at_price":"36","price":"25.98","retail_price":"36","available":true,"url":"\/products\/i-cry-a-lot-but-im-so-productive-broken-heart-sweatshirt?variant=fb714ef7-5770-45a4-89e3-1367ce861ac0","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":4};
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.