Alpha Leather Mens Wallet
${function(){
const variantData = data.variant || {"id":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"8f2de6ab-a8f3-413c-9934-aea8a02c64dd","title":"black","weight_unit":"kg","inventory_quantity":-8,"sku":"QB0001","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83ab22eb7800301e21b69c4d94b5d090.jpg","path":"83ab22eb7800301e21b69c4d94b5d090.jpg","width":1200,"height":1200,"alt":"Alpha Leather Mens Wallet","aspect_ratio":1},"wholesale_price":[{"price":56,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56","retail_price":"80","available":true,"url":"\/products\/trifold-wallet-black?variant=1c2daf42-3a9e-44d8-9758-2df20a2d5b77","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":"30","flashsale_info":{"variant_id":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"","quantity":0,"discount_id":"bbfb470d-5b84-47f0-9bae-5d436f69a0ff","limit_time":291132,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"83","discount_stock":20,"ends_at":1711958399,"starts_at":1709278202,"allow_oversold":"uncheck","allocation_method":"none","price":"56","compare_at_price":"80","discount_price":"56","customary_saved_price":"24","customary_off_ratio":"30","discount_saved_price":"24","discount_off_ratio":"30","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":95};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"8f2de6ab-a8f3-413c-9934-aea8a02c64dd","title":"black","weight_unit":"kg","inventory_quantity":-8,"sku":"QB0001","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83ab22eb7800301e21b69c4d94b5d090.jpg","path":"83ab22eb7800301e21b69c4d94b5d090.jpg","width":1200,"height":1200,"alt":"Alpha Leather Mens Wallet","aspect_ratio":1},"wholesale_price":[{"price":56,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56","retail_price":"80","available":true,"url":"\/products\/trifold-wallet-black?variant=1c2daf42-3a9e-44d8-9758-2df20a2d5b77","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":"30","flashsale_info":{"variant_id":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"","quantity":0,"discount_id":"bbfb470d-5b84-47f0-9bae-5d436f69a0ff","limit_time":291132,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"83","discount_stock":20,"ends_at":1711958399,"starts_at":1709278202,"allow_oversold":"uncheck","allocation_method":"none","price":"56","compare_at_price":"80","discount_price":"56","customary_saved_price":"24","customary_off_ratio":"30","discount_saved_price":"24","discount_off_ratio":"30","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":95};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
black
${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
$56.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":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"8f2de6ab-a8f3-413c-9934-aea8a02c64dd","title":"black","weight_unit":"kg","inventory_quantity":-8,"sku":"QB0001","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/83ab22eb7800301e21b69c4d94b5d090.jpg","path":"83ab22eb7800301e21b69c4d94b5d090.jpg","width":1200,"height":1200,"alt":"Alpha Leather Mens Wallet","aspect_ratio":1},"wholesale_price":[{"price":56,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"56","retail_price":"80","available":true,"url":"\/products\/trifold-wallet-black?variant=1c2daf42-3a9e-44d8-9758-2df20a2d5b77","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":"30","flashsale_info":{"variant_id":"1c2daf42-3a9e-44d8-9758-2df20a2d5b77","product_id":"","quantity":0,"discount_id":"bbfb470d-5b84-47f0-9bae-5d436f69a0ff","limit_time":291132,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"83","discount_stock":20,"ends_at":1711958399,"starts_at":1709278202,"allow_oversold":"uncheck","allocation_method":"none","price":"56","compare_at_price":"80","discount_price":"56","customary_saved_price":"24","customary_off_ratio":"30","discount_saved_price":"24","discount_off_ratio":"30","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":95};
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.