Sleeveless Ripped Hem Custom Printed T-shirt
${function() {
const variantData = data.variant || {"id":"83eb3cd3-8b6b-4487-b72e-9d912358826e","product_id":"3d6dc58b-865b-4c5c-9bf3-4d50302ea7a7","title":"Apricot-S","weight_unit":"g","inventory_quantity":999,"sku":"XHGYHIT0g-Apricot-S","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8ed284a23e1990379c8ff737747a792.jpeg","path":"d8ed284a23e1990379c8ff737747a792.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"23.89","retail_price":"35","available":true,"url":"\/products\/sleeveless-ripped-hem-custom-printed-t-shirt?variant=83eb3cd3-8b6b-4487-b72e-9d912358826e","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Apricot
${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}
`
}()}
Preshrunk, Soft-washed, Vintage look
Add to cart
$23.89
${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":"83eb3cd3-8b6b-4487-b72e-9d912358826e","product_id":"3d6dc58b-865b-4c5c-9bf3-4d50302ea7a7","title":"Apricot-S","weight_unit":"g","inventory_quantity":999,"sku":"XHGYHIT0g-Apricot-S","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8ed284a23e1990379c8ff737747a792.jpeg","path":"d8ed284a23e1990379c8ff737747a792.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"23.89","retail_price":"35","available":true,"url":"\/products\/sleeveless-ripped-hem-custom-printed-t-shirt?variant=83eb3cd3-8b6b-4487-b72e-9d912358826e","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":32,"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 ? `
` : ' ';
}
}()}
Product was out of stock.
Product is unavailable.
Sku : XHGYHIT0g-Apricot-S
${function(){
const variantData = data.variant || {"id":"83eb3cd3-8b6b-4487-b72e-9d912358826e","product_id":"3d6dc58b-865b-4c5c-9bf3-4d50302ea7a7","title":"Apricot-S","weight_unit":"g","inventory_quantity":999,"sku":"XHGYHIT0g-Apricot-S","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8ed284a23e1990379c8ff737747a792.jpeg","path":"d8ed284a23e1990379c8ff737747a792.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"23.89","retail_price":"35","available":true,"url":"\/products\/sleeveless-ripped-hem-custom-printed-t-shirt?variant=83eb3cd3-8b6b-4487-b72e-9d912358826e","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}