Handmade single bead agate spiral bracelet, unique couple style, best friend style, simple and fashionable, versatile
${function() {
const variantData = data.variant || {"id":"68f902fe-cb59-4964-9206-5e310b319bad","product_id":"851f9e77-e95c-4b48-ba12-6e4b07d1587d","title":"Avocado green","weight_unit":"kg","inventory_quantity":1,"sku":"DIY004","barcode":"","position":1,"option1":"Avocado green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3764c1c26ed7771d5d970928b9b6dc79.png","path":"3764c1c26ed7771d5d970928b9b6dc79.png","width":2268,"height":4032,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":0,"min_quantity":1}],"weight":"0","compare_at_price":"14.9","price":"0","retail_price":"14.9","available":true,"url":"\/products\/handmade-single-bead-agate-spiral-bracelet-unique-couple-style-best-friend-style-simple-and-fashionable-versatile-ydtu?variant=68f902fe-cb59-4964-9206-5e310b319bad","available_quantity":999999999,"options":[{"name":"Colors","value":"Avocado green"}],"off_ratio":100,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Colors:
Avocado green
${function(){
const optName = "Colors";
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
$0.00
${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":"68f902fe-cb59-4964-9206-5e310b319bad","product_id":"851f9e77-e95c-4b48-ba12-6e4b07d1587d","title":"Avocado green","weight_unit":"kg","inventory_quantity":1,"sku":"DIY004","barcode":"","position":1,"option1":"Avocado green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3764c1c26ed7771d5d970928b9b6dc79.png","path":"3764c1c26ed7771d5d970928b9b6dc79.png","width":2268,"height":4032,"alt":"","aspect_ratio":0.5625},"wholesale_price":[{"price":0,"min_quantity":1}],"weight":"0","compare_at_price":"14.9","price":"0","retail_price":"14.9","available":true,"url":"\/products\/handmade-single-bead-agate-spiral-bracelet-unique-couple-style-best-friend-style-simple-and-fashionable-versatile-ydtu?variant=68f902fe-cb59-4964-9206-5e310b319bad","available_quantity":999999999,"options":[{"name":"Colors","value":"Avocado green"}],"off_ratio":100,"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.
Exquisite gift box packaging