SAYO TOMASYON Loose Fashion Decorative Stitching Patch Pocket T-shirt
${function() {
const variantData = data.variant || {"id":"130b6581-7ede-4163-80eb-f4b1bfa7e2c1","product_id":"51a01214-647b-432b-8d4d-c5d557208b4f","title":"Army Green-M","weight_unit":"g","inventory_quantity":653,"sku":"","barcode":"","position":1,"option1":"Army Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e03eda8c1009194bff01e6661bf34d5.jpeg","path":"9e03eda8c1009194bff01e6661bf34d5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.4,"min_quantity":1}],"weight":"200","compare_at_price":"28.4","price":"28.4","retail_price":"28.4","available":true,"url":"\/products\/sayo-tomasyon-loose-fashion-decorative-stitching-patch-pocket-t-shirt?variant=130b6581-7ede-4163-80eb-f4b1bfa7e2c1","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":221};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Army Green
${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:
M
${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
$28.40
${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":"130b6581-7ede-4163-80eb-f4b1bfa7e2c1","product_id":"51a01214-647b-432b-8d4d-c5d557208b4f","title":"Army Green-M","weight_unit":"g","inventory_quantity":653,"sku":"","barcode":"","position":1,"option1":"Army Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9e03eda8c1009194bff01e6661bf34d5.jpeg","path":"9e03eda8c1009194bff01e6661bf34d5.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.4,"min_quantity":1}],"weight":"200","compare_at_price":"28.4","price":"28.4","retail_price":"28.4","available":true,"url":"\/products\/sayo-tomasyon-loose-fashion-decorative-stitching-patch-pocket-t-shirt?variant=130b6581-7ede-4163-80eb-f4b1bfa7e2c1","available_quantity":999999999,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":221};
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.