$product = {"id":7769515950179,"title":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛","handle":"iphone-15-jellytint-magsafe-xf04","description":null,"published_at":"2026-04-02T17:03:10+08:00","created_at":"2025-04-15T17:11:30+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint MagSafe專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 15","merge","reseller-ilovedoodle"],"price":148000,"price_min":148000,"price_max":148000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43302719062115,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324001379,"product_id":7769515950179,"position":6,"created_at":"2026-04-02T14:34:02+08:00","updated_at":"2026-04-02T14:34:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644","variant_ids":[43302719062115]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-XF04","featured_media":{"alt":null,"id":27113944121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302721290339,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324263523,"product_id":7769515950179,"position":8,"created_at":"2026-04-02T14:34:03+08:00","updated_at":"2026-04-02T14:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645","variant_ids":[43302721290339]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-XF04","featured_media":{"alt":null,"id":27113944383587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302721323107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324394595,"product_id":7769515950179,"position":9,"created_at":"2026-04-02T14:34:04+08:00","updated_at":"2026-04-02T14:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645","variant_ids":[43302721323107]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-XF04","featured_media":{"alt":null,"id":27113944514659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c5236b6c86c94f760b2f41e89ee8a367fe676c.webp?v=1744708296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f.webp?v=1774939848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9.webp?v=1774939848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5.webp?v=1774939848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b.webp?v=1774939849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9_6d472e84-562a-4476-ab8d-4cb5cc2d4f61.webp?v=1775111644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c5236b6c86c94f760b2f41e89ee8a367fe676c.webp?v=1744708296","options":["color"],"media":[{"alt":null,"id":25495673208931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c5236b6c86c94f760b2f41e89ee8a367fe676c.webp?v=1744708296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48c5236b6c86c94f760b2f41e89ee8a367fe676c.webp?v=1744708296","width":2000},{"alt":null,"id":27102395629667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f.webp?v=1774939848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f.webp?v=1774939848","width":2000},{"alt":null,"id":27102395695203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9.webp?v=1774939848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9.webp?v=1774939848","width":2000},{"alt":null,"id":27102395793507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5.webp?v=1774939848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5.webp?v=1774939848","width":2000},{"alt":null,"id":27102395891811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b.webp?v=1774939849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b.webp?v=1774939849","width":2000},{"alt":null,"id":27113944121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644","width":2000},{"alt":null,"id":27113944252515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9_6d472e84-562a-4476-ab8d-4cb5cc2d4f61.webp?v=1775111644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8869cf5a1a0ef1392b2ccd02adafbf1276bd72e9_6d472e84-562a-4476-ab8d-4cb5cc2d4f61.webp?v=1775111644","width":2000},{"alt":null,"id":27113944383587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645","width":2000},{"alt":null,"id":27113944514659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302719062115,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324001379,"product_id":7769515950179,"position":6,"created_at":"2026-04-02T14:34:02+08:00","updated_at":"2026-04-02T14:34:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644","variant_ids":[43302719062115]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-XF04","featured_media":{"alt":null,"id":27113944121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302721290339,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324263523,"product_id":7769515950179,"position":8,"created_at":"2026-04-02T14:34:03+08:00","updated_at":"2026-04-02T14:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645","variant_ids":[43302721290339]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-XF04","featured_media":{"alt":null,"id":27113944383587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/050d82422a7af7004d93c0c4053014e7a0eef77f_7ba04287-ab02-4957-86bc-396bf165ad21.webp?v=1775111645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302721323107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324394595,"product_id":7769515950179,"position":9,"created_at":"2026-04-02T14:34:04+08:00","updated_at":"2026-04-02T14:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645","variant_ids":[43302721323107]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-XF04","featured_media":{"alt":null,"id":27113944514659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da981edae897eabc55b0f4a8545eeeeb89229d8b_a1e7fb87-0770-43bc-80a5-c121680640fa.webp?v=1775111645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302719062115,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-XF04","requires_shipping":true,"taxable":true,"featured_image":{"id":35581324001379,"product_id":7769515950179,"position":6,"created_at":"2026-04-02T14:34:02+08:00","updated_at":"2026-04-02T14:34:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644","variant_ids":[43302719062115]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) ilovedoodle Mooooody 乳牛 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-XF04","featured_media":{"alt":null,"id":27113944121443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adc246ca14ec4016e9fe7f2917c26b1301958fe5_cffe4abd-ca9a-40f4-a6ef-cfd11bb568d8.webp?v=1775111644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }