Vintage Turtle Surf Hoodie
${function() {
const variantData = data.variant || {"id":"c37fcc70-4b64-41c3-a702-2f581d0a7e9e","product_id":"2bf74251-881b-4642-89f7-5083bd40815a","title":"White apricot-S","weight_unit":"kg","inventory_quantity":999,"sku":"1674689557076979713","barcode":"","position":1,"option1":"White apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8b7b5f4f52e4166a669d9c50ed9cf98.jpeg","path":"d8b7b5f4f52e4166a669d9c50ed9cf98.jpeg","width":712,"height":950,"alt":"414a9fd1ba605a95b965223914776fa0","aspect_ratio":0.7494736842105263},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/vintage-turtle-surf-hoodie?variant=c37fcc70-4b64-41c3-a702-2f581d0a7e9e","available_quantity":999999999,"options":[{"name":"Color","value":"White apricot"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
White 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}
`
}()}
Add to cart
$27.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":"c37fcc70-4b64-41c3-a702-2f581d0a7e9e","product_id":"2bf74251-881b-4642-89f7-5083bd40815a","title":"White apricot-S","weight_unit":"kg","inventory_quantity":999,"sku":"1674689557076979713","barcode":"","position":1,"option1":"White apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8b7b5f4f52e4166a669d9c50ed9cf98.jpeg","path":"d8b7b5f4f52e4166a669d9c50ed9cf98.jpeg","width":712,"height":950,"alt":"414a9fd1ba605a95b965223914776fa0","aspect_ratio":0.7494736842105263},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"300","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/vintage-turtle-surf-hoodie?variant=c37fcc70-4b64-41c3-a702-2f581d0a7e9e","available_quantity":999999999,"options":[{"name":"Color","value":"White apricot"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.
people are viewing this right now