$product = {"id":7414014410851,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-pb67","description":null,"published_at":"2024-06-11T17:47:44+08:00","created_at":"2024-05-05T14:01:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"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":41903335833699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31484459221091,"product_id":7414014410851,"position":2,"created_at":"2024-05-05T14:01:13+08:00","updated_at":"2024-05-05T14:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873","variant_ids":[41903335833699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB67","featured_media":{"alt":null,"id":23889753374819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903336128611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31484461645923,"product_id":7414014410851,"position":6,"created_at":"2024-05-05T14:01:23+08:00","updated_at":"2024-05-05T14:01:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883","variant_ids":[41903336128611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-PB67","featured_media":{"alt":null,"id":23889755799651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea83918e8b1a417c77785f68283d76b2cc9560ae_4b746ba1-6b38-45e8-8721-00242b915bbb.webp?v=1714888870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515b1590df1611b75000f8ac324c3f59bec27956_79529a6c-3179-4b1a-a7c1-b0d6c5a5250c.webp?v=1714888875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79f041bb875e76ca3c4a902b813ce0e2e52d276_5939c434-c55e-41fa-b3f8-4e8aa6a334b9.webp?v=1714888878","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55ccaac51984ccceac4e00a91f42c1f43cd2090c_6ffbd6b1-2a60-4819-af3b-24255f6fdd5a.webp?v=1714888880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e330df51aaf9d399997a9199e7db2bef2c6e48c3_e998ee6c-5244-44cf-9421-7d6494b58be3.webp?v=1714888885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39cb896643fb8deb718c0be30f833c1bff9facd5_257f8452-1d94-4d49-86ba-af9a8913bf04.webp?v=1714888888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29f348c252cdf7520b14ed9de7053c9735a95df_17fd566d-46ad-42c8-b417-fffc58ed8dcd.webp?v=1714888890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57802daf742a7522a70eb0fffb4d20a7a1edfd9_a7e80ade-5226-4ad2-997d-eec24b5aebb4.webp?v=1714888892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64335d9da614d6871208035eaa3905e6f06f0008_4e4405d3-527f-4e40-a2b3-d1f8717c3a5c.webp?v=1714888894"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea83918e8b1a417c77785f68283d76b2cc9560ae_4b746ba1-6b38-45e8-8721-00242b915bbb.webp?v=1714888870","options":["color"],"media":[{"alt":null,"id":23889752719459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea83918e8b1a417c77785f68283d76b2cc9560ae_4b746ba1-6b38-45e8-8721-00242b915bbb.webp?v=1714888870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea83918e8b1a417c77785f68283d76b2cc9560ae_4b746ba1-6b38-45e8-8721-00242b915bbb.webp?v=1714888870","width":2000},{"alt":null,"id":23889753374819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873","width":2000},{"alt":null,"id":23889753866339,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515b1590df1611b75000f8ac324c3f59bec27956_79529a6c-3179-4b1a-a7c1-b0d6c5a5250c.webp?v=1714888875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/515b1590df1611b75000f8ac324c3f59bec27956_79529a6c-3179-4b1a-a7c1-b0d6c5a5250c.webp?v=1714888875","width":2000},{"alt":null,"id":23889754718307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79f041bb875e76ca3c4a902b813ce0e2e52d276_5939c434-c55e-41fa-b3f8-4e8aa6a334b9.webp?v=1714888878"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b79f041bb875e76ca3c4a902b813ce0e2e52d276_5939c434-c55e-41fa-b3f8-4e8aa6a334b9.webp?v=1714888878","width":2000},{"alt":null,"id":23889755111523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55ccaac51984ccceac4e00a91f42c1f43cd2090c_6ffbd6b1-2a60-4819-af3b-24255f6fdd5a.webp?v=1714888880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55ccaac51984ccceac4e00a91f42c1f43cd2090c_6ffbd6b1-2a60-4819-af3b-24255f6fdd5a.webp?v=1714888880","width":2000},{"alt":null,"id":23889755799651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883","width":2000},{"alt":null,"id":23889756225635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e330df51aaf9d399997a9199e7db2bef2c6e48c3_e998ee6c-5244-44cf-9421-7d6494b58be3.webp?v=1714888885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e330df51aaf9d399997a9199e7db2bef2c6e48c3_e998ee6c-5244-44cf-9421-7d6494b58be3.webp?v=1714888885","width":2000},{"alt":null,"id":23889756749923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39cb896643fb8deb718c0be30f833c1bff9facd5_257f8452-1d94-4d49-86ba-af9a8913bf04.webp?v=1714888888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39cb896643fb8deb718c0be30f833c1bff9facd5_257f8452-1d94-4d49-86ba-af9a8913bf04.webp?v=1714888888","width":2000},{"alt":null,"id":23889757274211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29f348c252cdf7520b14ed9de7053c9735a95df_17fd566d-46ad-42c8-b417-fffc58ed8dcd.webp?v=1714888890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e29f348c252cdf7520b14ed9de7053c9735a95df_17fd566d-46ad-42c8-b417-fffc58ed8dcd.webp?v=1714888890","width":2000},{"alt":null,"id":23889757864035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57802daf742a7522a70eb0fffb4d20a7a1edfd9_a7e80ade-5226-4ad2-997d-eec24b5aebb4.webp?v=1714888892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a57802daf742a7522a70eb0fffb4d20a7a1edfd9_a7e80ade-5226-4ad2-997d-eec24b5aebb4.webp?v=1714888892","width":2000},{"alt":null,"id":23889758421091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64335d9da614d6871208035eaa3905e6f06f0008_4e4405d3-527f-4e40-a2b3-d1f8717c3a5c.webp?v=1714888894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64335d9da614d6871208035eaa3905e6f06f0008_4e4405d3-527f-4e40-a2b3-d1f8717c3a5c.webp?v=1714888894","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41903335833699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31484459221091,"product_id":7414014410851,"position":2,"created_at":"2024-05-05T14:01:13+08:00","updated_at":"2024-05-05T14:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873","variant_ids":[41903335833699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB67","featured_media":{"alt":null,"id":23889753374819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903336128611,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31484461645923,"product_id":7414014410851,"position":6,"created_at":"2024-05-05T14:01:23+08:00","updated_at":"2024-05-05T14:01:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883","variant_ids":[41903336128611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-PB67","featured_media":{"alt":null,"id":23889755799651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ec7905d43b0784bd2fc105f91e73cb09bc87436_a1819de5-d42f-4564-87e6-4e0b738aadd2.webp?v=1714888883"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41903335833699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB67","requires_shipping":true,"taxable":true,"featured_image":{"id":31484459221091,"product_id":7414014410851,"position":2,"created_at":"2024-05-05T14:01:13+08:00","updated_at":"2024-05-05T14:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873","variant_ids":[41903335833699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - ATAT-俠盜一號 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB67","featured_media":{"alt":null,"id":23889753374819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7efba89eaf8e22b305197e842afb8c193fe98e64_857e76a8-ff70-4580-bbb8-421d8d2ed94c.webp?v=1714888873"}},"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: "停產" }