CARTIER CT0290 Gold-Silver Men's Sunglasses
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"43d0f7be-60f7-4ef0-94fd-0705d94e1837","product_id":"ca6bfac7-b4e3-4a3c-9ce7-553ace2b7085","title":"1","weight_unit":"g","inventory_quantity":198,"sku":"sku1706088893216","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/656f5901b7a1fd5204c5328efe6e649d.jpeg","path":"656f5901b7a1fd5204c5328efe6e649d.jpeg","width":800,"height":600,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"500","compare_at_price":"298","price":"88","retail_price":"298","available":true,"url":"\/products\/cartier-ct0290-mens-sunglasses?variant=43d0f7be-60f7-4ef0-94fd-0705d94e1837","available_quantity":999999999,"options":[{"name":"Style","value":"1"}],"off_ratio":70,"flashsale_info":[],"sales":104};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
1
${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}
`
}()}
Add to cart
$88.00
${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":"43d0f7be-60f7-4ef0-94fd-0705d94e1837","product_id":"ca6bfac7-b4e3-4a3c-9ce7-553ace2b7085","title":"1","weight_unit":"g","inventory_quantity":198,"sku":"sku1706088893216","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/656f5901b7a1fd5204c5328efe6e649d.jpeg","path":"656f5901b7a1fd5204c5328efe6e649d.jpeg","width":800,"height":600,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"500","compare_at_price":"298","price":"88","retail_price":"298","available":true,"url":"\/products\/cartier-ct0290-mens-sunglasses?variant=43d0f7be-60f7-4ef0-94fd-0705d94e1837","available_quantity":999999999,"options":[{"name":"Style","value":"1"}],"off_ratio":70,"flashsale_info":[],"sales":104};
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":"43d0f7be-60f7-4ef0-94fd-0705d94e1837","product_id":"ca6bfac7-b4e3-4a3c-9ce7-553ace2b7085","title":"1","weight_unit":"g","inventory_quantity":198,"sku":"sku1706088893216","barcode":"","position":1,"option1":"1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/656f5901b7a1fd5204c5328efe6e649d.jpeg","path":"656f5901b7a1fd5204c5328efe6e649d.jpeg","width":800,"height":600,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"500","compare_at_price":"298","price":"88","retail_price":"298","available":true,"url":"\/products\/cartier-ct0290-mens-sunglasses?variant=43d0f7be-60f7-4ef0-94fd-0705d94e1837","available_quantity":999999999,"options":[{"name":"Style","value":"1"}],"off_ratio":70,"flashsale_info":[],"sales":104};
return `
`
}()}