MUX VIE The First Layer Of Cowhide Leather Carving Craft Leisure Zipper Bag
${function() {
const variantData = data.variant || {"id":"6812f7a0-9561-4026-8e4c-ef4639799509","product_id":"0534caaa-b897-4154-8eb1-c4afcdc00559","title":"Retro yellow","weight_unit":"g","inventory_quantity":820,"sku":"","barcode":"","position":1,"option1":"Retro yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf746b20f53e431a3a459c5181bf930e.jpeg","path":"cf746b20f53e431a3a459c5181bf930e.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.2,"min_quantity":1}],"weight":"200","compare_at_price":"40.3","price":"28.2","retail_price":"40.3","available":true,"url":"\/products\/mux-vie-the-first-layer-of-cowhide-leather-carving-craft-leisure-zipper-bag-gydx?variant=6812f7a0-9561-4026-8e4c-ef4639799509","available_quantity":999999999,"options":[{"name":"Color","value":"Retro yellow"}],"off_ratio":30,"flashsale_info":[],"sales":524};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Retro yellow
${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
$28.20
${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":"6812f7a0-9561-4026-8e4c-ef4639799509","product_id":"0534caaa-b897-4154-8eb1-c4afcdc00559","title":"Retro yellow","weight_unit":"g","inventory_quantity":820,"sku":"","barcode":"","position":1,"option1":"Retro yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf746b20f53e431a3a459c5181bf930e.jpeg","path":"cf746b20f53e431a3a459c5181bf930e.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.2,"min_quantity":1}],"weight":"200","compare_at_price":"40.3","price":"28.2","retail_price":"40.3","available":true,"url":"\/products\/mux-vie-the-first-layer-of-cowhide-leather-carving-craft-leisure-zipper-bag-gydx?variant=6812f7a0-9561-4026-8e4c-ef4639799509","available_quantity":999999999,"options":[{"name":"Color","value":"Retro yellow"}],"off_ratio":30,"flashsale_info":[],"sales":524};
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.