Home wall decoration hook creative wall hanging American coat hook foyer entrance bathroom single coat hook no punch
Sku : CJJJJTFZ00126-Bulldog
${function(){
const variantData = data.variant || {"id":"3c71bde3-7b74-48f6-90c3-6f3f96880738","product_id":"98859d9f-2f74-4236-ba1f-e9713be215d0","title":"Bulldog","weight_unit":"g","inventory_quantity":342,"sku":"CJJJJTFZ00126-Bulldog","barcode":"","position":1,"option1":"Bulldog","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93c6e0529538aa3bda43e239bbfb91a6.png","path":"93c6e0529538aa3bda43e239bbfb91a6.png","width":422,"height":373,"alt":"","aspect_ratio":1.1313672922252012},"wholesale_price":[{"price":50.11,"min_quantity":1}],"weight":"398","compare_at_price":"0","price":"50.11","retail_price":"0","available":true,"url":"\/products\/home-wall-decoration-hook-creative-wall-hanging-american-coat-hook-foyer-entrance-bathroom-single-coat-hook-no-punch?variant=3c71bde3-7b74-48f6-90c3-6f3f96880738","available_quantity":999999999,"options":[{"name":"style","value":"Bulldog"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"3c71bde3-7b74-48f6-90c3-6f3f96880738","product_id":"98859d9f-2f74-4236-ba1f-e9713be215d0","title":"Bulldog","weight_unit":"g","inventory_quantity":342,"sku":"CJJJJTFZ00126-Bulldog","barcode":"","position":1,"option1":"Bulldog","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93c6e0529538aa3bda43e239bbfb91a6.png","path":"93c6e0529538aa3bda43e239bbfb91a6.png","width":422,"height":373,"alt":"","aspect_ratio":1.1313672922252012},"wholesale_price":[{"price":50.11,"min_quantity":1}],"weight":"398","compare_at_price":"0","price":"50.11","retail_price":"0","available":true,"url":"\/products\/home-wall-decoration-hook-creative-wall-hanging-american-coat-hook-foyer-entrance-bathroom-single-coat-hook-no-punch?variant=3c71bde3-7b74-48f6-90c3-6f3f96880738","available_quantity":999999999,"options":[{"name":"style","value":"Bulldog"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Style:
Bulldog
${function(){
const optName = "style";
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
$50.11
${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":"3c71bde3-7b74-48f6-90c3-6f3f96880738","product_id":"98859d9f-2f74-4236-ba1f-e9713be215d0","title":"Bulldog","weight_unit":"g","inventory_quantity":342,"sku":"CJJJJTFZ00126-Bulldog","barcode":"","position":1,"option1":"Bulldog","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/93c6e0529538aa3bda43e239bbfb91a6.png","path":"93c6e0529538aa3bda43e239bbfb91a6.png","width":422,"height":373,"alt":"","aspect_ratio":1.1313672922252012},"wholesale_price":[{"price":50.11,"min_quantity":1}],"weight":"398","compare_at_price":"0","price":"50.11","retail_price":"0","available":true,"url":"\/products\/home-wall-decoration-hook-creative-wall-hanging-american-coat-hook-foyer-entrance-bathroom-single-coat-hook-no-punch?variant=3c71bde3-7b74-48f6-90c3-6f3f96880738","available_quantity":999999999,"options":[{"name":"style","value":"Bulldog"}],"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.