Cross-border Foreign Trade Wish Fashion Anchor Leather Bracelet European And American Hand-woven Multi-layer Men's Hand Rope Retro Bracelet
${function() {
const variantData = data.variant || {"id":"4d3ca245-99a2-4c3c-a87b-1b49a52b16fc","product_id":"4dd180bb-6908-406d-a64b-63496148c8b4","title":"black","weight_unit":"g","inventory_quantity":999,"sku":"9e46f5a4-2b7d-46c1-9db7-184855a9a9ff","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a52d07112630eaf8a5db6518831f6aea.jpeg","path":"a52d07112630eaf8a5db6518831f6aea.jpeg","width":800,"height":800,"alt":"b7c9468fc62d047b12d03f9e38f01c6c","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"60","compare_at_price":"0","price":"2.99","retail_price":"0","available":true,"url":"\/products\/cross-border-foreign-trade-wish-fashion-anchor-leather-bracelet-european-and-american-hand-woven-multi-layer-mens-hand-rope-retro-bracelet?variant=4d3ca245-99a2-4c3c-a87b-1b49a52b16fc","available_quantity":999999999,"options":[{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
black
${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}
`
}()}
Add to cart
$2.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":"4d3ca245-99a2-4c3c-a87b-1b49a52b16fc","product_id":"4dd180bb-6908-406d-a64b-63496148c8b4","title":"black","weight_unit":"g","inventory_quantity":999,"sku":"9e46f5a4-2b7d-46c1-9db7-184855a9a9ff","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a52d07112630eaf8a5db6518831f6aea.jpeg","path":"a52d07112630eaf8a5db6518831f6aea.jpeg","width":800,"height":800,"alt":"b7c9468fc62d047b12d03f9e38f01c6c","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"60","compare_at_price":"0","price":"2.99","retail_price":"0","available":true,"url":"\/products\/cross-border-foreign-trade-wish-fashion-anchor-leather-bracelet-european-and-american-hand-woven-multi-layer-mens-hand-rope-retro-bracelet?variant=4d3ca245-99a2-4c3c-a87b-1b49a52b16fc","available_quantity":999999999,"options":[{"name":"Color","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.
people are viewing this right now