BRANCH TEK Vintage Printed Men's High Street Short Sleeve
Apparel & Accessories > Clothing > Shirts & Tops
${function() {
const variantData = data.variant || {"id":"8bbeb4a0-20ed-47ff-a082-4c6bda533077","product_id":"b10102a8-b01e-4b59-8ca7-18ab90d10f28","title":"YO11137-XXS","weight_unit":"g","inventory_quantity":708,"sku":"","barcode":"","position":1,"option1":"YO11137","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","path":"d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.1,"min_quantity":1}],"weight":"220","compare_at_price":"26.3","price":"17.1","retail_price":"26.3","available":true,"url":"\/products\/branch-tek-vintage-printed-mens-high-street-short-sleeve?variant=8bbeb4a0-20ed-47ff-a082-4c6bda533077","available_quantity":999999999,"options":[{"name":"Color","value":"YO11137"},{"name":"high","value":"XXS"}],"off_ratio":35,"flashsale_info":[],"sales":392};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
YO11137
${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}
`
}()}
High:
XXS
${function(){
const optName = "high";
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
$17.10
${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":"8bbeb4a0-20ed-47ff-a082-4c6bda533077","product_id":"b10102a8-b01e-4b59-8ca7-18ab90d10f28","title":"YO11137-XXS","weight_unit":"g","inventory_quantity":708,"sku":"","barcode":"","position":1,"option1":"YO11137","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","path":"d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.1,"min_quantity":1}],"weight":"220","compare_at_price":"26.3","price":"17.1","retail_price":"26.3","available":true,"url":"\/products\/branch-tek-vintage-printed-mens-high-street-short-sleeve?variant=8bbeb4a0-20ed-47ff-a082-4c6bda533077","available_quantity":999999999,"options":[{"name":"Color","value":"YO11137"},{"name":"high","value":"XXS"}],"off_ratio":35,"flashsale_info":[],"sales":392};
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.
${function(){
const variantData = data.variant || {"id":"8bbeb4a0-20ed-47ff-a082-4c6bda533077","product_id":"b10102a8-b01e-4b59-8ca7-18ab90d10f28","title":"YO11137-XXS","weight_unit":"g","inventory_quantity":708,"sku":"","barcode":"","position":1,"option1":"YO11137","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","path":"d09a8c21fcc0a2d9bd6e66c749f785d4.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.1,"min_quantity":1}],"weight":"220","compare_at_price":"26.3","price":"17.1","retail_price":"26.3","available":true,"url":"\/products\/branch-tek-vintage-printed-mens-high-street-short-sleeve?variant=8bbeb4a0-20ed-47ff-a082-4c6bda533077","available_quantity":999999999,"options":[{"name":"Color","value":"YO11137"},{"name":"high","value":"XXS"}],"off_ratio":35,"flashsale_info":[],"sales":392};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}