Vintage Crackle Skull Ring
${function() {
const variantData = data.variant || {"id":"7ac3ee3e-269a-405c-9b91-781e774c711c","product_id":"8fa6594f-62ab-4148-a450-7ad51840da43","title":"7-Silver","weight_unit":"g","inventory_quantity":99999998,"sku":"101872350001","barcode":"","position":1,"option1":"7","option2":"Silver","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3a24317769f51689498ff915897ea1b.jpeg","path":"b3a24317769f51689498ff915897ea1b.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"15","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/vintage-crackle-skull-ring?variant=7ac3ee3e-269a-405c-9b91-781e774c711c","available_quantity":99999998,"options":[{"name":"Size","value":"7"},{"name":"Color","value":"Silver"}],"off_ratio":0,"flashsale_info":[],"sales":37};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
7
${function(){
const optName = "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}
`
}()}
Color:
Silver
${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
$5.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":"7ac3ee3e-269a-405c-9b91-781e774c711c","product_id":"8fa6594f-62ab-4148-a450-7ad51840da43","title":"7-Silver","weight_unit":"g","inventory_quantity":99999998,"sku":"101872350001","barcode":"","position":1,"option1":"7","option2":"Silver","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b3a24317769f51689498ff915897ea1b.jpeg","path":"b3a24317769f51689498ff915897ea1b.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"15","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/vintage-crackle-skull-ring?variant=7ac3ee3e-269a-405c-9b91-781e774c711c","available_quantity":99999998,"options":[{"name":"Size","value":"7"},{"name":"Color","value":"Silver"}],"off_ratio":0,"flashsale_info":[],"sales":37};
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 ? `
` : ' ';
}
}()}
Product was out of stock.
Product is unavailable.