$product = {"id":7888455368803,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 晚安熊熊","handle":"iphone-14-plus-mod-nx-magsafe-printable-es06","description":null,"published_at":"2025-09-23T09:17:00+08:00","created_at":"2025-09-22T15:47:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-annnbrownie","device-iPhone 14 Plus","merge","reseller-annnbrownie"],"price":110000,"price_min":110000,"price_max":110000,"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":43743184519267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-ES06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514488131683,"product_id":7888455368803,"position":6,"created_at":"2025-09-22T15:47:36+08:00","updated_at":"2025-09-22T15:47:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257","variant_ids":[43743184519267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 晚安熊熊 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-ES06","featured_media":{"alt":null,"id":26084930650211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56ddce31b0a898d4cef87ba8b9226bdde253e77.webp?v=1758527255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd806fb7edb8943f0d5924333a108ba4297845d.webp?v=1758527255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503654f9514e3e9cdde6c1593bf10555459a6dbe.webp?v=1758527256","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de5bdd94c988ab93889ddb4998542477fa1e032.webp?v=1758527257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8402e342cc6b507f5faeb1986aeb83fe25831207.webp?v=1758527257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b45519f3803e7e7c38cfd0a12db9fb0fc7f47396.webp?v=1758527258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443cf2757d2d16262394359ebdd83f19c926cf93.webp?v=1758527259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11645d73da433e9c6184b1e1cdd3cb0060ebe02e.webp?v=1758527259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e182091bb806872b829a5f933fe0e4b30950f3d9.webp?v=1758527260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56aa13df9aa1c8912d6227a1b994ffe9928a77f.webp?v=1758527261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ade741eba3803f292580d965e354c39830d5830.webp?v=1758527261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca30dd50e813d6acdcc316aec0668704913b8373.webp?v=1758527262"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56ddce31b0a898d4cef87ba8b9226bdde253e77.webp?v=1758527255","options":["color"],"media":[{"alt":null,"id":26084929601635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56ddce31b0a898d4cef87ba8b9226bdde253e77.webp?v=1758527255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b56ddce31b0a898d4cef87ba8b9226bdde253e77.webp?v=1758527255","width":2000},{"alt":null,"id":26084929765475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd806fb7edb8943f0d5924333a108ba4297845d.webp?v=1758527255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd806fb7edb8943f0d5924333a108ba4297845d.webp?v=1758527255","width":2000},{"alt":null,"id":26084929962083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503654f9514e3e9cdde6c1593bf10555459a6dbe.webp?v=1758527256"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503654f9514e3e9cdde6c1593bf10555459a6dbe.webp?v=1758527256","width":2000},{"alt":null,"id":26084930191459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de5bdd94c988ab93889ddb4998542477fa1e032.webp?v=1758527257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1de5bdd94c988ab93889ddb4998542477fa1e032.webp?v=1758527257","width":2000},{"alt":null,"id":26084930322531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8402e342cc6b507f5faeb1986aeb83fe25831207.webp?v=1758527257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8402e342cc6b507f5faeb1986aeb83fe25831207.webp?v=1758527257","width":2000},{"alt":null,"id":26084930650211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257","width":2000},{"alt":null,"id":26084930977891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b45519f3803e7e7c38cfd0a12db9fb0fc7f47396.webp?v=1758527258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b45519f3803e7e7c38cfd0a12db9fb0fc7f47396.webp?v=1758527258","width":2000},{"alt":null,"id":26084931403875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443cf2757d2d16262394359ebdd83f19c926cf93.webp?v=1758527259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/443cf2757d2d16262394359ebdd83f19c926cf93.webp?v=1758527259","width":2000},{"alt":null,"id":26084931633251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11645d73da433e9c6184b1e1cdd3cb0060ebe02e.webp?v=1758527259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11645d73da433e9c6184b1e1cdd3cb0060ebe02e.webp?v=1758527259","width":2000},{"alt":null,"id":26084931829859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e182091bb806872b829a5f933fe0e4b30950f3d9.webp?v=1758527260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e182091bb806872b829a5f933fe0e4b30950f3d9.webp?v=1758527260","width":2000},{"alt":null,"id":26084932223075,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56aa13df9aa1c8912d6227a1b994ffe9928a77f.webp?v=1758527261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d56aa13df9aa1c8912d6227a1b994ffe9928a77f.webp?v=1758527261","width":2000},{"alt":null,"id":26084932452451,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ade741eba3803f292580d965e354c39830d5830.webp?v=1758527261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ade741eba3803f292580d965e354c39830d5830.webp?v=1758527261","width":2000},{"alt":null,"id":26084932616291,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca30dd50e813d6acdcc316aec0668704913b8373.webp?v=1758527262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca30dd50e813d6acdcc316aec0668704913b8373.webp?v=1758527262","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43743184519267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-ES06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514488131683,"product_id":7888455368803,"position":6,"created_at":"2025-09-22T15:47:36+08:00","updated_at":"2025-09-22T15:47:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257","variant_ids":[43743184519267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 晚安熊熊 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-ES06","featured_media":{"alt":null,"id":26084930650211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43743184519267,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-ES06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514488131683,"product_id":7888455368803,"position":6,"created_at":"2025-09-22T15:47:36+08:00","updated_at":"2025-09-22T15:47:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257","variant_ids":[43743184519267]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 晚安熊熊 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-ES06","featured_media":{"alt":null,"id":26084930650211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6368e0a167ea7272f07ae1d7ff5019e8155d6b3.webp?v=1758527257"}},"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: "停產" }