101 Twin Cannon Shorts. 14". Black/Silver J.
${function() {
const variantData = data.variant || {"id":"dab73ebf-9fba-491b-aada-f22ff884db73","product_id":"6b99a3c9-acf1-46e6-9e86-d4334ed4d37a","title":"26-14","weight_unit":"kg","inventory_quantity":1000,"sku":"J2101D5-26","barcode":"","position":1,"option1":"26","option2":"14","option3":"","note":"","image":null,"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/101-twin-cannon-shorts-14-black-silver-j?variant=dab73ebf-9fba-491b-aada-f22ff884db73","available_quantity":999999999,"options":[{"name":"Waist","value":"26"},{"name":"Inseam","value":"14"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Waist:
26
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Inseam:
14
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$6.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":"dab73ebf-9fba-491b-aada-f22ff884db73","product_id":"6b99a3c9-acf1-46e6-9e86-d4334ed4d37a","title":"26-14","weight_unit":"kg","inventory_quantity":1000,"sku":"J2101D5-26","barcode":"","position":1,"option1":"26","option2":"14","option3":"","note":"","image":null,"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"6.99","retail_price":"0","available":true,"url":"\/products\/101-twin-cannon-shorts-14-black-silver-j?variant=dab73ebf-9fba-491b-aada-f22ff884db73","available_quantity":999999999,"options":[{"name":"Waist","value":"26"},{"name":"Inseam","value":"14"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.