$product = {"id":7407722823779,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列","handle":"iphone-14-pro-mod-nx-printable-pb66","description":null,"published_at":"2024-06-11T16:22:24+08:00","created_at":"2024-05-03T10:45:00+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 14 Pro","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":41878061449315,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470271103075,"product_id":7407722823779,"position":2,"created_at":"2024-05-03T10:45:05+08:00","updated_at":"2024-05-03T10:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305","variant_ids":[41878061449315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB0126224-PB66","featured_media":{"alt":null,"id":23875174203491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878061514851,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470275395683,"product_id":7407722823779,"position":9,"created_at":"2024-05-03T10:45:21+08:00","updated_at":"2024-05-03T10:45:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321","variant_ids":[41878061514851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB0126204-PB66","featured_media":{"alt":null,"id":23875178528867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878061744227,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470274281571,"product_id":7407722823779,"position":7,"created_at":"2024-05-03T10:45:16+08:00","updated_at":"2024-05-03T10:45:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316","variant_ids":[41878061744227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB01262J5-PB66","featured_media":{"alt":null,"id":23875177480291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efea445e926b09d111cd33e8a5eb7c831e2539_eb19889e-1f00-4307-88a3-aa838814028d.webp?v=1714704302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feeb1baca5eaf6b06dfff32fa9d22afc9447853f_143abfc7-c5be-4327-a3e2-35dd5a4b929e.webp?v=1714704307","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536b0d0b9044b71038a7a2c124ea9a7bf3f5a50d_7207c7f2-2f49-45a4-9819-039bf6e6a3c8.webp?v=1714704309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776091ca881a3c8c669a94ec01737487977e5537_5f86c548-e118-4299-b65c-3ba25efc6eac.webp?v=1714704312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c46f218547013846159f2cf95585f8ae2f47cb6c_e700b46c-1ab8-44f6-a099-9610a0f93429.webp?v=1714704314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1356fc5c14288cfdc8f1b4baf0ff0690c9f01964_d9450111-5fea-4083-b85c-4ec0a77eefe3.webp?v=1714704319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e416507745cc78d3eb6b9f0e625d780c74b3f91_60acbd8b-2553-4722-9534-bb1dc37e6c27.webp?v=1714704324"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efea445e926b09d111cd33e8a5eb7c831e2539_eb19889e-1f00-4307-88a3-aa838814028d.webp?v=1714704302","options":["color"],"media":[{"alt":null,"id":23875173843043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efea445e926b09d111cd33e8a5eb7c831e2539_eb19889e-1f00-4307-88a3-aa838814028d.webp?v=1714704302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77efea445e926b09d111cd33e8a5eb7c831e2539_eb19889e-1f00-4307-88a3-aa838814028d.webp?v=1714704302","width":2000},{"alt":null,"id":23875174203491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305","width":2000},{"alt":null,"id":23875174858851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feeb1baca5eaf6b06dfff32fa9d22afc9447853f_143abfc7-c5be-4327-a3e2-35dd5a4b929e.webp?v=1714704307"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feeb1baca5eaf6b06dfff32fa9d22afc9447853f_143abfc7-c5be-4327-a3e2-35dd5a4b929e.webp?v=1714704307","width":2000},{"alt":null,"id":23875175546979,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536b0d0b9044b71038a7a2c124ea9a7bf3f5a50d_7207c7f2-2f49-45a4-9819-039bf6e6a3c8.webp?v=1714704309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/536b0d0b9044b71038a7a2c124ea9a7bf3f5a50d_7207c7f2-2f49-45a4-9819-039bf6e6a3c8.webp?v=1714704309","width":2000},{"alt":null,"id":23875176235107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776091ca881a3c8c669a94ec01737487977e5537_5f86c548-e118-4299-b65c-3ba25efc6eac.webp?v=1714704312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776091ca881a3c8c669a94ec01737487977e5537_5f86c548-e118-4299-b65c-3ba25efc6eac.webp?v=1714704312","width":2000},{"alt":null,"id":23875176661091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c46f218547013846159f2cf95585f8ae2f47cb6c_e700b46c-1ab8-44f6-a099-9610a0f93429.webp?v=1714704314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c46f218547013846159f2cf95585f8ae2f47cb6c_e700b46c-1ab8-44f6-a099-9610a0f93429.webp?v=1714704314","width":2000},{"alt":null,"id":23875177480291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316","width":2000},{"alt":null,"id":23875178037347,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1356fc5c14288cfdc8f1b4baf0ff0690c9f01964_d9450111-5fea-4083-b85c-4ec0a77eefe3.webp?v=1714704319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1356fc5c14288cfdc8f1b4baf0ff0690c9f01964_d9450111-5fea-4083-b85c-4ec0a77eefe3.webp?v=1714704319","width":2000},{"alt":null,"id":23875178528867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321","width":2000},{"alt":null,"id":23875179151459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e416507745cc78d3eb6b9f0e625d780c74b3f91_60acbd8b-2553-4722-9534-bb1dc37e6c27.webp?v=1714704324"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e416507745cc78d3eb6b9f0e625d780c74b3f91_60acbd8b-2553-4722-9534-bb1dc37e6c27.webp?v=1714704324","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878061449315,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470271103075,"product_id":7407722823779,"position":2,"created_at":"2024-05-03T10:45:05+08:00","updated_at":"2024-05-03T10:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305","variant_ids":[41878061449315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB0126224-PB66","featured_media":{"alt":null,"id":23875174203491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878061514851,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470275395683,"product_id":7407722823779,"position":9,"created_at":"2024-05-03T10:45:21+08:00","updated_at":"2024-05-03T10:45:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321","variant_ids":[41878061514851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB0126204-PB66","featured_media":{"alt":null,"id":23875178528867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cad439c3a68776e3365c540629936850aa81630f_063e2b12-6739-4343-981c-350859d07262.webp?v=1714704321"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878061744227,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470274281571,"product_id":7407722823779,"position":7,"created_at":"2024-05-03T10:45:16+08:00","updated_at":"2024-05-03T10:45:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316","variant_ids":[41878061744227]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB01262J5-PB66","featured_media":{"alt":null,"id":23875177480291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fbf54b0e518b5a1a17e38503a9852d3980f9877_00eacc23-8fb4-46f6-b017-c55082f9aa12.webp?v=1714704316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878061449315,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB66","requires_shipping":true,"taxable":true,"featured_image":{"id":31470271103075,"product_id":7407722823779,"position":2,"created_at":"2024-05-03T10:45:05+08:00","updated_at":"2024-05-03T10:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305","variant_ids":[41878061449315]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - ATAT-日文字系列 - 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":"NPB0126224-PB66","featured_media":{"alt":null,"id":23875174203491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc16aa5455b31eb232438a7e088c30c03a43e24f_b35c117b-3691-4562-ab84-3197555b6e08.webp?v=1714704305"}},"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: "停產" }