PLUS LOFTS Manufacturers Wholesale Price Outdoor Skin Clothing Sun Protection Clothing Male Anti-uv Couple Models Skin Windbreaker Women Quick-drying Clothes
${function() {
const variantData = data.variant || {"id":"d5c2846e-21ee-4106-8ebe-2c5913a4195a","product_id":"3e86d6df-7fdf-44b8-a6b2-39406b1ac29a","title":"Pink-XL","weight_unit":"g","inventory_quantity":821,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6d18d2e5dc5ec2469717f79ef4b5573.png","path":"d6d18d2e5dc5ec2469717f79ef4b5573.png","width":856,"height":789,"alt":"","aspect_ratio":1.084917617237009},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"165","compare_at_price":"37.8","price":"18.9","retail_price":"37.8","available":true,"url":"\/products\/plus-lofts-manufacturers-wholesale-price-outdoor-skin-clothing-sun-protection-clothing-male-anti-uv-couple-models-skin-windbreaker-women-quick-drying-clothes?variant=d5c2846e-21ee-4106-8ebe-2c5913a4195a","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XL"}],"off_ratio":50,"flashsale_info":[],"sales":435};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Pink
${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
$18.90
${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":"d5c2846e-21ee-4106-8ebe-2c5913a4195a","product_id":"3e86d6df-7fdf-44b8-a6b2-39406b1ac29a","title":"Pink-XL","weight_unit":"g","inventory_quantity":821,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d6d18d2e5dc5ec2469717f79ef4b5573.png","path":"d6d18d2e5dc5ec2469717f79ef4b5573.png","width":856,"height":789,"alt":"","aspect_ratio":1.084917617237009},"wholesale_price":[{"price":18.9,"min_quantity":1}],"weight":"165","compare_at_price":"37.8","price":"18.9","retail_price":"37.8","available":true,"url":"\/products\/plus-lofts-manufacturers-wholesale-price-outdoor-skin-clothing-sun-protection-clothing-male-anti-uv-couple-models-skin-windbreaker-women-quick-drying-clothes?variant=d5c2846e-21ee-4106-8ebe-2c5913a4195a","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XL"}],"off_ratio":50,"flashsale_info":[],"sales":435};
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.