Trizchlor - Multi Button Pocket Pants
${function() {
const variantData = data.variant || {"id":"a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","product_id":"60907400-d44e-4bfe-ba07-b27bd64e165e","title":"Apricot-XXS","weight_unit":"g","inventory_quantity":999,"sku":"8096597770474-sand-color-s","barcode":"","position":1,"option1":"Apricot","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ecec748aad6ce94b8fa8888c2620c0d.jpeg","path":"6ecec748aad6ce94b8fa8888c2620c0d.jpeg","width":1500,"height":2100,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58.99","retail_price":"0","available":true,"url":"\/products\/multi-button-pocket-pants?variant=a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Apricot
${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:
XXS
${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
$58.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":"a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","product_id":"60907400-d44e-4bfe-ba07-b27bd64e165e","title":"Apricot-XXS","weight_unit":"g","inventory_quantity":999,"sku":"8096597770474-sand-color-s","barcode":"","position":1,"option1":"Apricot","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ecec748aad6ce94b8fa8888c2620c0d.jpeg","path":"6ecec748aad6ce94b8fa8888c2620c0d.jpeg","width":1500,"height":2100,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58.99","retail_price":"0","available":true,"url":"\/products\/multi-button-pocket-pants?variant=a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","product_id":"60907400-d44e-4bfe-ba07-b27bd64e165e","title":"Apricot-XXS","weight_unit":"g","inventory_quantity":999,"sku":"8096597770474-sand-color-s","barcode":"","position":1,"option1":"Apricot","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6ecec748aad6ce94b8fa8888c2620c0d.jpeg","path":"6ecec748aad6ce94b8fa8888c2620c0d.jpeg","width":1500,"height":2100,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58.99","retail_price":"0","available":true,"url":"\/products\/multi-button-pocket-pants?variant=a0a11e42-7d75-4838-8d08-eaf6b8c4e94c","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
🚚 Free Shipping On Orders Over $35( 7-12days )
👇DISCOUNT CODE👇
New Customer Get 8% OFF [Code: 8OFF]
Buy 3 Get 12% OFF [Code: 3PCS12]
Over $100 Save $20 [Code: 100S20]
Add the corresponding number of items to the shopping cart and input CODE at checkout.