Silicone Pencil Case, Malibu Dune Color Pencil Pouch, Pencil Case Small, Pencil Pouch Aesthetic, Silicone Pencil Pouch, Pencil Case Aesthetic, Pencil Bag, Pencil Pouch for Women, Makeup Pouch
${function() {
const variantData = data.variant || {"id":"921ea22c-bea1-4e89-9829-ddd2613a8699","product_id":"cb7057a3-1525-4055-9284-b4940532b1b4","title":"Blue","weight_unit":"kg","inventory_quantity":999,"sku":"B0C2XQNWRY","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c67f9b0f375e6fe7f22aec06f804b65b.jpeg","path":"c67f9b0f375e6fe7f22aec06f804b65b.jpeg","width":1500,"height":880,"alt":"","aspect_ratio":1.7045454545454546},"wholesale_price":[{"price":11.95,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"11.95","retail_price":"9.99","available":true,"url":"\/products\/mr-pen-silicone-pencil-case-malibu-dune-color-pencil-pouch-pencil-case-small-pencil-pouch-aesthetic-silicone-pencil-pouch-pencil-case-aesthetic-pencil-bag-pencil-pouch-for-women-makeup-pouch-b0c2y5zzk3?variant=921ea22c-bea1-4e89-9829-ddd2613a8699","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Blue
${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
$11.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":"921ea22c-bea1-4e89-9829-ddd2613a8699","product_id":"cb7057a3-1525-4055-9284-b4940532b1b4","title":"Blue","weight_unit":"kg","inventory_quantity":999,"sku":"B0C2XQNWRY","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c67f9b0f375e6fe7f22aec06f804b65b.jpeg","path":"c67f9b0f375e6fe7f22aec06f804b65b.jpeg","width":1500,"height":880,"alt":"","aspect_ratio":1.7045454545454546},"wholesale_price":[{"price":11.95,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"11.95","retail_price":"9.99","available":true,"url":"\/products\/mr-pen-silicone-pencil-case-malibu-dune-color-pencil-pouch-pencil-case-small-pencil-pouch-aesthetic-silicone-pencil-pouch-pencil-case-aesthetic-pencil-bag-pencil-pouch-for-women-makeup-pouch-b0c2y5zzk3?variant=921ea22c-bea1-4e89-9829-ddd2613a8699","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":0,"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 ? `
` : ' ';
}
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"921ea22c-bea1-4e89-9829-ddd2613a8699","product_id":"cb7057a3-1525-4055-9284-b4940532b1b4","title":"Blue","weight_unit":"kg","inventory_quantity":999,"sku":"B0C2XQNWRY","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c67f9b0f375e6fe7f22aec06f804b65b.jpeg","path":"c67f9b0f375e6fe7f22aec06f804b65b.jpeg","width":1500,"height":880,"alt":"","aspect_ratio":1.7045454545454546},"wholesale_price":[{"price":11.95,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"11.95","retail_price":"9.99","available":true,"url":"\/products\/mr-pen-silicone-pencil-case-malibu-dune-color-pencil-pouch-pencil-case-small-pencil-pouch-aesthetic-silicone-pencil-pouch-pencil-case-aesthetic-pencil-bag-pencil-pouch-for-women-makeup-pouch-b0c2y5zzk3?variant=921ea22c-bea1-4e89-9829-ddd2613a8699","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}