Powerpop Girl Roan Sabrina Carpenter Taylor Swift T-shirt/Crewneck/Hoodie
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"93e4488d-f86f-43df-aa2d-87e5b5cc6d48","product_id":"0b5dd1e5-1ab9-4fe8-89ec-5eef19b0d02f","title":"TEE-Black-Small","weight_unit":"kg","inventory_quantity":997,"sku":"T55-BK-S-CL1062-FM","barcode":"","position":1,"option1":"TEE","option2":"Black","option3":"Small","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.99","retail_price":"40","available":true,"url":"\/products\/powerpop-girl-roan-sabrina-carpenter-taylor-swift-t-shirt-crewneck-hoodie?variant=93e4488d-f86f-43df-aa2d-87e5b5cc6d48","available_quantity":999999999,"options":[{"name":"Style","value":"TEE"},{"name":"Color","value":"Black"},{"name":"Size","value":"Small"}],"off_ratio":50,"flashsale_info":[],"sales":42};
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":"93e4488d-f86f-43df-aa2d-87e5b5cc6d48","product_id":"0b5dd1e5-1ab9-4fe8-89ec-5eef19b0d02f","title":"TEE-Black-Small","weight_unit":"kg","inventory_quantity":997,"sku":"T55-BK-S-CL1062-FM","barcode":"","position":1,"option1":"TEE","option2":"Black","option3":"Small","note":"","image":null,"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"19.99","retail_price":"40","available":true,"url":"\/products\/powerpop-girl-roan-sabrina-carpenter-taylor-swift-t-shirt-crewneck-hoodie?variant=93e4488d-f86f-43df-aa2d-87e5b5cc6d48","available_quantity":999999999,"options":[{"name":"Style","value":"TEE"},{"name":"Color","value":"Black"},{"name":"Size","value":"Small"}],"off_ratio":50,"flashsale_info":[],"sales":42};
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.