$product = {"id":7414684319843,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-pb05","description":null,"published_at":"2024-06-11T17:53:06+08:00","created_at":"2024-05-05T14:37:59+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":41908286488675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034968675,"product_id":7414684319843,"position":10,"created_at":"2024-05-05T14:38:22+08:00","updated_at":"2024-05-05T14:38:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102","variant_ids":[41908286488675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑 - 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-PB05","featured_media":{"alt":null,"id":23891370573923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908286914659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31486021894243,"product_id":7414684319843,"position":2,"created_at":"2024-05-05T14:38:03+08:00","updated_at":"2024-05-05T14:38:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083","variant_ids":[41908286914659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑 - 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-PB05","featured_media":{"alt":null,"id":23891357630563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/356c9354f4bf49dee69194a5cdbace188a97bafc_96a9a562-6fc2-457e-916a-3c52bc6ce369.webp?v=1714891081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72a38f1a32b4cbfc9456a0266dd1c11688c0565a_c679dc8b-7c7e-4879-ae93-4f6bf271cf81.webp?v=1714891086","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215dddc35fc01e57609940a77608fd58605c0239_5e747ec0-7524-4f7a-ae38-72ffc5b5990a.webp?v=1714891088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d880b1fc85f4fe55bca97b42a6a4fd9a5045a9cc_2518e394-2b29-4633-bbc2-034123ac3e72.webp?v=1714891090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77b4b62668306cc8dd5aa4b0c7e33f793e79a4e7_18bfe296-cc4d-49bf-922b-b8d0e41cb631.webp?v=1714891092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b7417d4a1bb4261e6512609f188cec5a7ad537_0081b499-e380-4573-99f6-a198ea198fe3.webp?v=1714891095","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda5f38cf58943edfc5690da888c57bc9ab1c22b_9e4760d8-9e16-4d9d-baed-42224e7e0756.webp?v=1714891097","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc97ad84f08680cd95dad72b778a0178a7fe059_0914ddc1-f483-446f-b2e5-832c67baa415.webp?v=1714891099","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293c494aea5eeef05fdae8277bd7b586cb9079a8_6bb3796f-0a2c-47aa-abf2-c6a6bbecc671.webp?v=1714891104"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/356c9354f4bf49dee69194a5cdbace188a97bafc_96a9a562-6fc2-457e-916a-3c52bc6ce369.webp?v=1714891081","options":["color"],"media":[{"alt":null,"id":23891355533411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/356c9354f4bf49dee69194a5cdbace188a97bafc_96a9a562-6fc2-457e-916a-3c52bc6ce369.webp?v=1714891081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/356c9354f4bf49dee69194a5cdbace188a97bafc_96a9a562-6fc2-457e-916a-3c52bc6ce369.webp?v=1714891081","width":2000},{"alt":null,"id":23891357630563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083","width":2000},{"alt":null,"id":23891359563875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72a38f1a32b4cbfc9456a0266dd1c11688c0565a_c679dc8b-7c7e-4879-ae93-4f6bf271cf81.webp?v=1714891086"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72a38f1a32b4cbfc9456a0266dd1c11688c0565a_c679dc8b-7c7e-4879-ae93-4f6bf271cf81.webp?v=1714891086","width":2000},{"alt":null,"id":23891361267811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215dddc35fc01e57609940a77608fd58605c0239_5e747ec0-7524-4f7a-ae38-72ffc5b5990a.webp?v=1714891088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/215dddc35fc01e57609940a77608fd58605c0239_5e747ec0-7524-4f7a-ae38-72ffc5b5990a.webp?v=1714891088","width":2000},{"alt":null,"id":23891362906211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d880b1fc85f4fe55bca97b42a6a4fd9a5045a9cc_2518e394-2b29-4633-bbc2-034123ac3e72.webp?v=1714891090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d880b1fc85f4fe55bca97b42a6a4fd9a5045a9cc_2518e394-2b29-4633-bbc2-034123ac3e72.webp?v=1714891090","width":2000},{"alt":null,"id":23891364315235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77b4b62668306cc8dd5aa4b0c7e33f793e79a4e7_18bfe296-cc4d-49bf-922b-b8d0e41cb631.webp?v=1714891092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77b4b62668306cc8dd5aa4b0c7e33f793e79a4e7_18bfe296-cc4d-49bf-922b-b8d0e41cb631.webp?v=1714891092","width":2000},{"alt":null,"id":23891366150243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b7417d4a1bb4261e6512609f188cec5a7ad537_0081b499-e380-4573-99f6-a198ea198fe3.webp?v=1714891095"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25b7417d4a1bb4261e6512609f188cec5a7ad537_0081b499-e380-4573-99f6-a198ea198fe3.webp?v=1714891095","width":2000},{"alt":null,"id":23891367690339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda5f38cf58943edfc5690da888c57bc9ab1c22b_9e4760d8-9e16-4d9d-baed-42224e7e0756.webp?v=1714891097"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dda5f38cf58943edfc5690da888c57bc9ab1c22b_9e4760d8-9e16-4d9d-baed-42224e7e0756.webp?v=1714891097","width":2000},{"alt":null,"id":23891369230435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc97ad84f08680cd95dad72b778a0178a7fe059_0914ddc1-f483-446f-b2e5-832c67baa415.webp?v=1714891099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fc97ad84f08680cd95dad72b778a0178a7fe059_0914ddc1-f483-446f-b2e5-832c67baa415.webp?v=1714891099","width":2000},{"alt":null,"id":23891370573923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102","width":2000},{"alt":null,"id":23891371884643,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293c494aea5eeef05fdae8277bd7b586cb9079a8_6bb3796f-0a2c-47aa-abf2-c6a6bbecc671.webp?v=1714891104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293c494aea5eeef05fdae8277bd7b586cb9079a8_6bb3796f-0a2c-47aa-abf2-c6a6bbecc671.webp?v=1714891104","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41908286488675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034968675,"product_id":7414684319843,"position":10,"created_at":"2024-05-05T14:38:22+08:00","updated_at":"2024-05-05T14:38:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102","variant_ids":[41908286488675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑 - 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-PB05","featured_media":{"alt":null,"id":23891370573923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41908286914659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31486021894243,"product_id":7414684319843,"position":2,"created_at":"2024-05-05T14:38:03+08:00","updated_at":"2024-05-05T14:38:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083","variant_ids":[41908286914659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑 - 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-PB05","featured_media":{"alt":null,"id":23891357630563,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4170d5a9e61c36427cbf00a8c89248faeea3cf8a_94afe4a1-7664-477e-991e-fd8fd5726d23.webp?v=1714891083"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41908286488675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31486034968675,"product_id":7414684319843,"position":10,"created_at":"2024-05-05T14:38:22+08:00","updated_at":"2024-05-05T14:38:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102","variant_ids":[41908286488675]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 波巴費特-噴漆黑 - 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-PB05","featured_media":{"alt":null,"id":23891370573923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75c81c9d5b1cce39a7cfe8fe73f04ccc31bd912e_23bddc27-65c8-433a-99c7-69fb219e407c.webp?v=1714891102"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }