GAR BETHE 2024 Summer Women Men Baseball Cap Fashion Letter Embroidery Snapback Hat Vintage Washed Cotton Unisex Hip Hop Sun Hat Casquette
${function() {
const variantData = data.variant || {"id":"dbef35cf-835a-4d84-9406-dcdf5c1cdb02","product_id":"3808de78-eb76-4028-8a65-adb342d95227","title":"3ET-Wine Red","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"3ET-Wine Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee746dea7c639134a69eb91c2a561555.jpeg","path":"ee746dea7c639134a69eb91c2a561555.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.3,"min_quantity":1}],"weight":"0.1","compare_at_price":"9.7","price":"6.3","retail_price":"9.7","available":true,"url":"\/products\/gar-bethe-2024-summer-women-men-baseball-cap-fashion-letter-embroidery-snapback-hat-vintage-washed-cotton-unisex-hip-hop-sun-hat-casquette?variant=dbef35cf-835a-4d84-9406-dcdf5c1cdb02","available_quantity":999999999,"options":[{"name":"color","value":"3ET-Wine Red"}],"off_ratio":35,"flashsale_info":[],"sales":707};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
3ET-Wine Red
${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}
`
}()}
Add to cart
$6.30
${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":"dbef35cf-835a-4d84-9406-dcdf5c1cdb02","product_id":"3808de78-eb76-4028-8a65-adb342d95227","title":"3ET-Wine Red","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"3ET-Wine Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee746dea7c639134a69eb91c2a561555.jpeg","path":"ee746dea7c639134a69eb91c2a561555.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.3,"min_quantity":1}],"weight":"0.1","compare_at_price":"9.7","price":"6.3","retail_price":"9.7","available":true,"url":"\/products\/gar-bethe-2024-summer-women-men-baseball-cap-fashion-letter-embroidery-snapback-hat-vintage-washed-cotton-unisex-hip-hop-sun-hat-casquette?variant=dbef35cf-835a-4d84-9406-dcdf5c1cdb02","available_quantity":999999999,"options":[{"name":"color","value":"3ET-Wine Red"}],"off_ratio":35,"flashsale_info":[],"sales":707};
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.