Handmade- Star Rock Med Almond(M) Press On Nail Set
${function() {
const variantData = data.variant || {"id":"93bf7a39-d8d5-48b4-b816-ad9cdd44e036","product_id":"dae2b2bf-0719-4ae6-9a09-c9d857cbb9f0","title":"M-Almond-Med","weight_unit":"kg","inventory_quantity":1000,"sku":"RD017","barcode":"","position":1,"option1":"M","option2":"Almond","option3":"Med","note":"","image":null,"wholesale_price":[{"price":29.6,"min_quantity":1}],"weight":"0","compare_at_price":"47","price":"29.6","retail_price":"47","available":true,"url":"\/products\/star-rock-med-almondm?variant=93bf7a39-d8d5-48b4-b816-ad9cdd44e036","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Shape","value":"Almond"},{"name":"Length","value":"Med"}],"off_ratio":37,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
M
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Shape:
Almond
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Length:
Med
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$29.60
${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":"93bf7a39-d8d5-48b4-b816-ad9cdd44e036","product_id":"dae2b2bf-0719-4ae6-9a09-c9d857cbb9f0","title":"M-Almond-Med","weight_unit":"kg","inventory_quantity":1000,"sku":"RD017","barcode":"","position":1,"option1":"M","option2":"Almond","option3":"Med","note":"","image":null,"wholesale_price":[{"price":29.6,"min_quantity":1}],"weight":"0","compare_at_price":"47","price":"29.6","retail_price":"47","available":true,"url":"\/products\/star-rock-med-almondm?variant=93bf7a39-d8d5-48b4-b816-ad9cdd44e036","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Shape","value":"Almond"},{"name":"Length","value":"Med"}],"off_ratio":37,"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.