Women's Faith Flag Daisy Pants
${function() {
const variantData = data.variant || {"id":"47994ad9-ae8a-430f-8279-9e870425625a","product_id":"e2b3bb75-1d5e-42c2-9b0e-a074180d679c","title":"As Picture-US6","weight_unit":"kg","inventory_quantity":196,"sku":"QF5384-As Picture-US6","barcode":"","position":1,"option1":"As Picture","option2":"US6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/482f6f386d5e71a3105b44a1d9e56bb9.jpeg","path":"482f6f386d5e71a3105b44a1d9e56bb9.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"50.99","price":"36.99","retail_price":"50.99","available":true,"url":"\/products\/womens-faith-flag-daisy-pants?variant=47994ad9-ae8a-430f-8279-9e870425625a","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture"},{"name":"Size","value":"US6"}],"off_ratio":27,"flashsale_info":[],"sales":2};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
As Picture
${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:
US6
${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
$36.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":"47994ad9-ae8a-430f-8279-9e870425625a","product_id":"e2b3bb75-1d5e-42c2-9b0e-a074180d679c","title":"As Picture-US6","weight_unit":"kg","inventory_quantity":196,"sku":"QF5384-As Picture-US6","barcode":"","position":1,"option1":"As Picture","option2":"US6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/482f6f386d5e71a3105b44a1d9e56bb9.jpeg","path":"482f6f386d5e71a3105b44a1d9e56bb9.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"50.99","price":"36.99","retail_price":"50.99","available":true,"url":"\/products\/womens-faith-flag-daisy-pants?variant=47994ad9-ae8a-430f-8279-9e870425625a","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture"},{"name":"Size","value":"US6"}],"off_ratio":27,"flashsale_info":[],"sales":2};
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":"47994ad9-ae8a-430f-8279-9e870425625a","product_id":"e2b3bb75-1d5e-42c2-9b0e-a074180d679c","title":"As Picture-US6","weight_unit":"kg","inventory_quantity":196,"sku":"QF5384-As Picture-US6","barcode":"","position":1,"option1":"As Picture","option2":"US6","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/482f6f386d5e71a3105b44a1d9e56bb9.jpeg","path":"482f6f386d5e71a3105b44a1d9e56bb9.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"50.99","price":"36.99","retail_price":"50.99","available":true,"url":"\/products\/womens-faith-flag-daisy-pants?variant=47994ad9-ae8a-430f-8279-9e870425625a","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture"},{"name":"Size","value":"US6"}],"off_ratio":27,"flashsale_info":[],"sales":2};
return `
`
}()}