Sucker shower ball with soft and non scattering flowers for women only
${function() {
const variantData = data.variant || {"id":"43bbb62b-a753-4817-ad1c-cb9207ed0fb3","product_id":"7de40ebc-31b0-42cb-b7da-36a78f0ca7df","title":"Phoenix fairy pink-2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Sucker-shower-ball-2pcs-Phoenix-fairy-pink","barcode":"","position":1,"option1":"Phoenix fairy pink","option2":"2pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d07db349a5cec31657b89706501ac704.jpg","path":"d07db349a5cec31657b89706501ac704.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"67.99","price":"29.99","retail_price":"67.99","available":true,"url":"\/products\/bath-towel-japanese-scrub-bath-massage-bath-ball-with-sucker-brush-bath-towel-bath-wipe-back-rub-mud-bath-brush-sponge?variant=43bbb62b-a753-4817-ad1c-cb9207ed0fb3","available_quantity":999999999,"options":[{"name":"Color","value":"Phoenix fairy pink"},{"name":"Qty","value":"2pcs"}],"off_ratio":56,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Phoenix fairy 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}
`
}()}
Qty:
2pcs
${function(){
const optName = "Qty";
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
$29.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":"43bbb62b-a753-4817-ad1c-cb9207ed0fb3","product_id":"7de40ebc-31b0-42cb-b7da-36a78f0ca7df","title":"Phoenix fairy pink-2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Sucker-shower-ball-2pcs-Phoenix-fairy-pink","barcode":"","position":1,"option1":"Phoenix fairy pink","option2":"2pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d07db349a5cec31657b89706501ac704.jpg","path":"d07db349a5cec31657b89706501ac704.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"67.99","price":"29.99","retail_price":"67.99","available":true,"url":"\/products\/bath-towel-japanese-scrub-bath-massage-bath-ball-with-sucker-brush-bath-towel-bath-wipe-back-rub-mud-bath-brush-sponge?variant=43bbb62b-a753-4817-ad1c-cb9207ed0fb3","available_quantity":999999999,"options":[{"name":"Color","value":"Phoenix fairy pink"},{"name":"Qty","value":"2pcs"}],"off_ratio":56,"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.