Drespot-Simple 4 Colors Beret Hat
${function() {
const variantData = data.variant || {"id":"d7ba403c-53e7-4bf4-b1d9-e5544356e382","product_id":"9e5398c7-a9ff-4ca7-92fa-cb00d4ec98d5","title":"CREAM-FREE SIZE","weight_unit":"g","inventory_quantity":9999,"sku":"Drespot-0615-simple-4-colors-beret-hatCREAMCY-!96254-C1246S1690","barcode":"","position":1,"option1":"CREAM","option2":"FREE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f451ebf724a58d5925b714b9c0d93316.jpeg","path":"f451ebf724a58d5925b714b9c0d93316.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/simple-4-colors-beret-hat?variant=d7ba403c-53e7-4bf4-b1d9-e5544356e382","available_quantity":999999999,"options":[{"name":"Color","value":"CREAM"},{"name":"Size","value":"FREE SIZE"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
CREAM
${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:
FREE SIZE
${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
$26.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":"d7ba403c-53e7-4bf4-b1d9-e5544356e382","product_id":"9e5398c7-a9ff-4ca7-92fa-cb00d4ec98d5","title":"CREAM-FREE SIZE","weight_unit":"g","inventory_quantity":9999,"sku":"Drespot-0615-simple-4-colors-beret-hatCREAMCY-!96254-C1246S1690","barcode":"","position":1,"option1":"CREAM","option2":"FREE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f451ebf724a58d5925b714b9c0d93316.jpeg","path":"f451ebf724a58d5925b714b9c0d93316.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/simple-4-colors-beret-hat?variant=d7ba403c-53e7-4bf4-b1d9-e5544356e382","available_quantity":999999999,"options":[{"name":"Color","value":"CREAM"},{"name":"Size","value":"FREE SIZE"}],"off_ratio":0,"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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"d7ba403c-53e7-4bf4-b1d9-e5544356e382","product_id":"9e5398c7-a9ff-4ca7-92fa-cb00d4ec98d5","title":"CREAM-FREE SIZE","weight_unit":"g","inventory_quantity":9999,"sku":"Drespot-0615-simple-4-colors-beret-hatCREAMCY-!96254-C1246S1690","barcode":"","position":1,"option1":"CREAM","option2":"FREE SIZE","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f451ebf724a58d5925b714b9c0d93316.jpeg","path":"f451ebf724a58d5925b714b9c0d93316.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/simple-4-colors-beret-hat?variant=d7ba403c-53e7-4bf4-b1d9-e5544356e382","available_quantity":999999999,"options":[{"name":"Color","value":"CREAM"},{"name":"Size","value":"FREE SIZE"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
🚚 Free Shipping On Orders Over $35( 7-12days )
👇DISCOUNT CODE👇
New Customer Get 8% OFF [Code: 8OFF]
Buy 3 Get 12% OFF [Code: 3PCS12]
Over $100 Save $20 [Code: 100S20]
Add the corresponding number of items to the shopping cart and input CODE at checkout.