$product = {"id":7408185802851,"title":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列","handle":"iphone-13-pro-max-mod-nx-printable-pb97","description":null,"published_at":"2024-06-11T16:33:42+08:00","created_at":"2024-05-03T12:16:42+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":41883630043235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471417294947,"product_id":7408185802851,"position":6,"created_at":"2024-05-03T12:16:56+08:00","updated_at":"2024-05-03T12:16:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816","variant_ids":[41883630043235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列 - 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-PB97","featured_media":{"alt":null,"id":23876323508323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883630698595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01232J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471418277987,"product_id":7408185802851,"position":8,"created_at":"2024-05-03T12:17:01+08:00","updated_at":"2024-05-03T12:17:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821","variant_ids":[41883630698595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列 - 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-PB97","featured_media":{"alt":null,"id":23876324491363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e05acd52a25bc2bc3abf43eb1feee185fc65be_f11702da-1929-4fb6-be60-2fe0a35bdb0c.webp?v=1714709804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3019eea76f037f0a58cab67675c5be91dbe87f14_744ae723-5459-4a15-8455-3cefafecb429.webp?v=1714709807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcc981ae8466d4de63a4a2a039bd962e649d24f_5fbb1acf-e3b5-412d-b68a-ab50cbe8022b.webp?v=1714709809","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cad7529b9a8a00f32e2c4856e0cb99b9d6b13b5_49f832f3-76b1-4114-8157-f38c98c7a98f.webp?v=1714709811","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a900c238105894a5cfe23504cbdf9ddc33bb77a_9738185d-7deb-435e-931c-9e67a7664985.webp?v=1714709814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5931e55f97cc52dedd5127443c6d571ed5789_5fc58e22-8f73-41e5-9a40-0ed17fb40850.webp?v=1714709818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77f4fde284a8541981104c2fc8fd254c3215ab_90c6f3e4-64c4-4c42-a9e8-70263c0977d5.webp?v=1714709823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c1bf0f02e7b0ae002dacbe4d59dc2a3b8c1a17_2ba7ef8d-9f9a-48a9-ad31-ba2e3e3044d9.webp?v=1714709825"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e05acd52a25bc2bc3abf43eb1feee185fc65be_f11702da-1929-4fb6-be60-2fe0a35bdb0c.webp?v=1714709804","options":["color"],"media":[{"alt":null,"id":23876320493667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e05acd52a25bc2bc3abf43eb1feee185fc65be_f11702da-1929-4fb6-be60-2fe0a35bdb0c.webp?v=1714709804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2e05acd52a25bc2bc3abf43eb1feee185fc65be_f11702da-1929-4fb6-be60-2fe0a35bdb0c.webp?v=1714709804","width":2000},{"alt":null,"id":23876321542243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3019eea76f037f0a58cab67675c5be91dbe87f14_744ae723-5459-4a15-8455-3cefafecb429.webp?v=1714709807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3019eea76f037f0a58cab67675c5be91dbe87f14_744ae723-5459-4a15-8455-3cefafecb429.webp?v=1714709807","width":2000},{"alt":null,"id":23876322066531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcc981ae8466d4de63a4a2a039bd962e649d24f_5fbb1acf-e3b5-412d-b68a-ab50cbe8022b.webp?v=1714709809"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbcc981ae8466d4de63a4a2a039bd962e649d24f_5fbb1acf-e3b5-412d-b68a-ab50cbe8022b.webp?v=1714709809","width":2000},{"alt":null,"id":23876322623587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cad7529b9a8a00f32e2c4856e0cb99b9d6b13b5_49f832f3-76b1-4114-8157-f38c98c7a98f.webp?v=1714709811"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cad7529b9a8a00f32e2c4856e0cb99b9d6b13b5_49f832f3-76b1-4114-8157-f38c98c7a98f.webp?v=1714709811","width":2000},{"alt":null,"id":23876322984035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a900c238105894a5cfe23504cbdf9ddc33bb77a_9738185d-7deb-435e-931c-9e67a7664985.webp?v=1714709814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a900c238105894a5cfe23504cbdf9ddc33bb77a_9738185d-7deb-435e-931c-9e67a7664985.webp?v=1714709814","width":2000},{"alt":null,"id":23876323508323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816","width":2000},{"alt":null,"id":23876324032611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5931e55f97cc52dedd5127443c6d571ed5789_5fc58e22-8f73-41e5-9a40-0ed17fb40850.webp?v=1714709818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05d5931e55f97cc52dedd5127443c6d571ed5789_5fc58e22-8f73-41e5-9a40-0ed17fb40850.webp?v=1714709818","width":2000},{"alt":null,"id":23876324491363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821","width":2000},{"alt":null,"id":23876324884579,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77f4fde284a8541981104c2fc8fd254c3215ab_90c6f3e4-64c4-4c42-a9e8-70263c0977d5.webp?v=1714709823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77f4fde284a8541981104c2fc8fd254c3215ab_90c6f3e4-64c4-4c42-a9e8-70263c0977d5.webp?v=1714709823","width":2000},{"alt":null,"id":23876325834851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c1bf0f02e7b0ae002dacbe4d59dc2a3b8c1a17_2ba7ef8d-9f9a-48a9-ad31-ba2e3e3044d9.webp?v=1714709825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5c1bf0f02e7b0ae002dacbe4d59dc2a3b8c1a17_2ba7ef8d-9f9a-48a9-ad31-ba2e3e3044d9.webp?v=1714709825","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883630043235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471417294947,"product_id":7408185802851,"position":6,"created_at":"2024-05-03T12:16:56+08:00","updated_at":"2024-05-03T12:16:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816","variant_ids":[41883630043235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列 - 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-PB97","featured_media":{"alt":null,"id":23876323508323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883630698595,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01232J5-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471418277987,"product_id":7408185802851,"position":8,"created_at":"2024-05-03T12:17:01+08:00","updated_at":"2024-05-03T12:17:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821","variant_ids":[41883630698595]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列 - 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-PB97","featured_media":{"alt":null,"id":23876324491363,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a7849280ed083fc2219fb85e905c8207599799_caf7a4e5-b885-4e3a-bd98-63edc944e2ae.webp?v=1714709821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883630043235,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0123224-PB97","requires_shipping":true,"taxable":true,"featured_image":{"id":31471417294947,"product_id":7408185802851,"position":6,"created_at":"2024-05-03T12:16:56+08:00","updated_at":"2024-05-03T12:16:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816","variant_ids":[41883630043235]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 Pro Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 天行者路克-復古系列 - 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-PB97","featured_media":{"alt":null,"id":23876323508323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1c18346c983e7952ea9adaac7fa2b26c7391cc_ec357443-47af-4859-b242-06f810dec55c.webp?v=1714709816"}},"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: "停產" }