Wallets for Women with Multiple Card Slots and Roomy Compartment
${function() {
const variantData = data.variant || {"id":"15530110-a5f6-4f3a-b079-494b80dc3a20","product_id":"dd27d9f7-13c3-4055-a1d9-f65a0d4cfbd3","title":"A-Pink","weight_unit":"lb","inventory_quantity":100,"sku":"12320-A-Pink","barcode":"","position":1,"option1":"A-Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca9d144b44228ae0b76de6eb180af61c.jpeg","path":"ca9d144b44228ae0b76de6eb180af61c.jpeg","width":1500,"height":867,"alt":"","aspect_ratio":1.7301038062283738},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/wallets-for-women-with-multiple-card-slots-and-roomy-compartment?variant=15530110-a5f6-4f3a-b079-494b80dc3a20","available_quantity":100,"options":[{"name":"Color","value":"A-Pink"}],"off_ratio":7,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
A-Pink
${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
$55.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":"15530110-a5f6-4f3a-b079-494b80dc3a20","product_id":"dd27d9f7-13c3-4055-a1d9-f65a0d4cfbd3","title":"A-Pink","weight_unit":"lb","inventory_quantity":100,"sku":"12320-A-Pink","barcode":"","position":1,"option1":"A-Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca9d144b44228ae0b76de6eb180af61c.jpeg","path":"ca9d144b44228ae0b76de6eb180af61c.jpeg","width":1500,"height":867,"alt":"","aspect_ratio":1.7301038062283738},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/wallets-for-women-with-multiple-card-slots-and-roomy-compartment?variant=15530110-a5f6-4f3a-b079-494b80dc3a20","available_quantity":100,"options":[{"name":"Color","value":"A-Pink"}],"off_ratio":7,"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.