I Love You It's Ruining My Life Vintage Washed T Shirt
${function() {
const variantData = data.variant || {"id":"e752405e-94bb-433e-93cf-f454a10c5a85","product_id":"7f0dd9e2-befc-4d98-97a0-2e13a78625ec","title":"Dark Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"WL2024042607B-DarkGrey-S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e099b98ce21839378394c9e55cbd8c.jpeg","path":"51e099b98ce21839378394c9e55cbd8c.jpeg","width":750,"height":1000,"alt":"I Love You It's Ruining My Life Vintage Washed T Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.96,"min_quantity":1}],"weight":"166","compare_at_price":"25","price":"18.96","retail_price":"25","available":true,"url":"\/products\/i-love-you-its-ruining-my-life-vintage-washed-t-shirt-1?variant=e752405e-94bb-433e-93cf-f454a10c5a85","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Dark Grey
${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
$18.96
${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":"e752405e-94bb-433e-93cf-f454a10c5a85","product_id":"7f0dd9e2-befc-4d98-97a0-2e13a78625ec","title":"Dark Grey-S","weight_unit":"g","inventory_quantity":0,"sku":"WL2024042607B-DarkGrey-S","barcode":"","position":1,"option1":"Dark Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/51e099b98ce21839378394c9e55cbd8c.jpeg","path":"51e099b98ce21839378394c9e55cbd8c.jpeg","width":750,"height":1000,"alt":"I Love You It's Ruining My Life Vintage Washed T Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":18.96,"min_quantity":1}],"weight":"166","compare_at_price":"25","price":"18.96","retail_price":"25","available":true,"url":"\/products\/i-love-you-its-ruining-my-life-vintage-washed-t-shirt-1?variant=e752405e-94bb-433e-93cf-f454a10c5a85","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"name":"Size","value":"S"}],"off_ratio":24,"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.