GAR BETHE Ani Kang |men's 100% Cotton Flannel Plaid Pajama Top And Pant Set
${function() {
const variantData = data.variant || {"id":"84642e85-54c5-4d91-8f0e-57f67c7a8e83","product_id":"0ee1aef5-5b0e-462a-9465-8b096d350276","title":"Grey Buffalo-Small","weight_unit":"kg","inventory_quantity":898,"sku":"","barcode":"","position":1,"option1":"Grey Buffalo","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3f7a3a6f7f5005946ad04bc22a04ee8.jpeg","path":"e3f7a3a6f7f5005946ad04bc22a04ee8.jpeg","width":271,"height":800,"alt":"","aspect_ratio":0.33875},"wholesale_price":[{"price":30.6,"min_quantity":1}],"weight":"0","compare_at_price":"55.6","price":"30.6","retail_price":"55.6","available":true,"url":"\/products\/gar-bethe-ani-kang-mens-100-cotton-flannel-plaid-pajama-top-and-pant-set?variant=84642e85-54c5-4d91-8f0e-57f67c7a8e83","available_quantity":999999999,"options":[{"name":"Color","value":"Grey Buffalo"},{"name":"Size","value":"Small"}],"off_ratio":45,"flashsale_info":[],"sales":503};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Grey Buffalo
${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:
Small
${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
$30.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":"84642e85-54c5-4d91-8f0e-57f67c7a8e83","product_id":"0ee1aef5-5b0e-462a-9465-8b096d350276","title":"Grey Buffalo-Small","weight_unit":"kg","inventory_quantity":898,"sku":"","barcode":"","position":1,"option1":"Grey Buffalo","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3f7a3a6f7f5005946ad04bc22a04ee8.jpeg","path":"e3f7a3a6f7f5005946ad04bc22a04ee8.jpeg","width":271,"height":800,"alt":"","aspect_ratio":0.33875},"wholesale_price":[{"price":30.6,"min_quantity":1}],"weight":"0","compare_at_price":"55.6","price":"30.6","retail_price":"55.6","available":true,"url":"\/products\/gar-bethe-ani-kang-mens-100-cotton-flannel-plaid-pajama-top-and-pant-set?variant=84642e85-54c5-4d91-8f0e-57f67c7a8e83","available_quantity":999999999,"options":[{"name":"Color","value":"Grey Buffalo"},{"name":"Size","value":"Small"}],"off_ratio":45,"flashsale_info":[],"sales":503};
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.