Medusa Girls will be Girls Unisex T-shirt/Crewneck/Hoodie
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"7d45cde5-8630-4d1b-9fcc-8c571f5993e3","product_id":"e4fb5a17-05f9-4614-ae37-ebe42d0e8b50","title":"TEE-Black-Small","weight_unit":"kg","inventory_quantity":1000,"sku":"T55-BK-S-CL3471-FM","barcode":"","position":1,"option1":"TEE","option2":"Black","option3":"Small","note":"","image":{"src":"\/\/img.staticdj.com\/watermarkb32879cb0473cd76612e3ead5a8a24b7.png","path":"watermarkb32879cb0473cd76612e3ead5a8a24b7.png","width":3176,"height":3176,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.99","retail_price":"40","available":true,"url":"\/products\/medusa-girls-will-be-girls-unisex-t-shirt-crewneck-hoodie?variant=7d45cde5-8630-4d1b-9fcc-8c571f5993e3","available_quantity":1000,"options":[{"name":"Style","value":"TEE"},{"name":"Color","value":"Black"},{"name":"Size","value":"Small"}],"off_ratio":50,"flashsale_info":[],"sales":4};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
TEE
${function(){
const optName = "Style";
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}
`
}()}
Color:
Black
${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:
Small
${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
$19.99
${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":"7d45cde5-8630-4d1b-9fcc-8c571f5993e3","product_id":"e4fb5a17-05f9-4614-ae37-ebe42d0e8b50","title":"TEE-Black-Small","weight_unit":"kg","inventory_quantity":1000,"sku":"T55-BK-S-CL3471-FM","barcode":"","position":1,"option1":"TEE","option2":"Black","option3":"Small","note":"","image":{"src":"\/\/img.staticdj.com\/watermarkb32879cb0473cd76612e3ead5a8a24b7.png","path":"watermarkb32879cb0473cd76612e3ead5a8a24b7.png","width":3176,"height":3176,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.99","retail_price":"40","available":true,"url":"\/products\/medusa-girls-will-be-girls-unisex-t-shirt-crewneck-hoodie?variant=7d45cde5-8630-4d1b-9fcc-8c571f5993e3","available_quantity":1000,"options":[{"name":"Style","value":"TEE"},{"name":"Color","value":"Black"},{"name":"Size","value":"Small"}],"off_ratio":50,"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.