GAR BETHE Black Small Print Hit White Ice Silk Cargo Shorts
${function() {
const variantData = data.variant || {"id":"255c3b71-2d4d-40d3-8fd4-d076a91172c2","product_id":"967560cf-2ccc-4065-b677-d8b6319e8fd7","title":"Black small print-XL","weight_unit":"g","inventory_quantity":933,"sku":"","barcode":"","position":1,"option1":"Black small print","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96988b75f2a1b6b6888e671f315eaa1c.jpeg","path":"96988b75f2a1b6b6888e671f315eaa1c.jpeg","width":790,"height":790,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"520","compare_at_price":"39.4","price":"25.6","retail_price":"39.4","available":true,"url":"\/products\/gar-bethe-black-small-print-hit-white-ice-silk-cargo-shorts?variant=255c3b71-2d4d-40d3-8fd4-d076a91172c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black small print"},{"name":"Size","value":"XL"}],"off_ratio":35,"flashsale_info":[],"sales":688};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black small print
${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:
XL
${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
$25.60
${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":"255c3b71-2d4d-40d3-8fd4-d076a91172c2","product_id":"967560cf-2ccc-4065-b677-d8b6319e8fd7","title":"Black small print-XL","weight_unit":"g","inventory_quantity":933,"sku":"","barcode":"","position":1,"option1":"Black small print","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96988b75f2a1b6b6888e671f315eaa1c.jpeg","path":"96988b75f2a1b6b6888e671f315eaa1c.jpeg","width":790,"height":790,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.6,"min_quantity":1}],"weight":"520","compare_at_price":"39.4","price":"25.6","retail_price":"39.4","available":true,"url":"\/products\/gar-bethe-black-small-print-hit-white-ice-silk-cargo-shorts?variant=255c3b71-2d4d-40d3-8fd4-d076a91172c2","available_quantity":999999999,"options":[{"name":"Color","value":"Black small print"},{"name":"Size","value":"XL"}],"off_ratio":35,"flashsale_info":[],"sales":688};
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.