JOYOR S &Y Model Universal Accessories 18MM Wrench
${function(){
const variantData = data.variant || {"id":"0e7a5ffd-b636-46a0-9716-13c2020319fb","product_id":"2a5e3e77-2cc7-4028-b130-0e449c9a9d32","title":"","weight_unit":"kg","inventory_quantity":3994,"sku":"S&Y \u578b\u53f7\u901a\u7528-18 MM \u6273\u624b","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"30","retail_price":"50.99","available":true,"url":"\/products\/s-y-model-universal-accessories-18mm-wrench?variant=0e7a5ffd-b636-46a0-9716-13c2020319fb","available_quantity":999999999,"options":[],"off_ratio":41,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const variantData = data.variant || {"id":"0e7a5ffd-b636-46a0-9716-13c2020319fb","product_id":"2a5e3e77-2cc7-4028-b130-0e449c9a9d32","title":"","weight_unit":"kg","inventory_quantity":3994,"sku":"S&Y \u578b\u53f7\u901a\u7528-18 MM \u6273\u624b","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"30","retail_price":"50.99","available":true,"url":"\/products\/s-y-model-universal-accessories-18mm-wrench?variant=0e7a5ffd-b636-46a0-9716-13c2020319fb","available_quantity":999999999,"options":[],"off_ratio":41,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Add to cart
€30.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":"0e7a5ffd-b636-46a0-9716-13c2020319fb","product_id":"2a5e3e77-2cc7-4028-b130-0e449c9a9d32","title":"","weight_unit":"kg","inventory_quantity":3994,"sku":"S&Y \u578b\u53f7\u901a\u7528-18 MM \u6273\u624b","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0","compare_at_price":"50.99","price":"30","retail_price":"50.99","available":true,"url":"\/products\/s-y-model-universal-accessories-18mm-wrench?variant=0e7a5ffd-b636-46a0-9716-13c2020319fb","available_quantity":999999999,"options":[],"off_ratio":41,"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.