Star Sunglasses Cyberpunk Futuristic Party Glasses
${function() {
const variantData = data.variant || {"id":"9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","product_id":"6c2321e5-352a-442d-91f2-6fa60d8a5062","title":"C3","weight_unit":"kg","inventory_quantity":4863,"sku":"EO23113021-C3","barcode":"","position":3,"option1":"C3","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96986435668be72bc1a018fc06b91c8e.jpeg","path":"96986435668be72bc1a018fc06b91c8e.jpeg","width":1000,"height":1000,"alt":"Star Sunglasses Cyberpunk Futuristic Party Glasses","aspect_ratio":1},"wholesale_price":[{"price":4.5,"min_quantity":1}],"weight":"0.05","compare_at_price":"4.5","price":"4.5","retail_price":"4.5","available":true,"url":"\/products\/star-sunglasses-cyberpunk-futuristic-party-glasses?variant=9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","available_quantity":999999999,"options":[{"name":"Color","value":"C3"}],"off_ratio":0,"flashsale_info":[],"sales":9};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
C3
${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
$4.50
${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":"9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","product_id":"6c2321e5-352a-442d-91f2-6fa60d8a5062","title":"C3","weight_unit":"kg","inventory_quantity":4863,"sku":"EO23113021-C3","barcode":"","position":3,"option1":"C3","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96986435668be72bc1a018fc06b91c8e.jpeg","path":"96986435668be72bc1a018fc06b91c8e.jpeg","width":1000,"height":1000,"alt":"Star Sunglasses Cyberpunk Futuristic Party Glasses","aspect_ratio":1},"wholesale_price":[{"price":4.5,"min_quantity":1}],"weight":"0.05","compare_at_price":"4.5","price":"4.5","retail_price":"4.5","available":true,"url":"\/products\/star-sunglasses-cyberpunk-futuristic-party-glasses?variant=9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","available_quantity":999999999,"options":[{"name":"Color","value":"C3"}],"off_ratio":0,"flashsale_info":[],"sales":9};
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":"9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","product_id":"6c2321e5-352a-442d-91f2-6fa60d8a5062","title":"C3","weight_unit":"kg","inventory_quantity":4863,"sku":"EO23113021-C3","barcode":"","position":3,"option1":"C3","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96986435668be72bc1a018fc06b91c8e.jpeg","path":"96986435668be72bc1a018fc06b91c8e.jpeg","width":1000,"height":1000,"alt":"Star Sunglasses Cyberpunk Futuristic Party Glasses","aspect_ratio":1},"wholesale_price":[{"price":4.5,"min_quantity":1}],"weight":"0.05","compare_at_price":"4.5","price":"4.5","retail_price":"4.5","available":true,"url":"\/products\/star-sunglasses-cyberpunk-futuristic-party-glasses?variant=9cb28b2c-fa5f-42eb-ab84-b8ed96d316c4","available_quantity":999999999,"options":[{"name":"Color","value":"C3"}],"off_ratio":0,"flashsale_info":[],"sales":9};
return `
Sku : ${variantData && variantData.sku}
`
}()}
people are viewing this right now