MeWaii® Acrylic Pendant Cute Keychain Kawaii Animal Keychains Accessories for Handbag Charms Car Cartoon Key Chain
${function() {
const variantData = data.variant || {"id":"5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","product_id":"3e026330-108d-4f10-8643-6ada5510579e","title":"Whole Set-5.5*4.9cm","weight_unit":"kg","inventory_quantity":9,"sku":"MESE000MMM2017M199","barcode":"","position":1,"option1":"Whole Set","option2":"5.5*4.9cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40593c68c8f768a1329269c7e5b1c9ea.jpg","path":"40593c68c8f768a1329269c7e5b1c9ea.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/mewaii\u00ae-acrylic-pendant-cute-keychain-kawaii-animal-keychains-accessories-for-handbag-charms-car-cartoon-key-chain?variant=5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","available_quantity":999999999,"options":[{"name":"Style","value":"Whole Set"},{"name":"Size","value":"5.5*4.9cm"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
Whole Set
${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 = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
5.5*4.9cm
${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 = "Veuillez s\u00e9lectionner un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Ajouter au panier
€18.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":"5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","product_id":"3e026330-108d-4f10-8643-6ada5510579e","title":"Whole Set-5.5*4.9cm","weight_unit":"kg","inventory_quantity":9,"sku":"MESE000MMM2017M199","barcode":"","position":1,"option1":"Whole Set","option2":"5.5*4.9cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40593c68c8f768a1329269c7e5b1c9ea.jpg","path":"40593c68c8f768a1329269c7e5b1c9ea.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/mewaii\u00ae-acrylic-pendant-cute-keychain-kawaii-animal-keychains-accessories-for-handbag-charms-car-cartoon-key-chain?variant=5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","available_quantity":999999999,"options":[{"name":"Style","value":"Whole Set"},{"name":"Size","value":"5.5*4.9cm"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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 ? `
` : ' ';
}
}()}
Le produit était en rupture de stock.
Le produit n'est pas disponible.
${function(){
const variantData = data.variant || {"id":"5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","product_id":"3e026330-108d-4f10-8643-6ada5510579e","title":"Whole Set-5.5*4.9cm","weight_unit":"kg","inventory_quantity":9,"sku":"MESE000MMM2017M199","barcode":"","position":1,"option1":"Whole Set","option2":"5.5*4.9cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40593c68c8f768a1329269c7e5b1c9ea.jpg","path":"40593c68c8f768a1329269c7e5b1c9ea.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18","retail_price":"0","available":true,"url":"\/products\/mewaii\u00ae-acrylic-pendant-cute-keychain-kawaii-animal-keychains-accessories-for-handbag-charms-car-cartoon-key-chain?variant=5aaa3d13-5ccb-4e04-aeb3-42fe10ff80e9","available_quantity":999999999,"options":[{"name":"Style","value":"Whole Set"},{"name":"Size","value":"5.5*4.9cm"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}