BRANCH TEK Tactical Pants With Knee Pads
Apparel & Accessories > Clothing > Pants
${function() {
const variantData = data.variant || {"id":"a2161150-53ec-4df0-b07d-16ffb974cda9","product_id":"acc46b2a-64f9-45c5-82d6-ac95b91f5cd3","title":"Black-34","weight_unit":"g","inventory_quantity":751,"sku":"","barcode":"","position":1,"option1":"Black","option2":"34","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a2b20d7ebe8180f21b2a55a61381a45.jpeg","path":"7a2b20d7ebe8180f21b2a55a61381a45.jpeg","width":659,"height":701,"alt":"","aspect_ratio":0.9400855920114123},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"810","compare_at_price":"69.1","price":"38","retail_price":"69.1","available":true,"url":"\/products\/branch-tek-tactical-pants-with-knee-pads?variant=a2161150-53ec-4df0-b07d-16ffb974cda9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"34"}],"off_ratio":45,"flashsale_info":[],"sales":130};
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}
`
}()}
Size:
34
${function(){
const optName = "Size";
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
$38.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":"a2161150-53ec-4df0-b07d-16ffb974cda9","product_id":"acc46b2a-64f9-45c5-82d6-ac95b91f5cd3","title":"Black-34","weight_unit":"g","inventory_quantity":751,"sku":"","barcode":"","position":1,"option1":"Black","option2":"34","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a2b20d7ebe8180f21b2a55a61381a45.jpeg","path":"7a2b20d7ebe8180f21b2a55a61381a45.jpeg","width":659,"height":701,"alt":"","aspect_ratio":0.9400855920114123},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"810","compare_at_price":"69.1","price":"38","retail_price":"69.1","available":true,"url":"\/products\/branch-tek-tactical-pants-with-knee-pads?variant=a2161150-53ec-4df0-b07d-16ffb974cda9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"34"}],"off_ratio":45,"flashsale_info":[],"sales":130};
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":"a2161150-53ec-4df0-b07d-16ffb974cda9","product_id":"acc46b2a-64f9-45c5-82d6-ac95b91f5cd3","title":"Black-34","weight_unit":"g","inventory_quantity":751,"sku":"","barcode":"","position":1,"option1":"Black","option2":"34","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a2b20d7ebe8180f21b2a55a61381a45.jpeg","path":"7a2b20d7ebe8180f21b2a55a61381a45.jpeg","width":659,"height":701,"alt":"","aspect_ratio":0.9400855920114123},"wholesale_price":[{"price":38,"min_quantity":1}],"weight":"810","compare_at_price":"69.1","price":"38","retail_price":"69.1","available":true,"url":"\/products\/branch-tek-tactical-pants-with-knee-pads?variant=a2161150-53ec-4df0-b07d-16ffb974cda9","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"34"}],"off_ratio":45,"flashsale_info":[],"sales":130};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}