magvike crochet Set
${function() {
const variantData = data.variant || {"id":"18c1cf6b-c5ad-4e4e-abca-658649f5dc40","product_id":"5c2ffb1b-c510-4bbc-980b-be706363355d","title":"beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"Soera-Gigi-Set-beige\/S","barcode":"04255789809443","position":1,"option1":"beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3571dd3dc19e602ec9a207603b5f77b.jpeg","path":"a3571dd3dc19e602ec9a207603b5f77b.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":64.95,"min_quantity":1}],"weight":"0","compare_at_price":"108.69","price":"64.95","retail_price":"108.69","available":true,"url":"\/products\/magvike-crochet?variant=18c1cf6b-c5ad-4e4e-abca-658649f5dc40","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
beige
${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
$64.95
${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":"18c1cf6b-c5ad-4e4e-abca-658649f5dc40","product_id":"5c2ffb1b-c510-4bbc-980b-be706363355d","title":"beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"Soera-Gigi-Set-beige\/S","barcode":"04255789809443","position":1,"option1":"beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3571dd3dc19e602ec9a207603b5f77b.jpeg","path":"a3571dd3dc19e602ec9a207603b5f77b.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":64.95,"min_quantity":1}],"weight":"0","compare_at_price":"108.69","price":"64.95","retail_price":"108.69","available":true,"url":"\/products\/magvike-crochet?variant=18c1cf6b-c5ad-4e4e-abca-658649f5dc40","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Size","value":"S"}],"off_ratio":40,"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.
Sku : Soera-Gigi-Set-beige/S
Barcode : 04255789809443
${function(){
const variantData = data.variant || {"id":"18c1cf6b-c5ad-4e4e-abca-658649f5dc40","product_id":"5c2ffb1b-c510-4bbc-980b-be706363355d","title":"beige-S","weight_unit":"kg","inventory_quantity":999,"sku":"Soera-Gigi-Set-beige\/S","barcode":"04255789809443","position":1,"option1":"beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3571dd3dc19e602ec9a207603b5f77b.jpeg","path":"a3571dd3dc19e602ec9a207603b5f77b.jpeg","width":800,"height":1067,"alt":"","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":64.95,"min_quantity":1}],"weight":"0","compare_at_price":"108.69","price":"64.95","retail_price":"108.69","available":true,"url":"\/products\/magvike-crochet?variant=18c1cf6b-c5ad-4e4e-abca-658649f5dc40","available_quantity":999999999,"options":[{"name":"Color","value":"beige"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}