GAR BETHE Slippery Wear-resistant Fashion Home Children's Literal Slippers
${function() {
const variantData = data.variant || {"id":"4897c59e-4aec-4ea3-b293-3b0edf65c045","product_id":"fb88d078-c764-4466-bbe0-fbfb211f337b","title":"Yellow-24or25","weight_unit":"g","inventory_quantity":972,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"24or25","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/888602f330075f83505e7ddf6f83cf93.jpeg","path":"888602f330075f83505e7ddf6f83cf93.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"270","compare_at_price":"27.8","price":"13.9","retail_price":"27.8","available":true,"url":"\/products\/gar-bethe-slippery-wear-resistant-fashion-home-childrens-literal-slippers?variant=4897c59e-4aec-4ea3-b293-3b0edf65c045","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Shoe size","value":"24or25"}],"off_ratio":50,"flashsale_info":[],"sales":876};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Yellow
${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}
`
}()}
Shoe Size:
24or25
${function(){
const optName = "Shoe 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
$13.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":"4897c59e-4aec-4ea3-b293-3b0edf65c045","product_id":"fb88d078-c764-4466-bbe0-fbfb211f337b","title":"Yellow-24or25","weight_unit":"g","inventory_quantity":972,"sku":"","barcode":"","position":1,"option1":"Yellow","option2":"24or25","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/888602f330075f83505e7ddf6f83cf93.jpeg","path":"888602f330075f83505e7ddf6f83cf93.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.9,"min_quantity":1}],"weight":"270","compare_at_price":"27.8","price":"13.9","retail_price":"27.8","available":true,"url":"\/products\/gar-bethe-slippery-wear-resistant-fashion-home-childrens-literal-slippers?variant=4897c59e-4aec-4ea3-b293-3b0edf65c045","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Shoe size","value":"24or25"}],"off_ratio":50,"flashsale_info":[],"sales":876};
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.