$product = {"id":7408093003875,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花","handle":"iphone-13-mini-mod-nx-printable-gd14","description":null,"published_at":"2024-06-11T16:31:12+08:00","created_at":"2024-05-03T11:58:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 13 mini","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","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":41882597163107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471177367651,"product_id":7408093003875,"position":6,"created_at":"2024-05-03T11:58:46+08:00","updated_at":"2024-05-03T11:58:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726","variant_ids":[41882597163107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-GD14","featured_media":{"alt":null,"id":23876082761827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882597228643,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471175401571,"product_id":7408093003875,"position":2,"created_at":"2024-05-03T11:58:37+08:00","updated_at":"2024-05-03T11:58:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717","variant_ids":[41882597228643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-GD14","featured_media":{"alt":null,"id":23876080730211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882597458019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471176581219,"product_id":7408093003875,"position":4,"created_at":"2024-05-03T11:58:41+08:00","updated_at":"2024-05-03T11:58:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721","variant_ids":[41882597458019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-GD14","featured_media":{"alt":null,"id":23876081909859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739103a0fed5a354f4fc1c660a52da1ec3b6a3f6_c88df9c5-1355-4de2-bad6-3add6c598dbe.webp?v=1714708714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28eb9f55384779dcf4bd2fee585a238cb9cb6777_010be572-dc41-437d-a88f-7fc0746a80b8.webp?v=1714708719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a62b267465be9bc751a559df320ffe3a1c4de15_4afaf1c8-d084-4250-971f-24e7cdb6b23b.webp?v=1714708724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71528542a04f2397454d641dc625e6ce5c785d74_510f8b20-860f-4da7-b260-04dabcc276b9.webp?v=1714708729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a878e22426b62c8c156e980980b6951608323d4_77a4719c-684a-46f1-85c8-6f474289bcca.webp?v=1714708731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6862cb42cbdfd5d874ce56ec73bd91afb1d497_a55d5f62-f4a5-4ca7-ad78-bb0ff85f9a06.webp?v=1714708733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a6f5b3d766a2f38965315d53dad294534181d_d92b0d61-ad16-42d5-9e72-c14ede64cd1c.webp?v=1714708736"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739103a0fed5a354f4fc1c660a52da1ec3b6a3f6_c88df9c5-1355-4de2-bad6-3add6c598dbe.webp?v=1714708714","options":["color"],"media":[{"alt":null,"id":23876080205923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739103a0fed5a354f4fc1c660a52da1ec3b6a3f6_c88df9c5-1355-4de2-bad6-3add6c598dbe.webp?v=1714708714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739103a0fed5a354f4fc1c660a52da1ec3b6a3f6_c88df9c5-1355-4de2-bad6-3add6c598dbe.webp?v=1714708714","width":2000},{"alt":null,"id":23876080730211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717","width":2000},{"alt":null,"id":23876081123427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28eb9f55384779dcf4bd2fee585a238cb9cb6777_010be572-dc41-437d-a88f-7fc0746a80b8.webp?v=1714708719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28eb9f55384779dcf4bd2fee585a238cb9cb6777_010be572-dc41-437d-a88f-7fc0746a80b8.webp?v=1714708719","width":2000},{"alt":null,"id":23876081909859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721","width":2000},{"alt":null,"id":23876082270307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a62b267465be9bc751a559df320ffe3a1c4de15_4afaf1c8-d084-4250-971f-24e7cdb6b23b.webp?v=1714708724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a62b267465be9bc751a559df320ffe3a1c4de15_4afaf1c8-d084-4250-971f-24e7cdb6b23b.webp?v=1714708724","width":2000},{"alt":null,"id":23876082761827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726","width":2000},{"alt":null,"id":23876083089507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71528542a04f2397454d641dc625e6ce5c785d74_510f8b20-860f-4da7-b260-04dabcc276b9.webp?v=1714708729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71528542a04f2397454d641dc625e6ce5c785d74_510f8b20-860f-4da7-b260-04dabcc276b9.webp?v=1714708729","width":2000},{"alt":null,"id":23876083515491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a878e22426b62c8c156e980980b6951608323d4_77a4719c-684a-46f1-85c8-6f474289bcca.webp?v=1714708731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a878e22426b62c8c156e980980b6951608323d4_77a4719c-684a-46f1-85c8-6f474289bcca.webp?v=1714708731","width":2000},{"alt":null,"id":23876084007011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6862cb42cbdfd5d874ce56ec73bd91afb1d497_a55d5f62-f4a5-4ca7-ad78-bb0ff85f9a06.webp?v=1714708733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6862cb42cbdfd5d874ce56ec73bd91afb1d497_a55d5f62-f4a5-4ca7-ad78-bb0ff85f9a06.webp?v=1714708733","width":2000},{"alt":null,"id":23876084400227,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a6f5b3d766a2f38965315d53dad294534181d_d92b0d61-ad16-42d5-9e72-c14ede64cd1c.webp?v=1714708736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb4a6f5b3d766a2f38965315d53dad294534181d_d92b0d61-ad16-42d5-9e72-c14ede64cd1c.webp?v=1714708736","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882597163107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471177367651,"product_id":7408093003875,"position":6,"created_at":"2024-05-03T11:58:46+08:00","updated_at":"2024-05-03T11:58:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726","variant_ids":[41882597163107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-GD14","featured_media":{"alt":null,"id":23876082761827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882597228643,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471175401571,"product_id":7408093003875,"position":2,"created_at":"2024-05-03T11:58:37+08:00","updated_at":"2024-05-03T11:58:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717","variant_ids":[41882597228643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-GD14","featured_media":{"alt":null,"id":23876080730211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9d4ed0d024f4431db4e2d1162bfd42307ead9d9_d8f68094-7124-4774-9309-b03c8181a7eb.webp?v=1714708717"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882597458019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471176581219,"product_id":7408093003875,"position":4,"created_at":"2024-05-03T11:58:41+08:00","updated_at":"2024-05-03T11:58:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721","variant_ids":[41882597458019]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-GD14","featured_media":{"alt":null,"id":23876081909859,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2327c95fd410122671fb8bebe169b6f3268cbdd2_8cb3d365-9b8d-4225-84a1-a8f6b768133a.webp?v=1714708721"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882597163107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31471177367651,"product_id":7408093003875,"position":6,"created_at":"2024-05-03T11:58:46+08:00","updated_at":"2024-05-03T11:58:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726","variant_ids":[41882597163107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-GD14","featured_media":{"alt":null,"id":23876082761827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20f5316a2eee84f83ac076e2609dd6f3c631e538_4db62ed6-f846-4678-83b9-1e316542ae25.webp?v=1714708726"}},"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: "停產" }