MeWaii® Famille Champignon Vache au citron Kawaii Oreiller en peluche Jouet à écraser
${function() {
const variantData = data.variant || {"id":"1e58897c-d78d-4624-a84a-b2b63a3e17c7","product_id":"e977fd28-f409-44de-b0f0-db8b522b1cce","title":"[New]\u2605Vache au citron-36 cm","weight_unit":"kg","inventory_quantity":6,"sku":"MEPI000MUS0490Y2","barcode":"","position":2,"option1":"[New]\u2605Vache au citron","option2":"36 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82253b1edb9e174c9e6aa8db39d0a5d8.jpg","path":"82253b1edb9e174c9e6aa8db39d0a5d8.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34","price":"24.99","retail_price":"34","available":true,"url":"\/products\/mewaii-mushroom-family-vache-au-citron-kawaii-plush-pillow-squish-toy-cy8g?variant=1e58897c-d78d-4624-a84a-b2b63a3e17c7","available_quantity":6,"options":[{"name":"Style","value":"[New]\u2605Vache au citron"},{"name":"Size","value":"36 cm"}],"off_ratio":27,"flashsale_info":[],"sales":10};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
les gens regardent ça en ce moment
Style:
[New]★Vache au citron
${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:
36 cm
${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
€24.99
${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":"1e58897c-d78d-4624-a84a-b2b63a3e17c7","product_id":"e977fd28-f409-44de-b0f0-db8b522b1cce","title":"[New]\u2605Vache au citron-36 cm","weight_unit":"kg","inventory_quantity":6,"sku":"MEPI000MUS0490Y2","barcode":"","position":2,"option1":"[New]\u2605Vache au citron","option2":"36 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82253b1edb9e174c9e6aa8db39d0a5d8.jpg","path":"82253b1edb9e174c9e6aa8db39d0a5d8.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34","price":"24.99","retail_price":"34","available":true,"url":"\/products\/mewaii-mushroom-family-vache-au-citron-kawaii-plush-pillow-squish-toy-cy8g?variant=1e58897c-d78d-4624-a84a-b2b63a3e17c7","available_quantity":6,"options":[{"name":"Style","value":"[New]\u2605Vache au citron"},{"name":"Size","value":"36 cm"}],"off_ratio":27,"flashsale_info":[],"sales":10};
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":"1e58897c-d78d-4624-a84a-b2b63a3e17c7","product_id":"e977fd28-f409-44de-b0f0-db8b522b1cce","title":"[New]\u2605Vache au citron-36 cm","weight_unit":"kg","inventory_quantity":6,"sku":"MEPI000MUS0490Y2","barcode":"","position":2,"option1":"[New]\u2605Vache au citron","option2":"36 cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/82253b1edb9e174c9e6aa8db39d0a5d8.jpg","path":"82253b1edb9e174c9e6aa8db39d0a5d8.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"34","price":"24.99","retail_price":"34","available":true,"url":"\/products\/mewaii-mushroom-family-vache-au-citron-kawaii-plush-pillow-squish-toy-cy8g?variant=1e58897c-d78d-4624-a84a-b2b63a3e17c7","available_quantity":6,"options":[{"name":"Style","value":"[New]\u2605Vache au citron"},{"name":"Size","value":"36 cm"}],"off_ratio":27,"flashsale_info":[],"sales":10};
return `
Inventaire : ${variantData && variantData.available_quantity}
`
}()}