PLUS LOFTS Backpack Men's Fashion Trend Korean Version Of The Simple Backpack Lightweight Leisure Travel Diamond High School College Student Schoolbag Male
${function() {
const variantData = data.variant || {"id":"8143b2d7-21bc-4175-b95b-0beea97b4a49","product_id":"aa779a9b-48c2-4d18-b7c7-ccce1e835ff3","title":"Wine Red","weight_unit":"g","inventory_quantity":652,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/597bfa1d62c70f43f101bec7b783a963.jpeg","path":"597bfa1d62c70f43f101bec7b783a963.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.5,"min_quantity":1}],"weight":"520","compare_at_price":"39","price":"19.5","retail_price":"39","available":true,"url":"\/products\/plus-lofts-backpack-mens-fashion-trend-korean-version-of-the-simple-backpack-lightweight-leisure-travel-diamond-high-school-college-student-schoolbag-male-ai3y?variant=8143b2d7-21bc-4175-b95b-0beea97b4a49","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"}],"off_ratio":50,"flashsale_info":[],"sales":505};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Wine Red
${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
$19.50
${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":"8143b2d7-21bc-4175-b95b-0beea97b4a49","product_id":"aa779a9b-48c2-4d18-b7c7-ccce1e835ff3","title":"Wine Red","weight_unit":"g","inventory_quantity":652,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/597bfa1d62c70f43f101bec7b783a963.jpeg","path":"597bfa1d62c70f43f101bec7b783a963.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.5,"min_quantity":1}],"weight":"520","compare_at_price":"39","price":"19.5","retail_price":"39","available":true,"url":"\/products\/plus-lofts-backpack-mens-fashion-trend-korean-version-of-the-simple-backpack-lightweight-leisure-travel-diamond-high-school-college-student-schoolbag-male-ai3y?variant=8143b2d7-21bc-4175-b95b-0beea97b4a49","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"}],"off_ratio":50,"flashsale_info":[],"sales":505};
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.