LIFTTINT 1.X JERSEY
${function() {
const variantData = data.variant || {"id":"02f0ddad-f2bd-47be-8168-63b749ecba31","product_id":"d85fe318-d4fc-48e9-b4e1-dcb55df92ce6","title":"Green-S-ASIA","weight_unit":"kg","inventory_quantity":0,"sku":"DVJ180-Green-S","barcode":"","position":1,"option1":"Green","option2":"S-ASIA","option3":"","note":"","image":null,"wholesale_price":[{"price":43,"min_quantity":1}],"weight":"0.15","compare_at_price":"51","price":"43","retail_price":"51","available":true,"url":"\/products\/lifttint-1-x-cycling-jersey?variant=02f0ddad-f2bd-47be-8168-63b749ecba31","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S-ASIA"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color
Color
Green
White
Purple
Brown
Black
Dark Blue
Milk Tea
Orange
Wine Red
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size
Size
S-ASIA
M-ASIA
L-ASIA
XL-ASIA
XXL-ASIA
3XL-ASIA
4XL-ASIA
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$43.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":"02f0ddad-f2bd-47be-8168-63b749ecba31","product_id":"d85fe318-d4fc-48e9-b4e1-dcb55df92ce6","title":"Green-S-ASIA","weight_unit":"kg","inventory_quantity":0,"sku":"DVJ180-Green-S","barcode":"","position":1,"option1":"Green","option2":"S-ASIA","option3":"","note":"","image":null,"wholesale_price":[{"price":43,"min_quantity":1}],"weight":"0.15","compare_at_price":"51","price":"43","retail_price":"51","available":true,"url":"\/products\/lifttint-1-x-cycling-jersey?variant=02f0ddad-f2bd-47be-8168-63b749ecba31","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S-ASIA"}],"off_ratio":16,"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.
Sku : DVJ180-Green-S
Weight : 0.15kg
${function(){
const variantData = data.variant || {"id":"02f0ddad-f2bd-47be-8168-63b749ecba31","product_id":"d85fe318-d4fc-48e9-b4e1-dcb55df92ce6","title":"Green-S-ASIA","weight_unit":"kg","inventory_quantity":0,"sku":"DVJ180-Green-S","barcode":"","position":1,"option1":"Green","option2":"S-ASIA","option3":"","note":"","image":null,"wholesale_price":[{"price":43,"min_quantity":1}],"weight":"0.15","compare_at_price":"51","price":"43","retail_price":"51","available":true,"url":"\/products\/lifttint-1-x-cycling-jersey?variant=02f0ddad-f2bd-47be-8168-63b749ecba31","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S-ASIA"}],"off_ratio":16,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}