$product = {"id":7407994601571,"title":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列","handle":"iphone-13-pro-max-mod-nx-printable-pb57","description":null,"published_at":"2024-06-11T16:28:35+08:00","created_at":"2024-05-03T11:36:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 Pro Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41881501204579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470916042851,"product_id":7407994601571,"position":5,"created_at":"2024-05-03T11:36:53+08:00","updated_at":"2024-05-03T11:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413","variant_ids":[41881501204579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-PB57","featured_media":{"alt":null,"id":23875820716131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881501499491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01232J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470915780707,"product_id":7407994601571,"position":4,"created_at":"2024-05-03T11:36:50+08:00","updated_at":"2024-05-03T11:36:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410","variant_ids":[41881501499491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-PB57","featured_media":{"alt":null,"id":23875820453987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4275f057b3f9ce290ff147e617363265d9c7468_def9457d-f320-4d12-869c-2537645a1b02.webp?v=1714707403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5a6c855cd12c34fbcd19024d0280c9e8c92646a_19bf1b22-d4d0-4557-9b0a-2016ae36906f.webp?v=1714707405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f0b1150d5c4d50ff9d948278adb16234ebaf86_7805463b-4774-4f11-b9e3-e59dc90d3000.webp?v=1714707408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd5a24fae34952963dcbe59e3c256264bb6f71c_0e866568-2383-443c-baf8-0539f907acca.webp?v=1714707415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa40e610cd5f7869425b04d3a4cb46a93984f359_a9780ae2-1e0e-4f20-87da-e6c68566a6aa.webp?v=1714707418","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715de8c46a85ba5a005b3481ee5a3b3d78042e9b_3c62dc8f-fc72-4035-8412-cb18b0d85d54.webp?v=1714707420","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7633c52be776d10ad804d63a0356cbc4cfb7e8_66c216fa-21d4-41bc-87d2-82773b18a3fe.webp?v=1714707422","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c1cd905cfed2009cd5ce30324abe5a2354fb90_0d074479-6120-47f0-a75f-a51e63eb0f9f.webp?v=1714707425"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4275f057b3f9ce290ff147e617363265d9c7468_def9457d-f320-4d12-869c-2537645a1b02.webp?v=1714707403","options":["color"],"media":[{"alt":null,"id":23875819307107,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4275f057b3f9ce290ff147e617363265d9c7468_def9457d-f320-4d12-869c-2537645a1b02.webp?v=1714707403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4275f057b3f9ce290ff147e617363265d9c7468_def9457d-f320-4d12-869c-2537645a1b02.webp?v=1714707403","width":2000},{"alt":null,"id":23875819667555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5a6c855cd12c34fbcd19024d0280c9e8c92646a_19bf1b22-d4d0-4557-9b0a-2016ae36906f.webp?v=1714707405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5a6c855cd12c34fbcd19024d0280c9e8c92646a_19bf1b22-d4d0-4557-9b0a-2016ae36906f.webp?v=1714707405","width":2000},{"alt":null,"id":23875820060771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f0b1150d5c4d50ff9d948278adb16234ebaf86_7805463b-4774-4f11-b9e3-e59dc90d3000.webp?v=1714707408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4f0b1150d5c4d50ff9d948278adb16234ebaf86_7805463b-4774-4f11-b9e3-e59dc90d3000.webp?v=1714707408","width":2000},{"alt":null,"id":23875820453987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410","width":2000},{"alt":null,"id":23875820716131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413","width":2000},{"alt":null,"id":23875821207651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd5a24fae34952963dcbe59e3c256264bb6f71c_0e866568-2383-443c-baf8-0539f907acca.webp?v=1714707415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbd5a24fae34952963dcbe59e3c256264bb6f71c_0e866568-2383-443c-baf8-0539f907acca.webp?v=1714707415","width":2000},{"alt":null,"id":23875821633635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa40e610cd5f7869425b04d3a4cb46a93984f359_a9780ae2-1e0e-4f20-87da-e6c68566a6aa.webp?v=1714707418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa40e610cd5f7869425b04d3a4cb46a93984f359_a9780ae2-1e0e-4f20-87da-e6c68566a6aa.webp?v=1714707418","width":2000},{"alt":null,"id":23875822157923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715de8c46a85ba5a005b3481ee5a3b3d78042e9b_3c62dc8f-fc72-4035-8412-cb18b0d85d54.webp?v=1714707420"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/715de8c46a85ba5a005b3481ee5a3b3d78042e9b_3c62dc8f-fc72-4035-8412-cb18b0d85d54.webp?v=1714707420","width":2000},{"alt":null,"id":23875822518371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7633c52be776d10ad804d63a0356cbc4cfb7e8_66c216fa-21d4-41bc-87d2-82773b18a3fe.webp?v=1714707422"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c7633c52be776d10ad804d63a0356cbc4cfb7e8_66c216fa-21d4-41bc-87d2-82773b18a3fe.webp?v=1714707422","width":2000},{"alt":null,"id":23875822977123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c1cd905cfed2009cd5ce30324abe5a2354fb90_0d074479-6120-47f0-a75f-a51e63eb0f9f.webp?v=1714707425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24c1cd905cfed2009cd5ce30324abe5a2354fb90_0d074479-6120-47f0-a75f-a51e63eb0f9f.webp?v=1714707425","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41881501204579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470916042851,"product_id":7407994601571,"position":5,"created_at":"2024-05-03T11:36:53+08:00","updated_at":"2024-05-03T11:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413","variant_ids":[41881501204579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-PB57","featured_media":{"alt":null,"id":23875820716131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881501499491,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01232J5-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470915780707,"product_id":7407994601571,"position":4,"created_at":"2024-05-03T11:36:50+08:00","updated_at":"2024-05-03T11:36:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410","variant_ids":[41881501499491]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-PB57","featured_media":{"alt":null,"id":23875820453987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ba96b2b8e7efd0e3cc28222afa19c5b7df2b0_12aa3843-9f34-4e26-abec-a46ef8ca7b50.webp?v=1714707410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881501204579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB57","requires_shipping":true,"taxable":true,"featured_image":{"id":31470916042851,"product_id":7407994601571,"position":5,"created_at":"2024-05-03T11:36:53+08:00","updated_at":"2024-05-03T11:36:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413","variant_ids":[41881501204579]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-剪紙系列 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-PB57","featured_media":{"alt":null,"id":23875820716131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7af59a4c0739f25e5e0866a5a82396c671533329_2d404b99-c2b5-47a6-af74-e2bc7d329069.webp?v=1714707413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }