$product = {"id":7408052863075,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪","handle":"iphone-13-mini-mod-nx-printable-yf06","description":null,"published_at":"2024-06-11T16:30:07+08:00","created_at":"2024-05-03T11:49:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41882146570339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471071461475,"product_id":7408052863075,"position":4,"created_at":"2024-05-03T11:49:55+08:00","updated_at":"2024-05-03T11:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195","variant_ids":[41882146570339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB0122824-YF06","featured_media":{"alt":null,"id":23875976527971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882146635875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471071920227,"product_id":7408052863075,"position":5,"created_at":"2024-05-03T11:49:57+08:00","updated_at":"2024-05-03T11:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197","variant_ids":[41882146635875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB0122804-YF06","featured_media":{"alt":null,"id":23875977052259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882146930787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471072444515,"product_id":7408052863075,"position":6,"created_at":"2024-05-03T11:50:00+08:00","updated_at":"2024-05-03T11:50:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200","variant_ids":[41882146930787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB01228J5-YF06","featured_media":{"alt":null,"id":23875977511011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59706887c5d4daaa8097f30876429f7c120fd9a6_2385dc55-a2ac-45a9-8195-29070ad5b7f9.webp?v=1714708188","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ba40e12eebf8072df99ce487dbf6598c67ac4b_6e0da082-1cf5-478b-a4ae-63be3210cd2c.webp?v=1714708190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c65dd534a497d29623790e1bbb0771761f685d_4d6c62eb-baf9-49a4-99f5-94442281ccce.webp?v=1714708192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14d5695148d0749ffa905329a3b8d6ff5a0f6c4_8f9199ce-962d-4a5e-99e4-5c09b3a012dc.webp?v=1714708202","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8035dfc0cd3600528b43629186285600c264199c_7e1cb7c0-2285-4ddd-9459-60d857c09e9e.webp?v=1714708204","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5db61cb726d67e742e4983bf3ebd83d735124f_be399284-b637-4026-b44b-469f21b717ff.webp?v=1714708207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad15534aacb151f027a6aff321c6e99e7f6b3702_cc019396-4d5c-49f7-9327-7dec8861456b.webp?v=1714708209"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59706887c5d4daaa8097f30876429f7c120fd9a6_2385dc55-a2ac-45a9-8195-29070ad5b7f9.webp?v=1714708188","options":["color"],"media":[{"alt":null,"id":23875974987875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59706887c5d4daaa8097f30876429f7c120fd9a6_2385dc55-a2ac-45a9-8195-29070ad5b7f9.webp?v=1714708188"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59706887c5d4daaa8097f30876429f7c120fd9a6_2385dc55-a2ac-45a9-8195-29070ad5b7f9.webp?v=1714708188","width":2000},{"alt":null,"id":23875975348323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ba40e12eebf8072df99ce487dbf6598c67ac4b_6e0da082-1cf5-478b-a4ae-63be3210cd2c.webp?v=1714708190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32ba40e12eebf8072df99ce487dbf6598c67ac4b_6e0da082-1cf5-478b-a4ae-63be3210cd2c.webp?v=1714708190","width":2000},{"alt":null,"id":23875975807075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c65dd534a497d29623790e1bbb0771761f685d_4d6c62eb-baf9-49a4-99f5-94442281ccce.webp?v=1714708192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c65dd534a497d29623790e1bbb0771761f685d_4d6c62eb-baf9-49a4-99f5-94442281ccce.webp?v=1714708192","width":2000},{"alt":null,"id":23875976527971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195","width":2000},{"alt":null,"id":23875977052259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197","width":2000},{"alt":null,"id":23875977511011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200","width":2000},{"alt":null,"id":23875978068067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14d5695148d0749ffa905329a3b8d6ff5a0f6c4_8f9199ce-962d-4a5e-99e4-5c09b3a012dc.webp?v=1714708202"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14d5695148d0749ffa905329a3b8d6ff5a0f6c4_8f9199ce-962d-4a5e-99e4-5c09b3a012dc.webp?v=1714708202","width":2000},{"alt":null,"id":23875978526819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8035dfc0cd3600528b43629186285600c264199c_7e1cb7c0-2285-4ddd-9459-60d857c09e9e.webp?v=1714708204"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8035dfc0cd3600528b43629186285600c264199c_7e1cb7c0-2285-4ddd-9459-60d857c09e9e.webp?v=1714708204","width":2000},{"alt":null,"id":23875979247715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5db61cb726d67e742e4983bf3ebd83d735124f_be399284-b637-4026-b44b-469f21b717ff.webp?v=1714708207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f5db61cb726d67e742e4983bf3ebd83d735124f_be399284-b637-4026-b44b-469f21b717ff.webp?v=1714708207","width":2000},{"alt":null,"id":23875979706467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad15534aacb151f027a6aff321c6e99e7f6b3702_cc019396-4d5c-49f7-9327-7dec8861456b.webp?v=1714708209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad15534aacb151f027a6aff321c6e99e7f6b3702_cc019396-4d5c-49f7-9327-7dec8861456b.webp?v=1714708209","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882146570339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471071461475,"product_id":7408052863075,"position":4,"created_at":"2024-05-03T11:49:55+08:00","updated_at":"2024-05-03T11:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195","variant_ids":[41882146570339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB0122824-YF06","featured_media":{"alt":null,"id":23875976527971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882146635875,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471071920227,"product_id":7408052863075,"position":5,"created_at":"2024-05-03T11:49:57+08:00","updated_at":"2024-05-03T11:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197","variant_ids":[41882146635875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB0122804-YF06","featured_media":{"alt":null,"id":23875977052259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aac066afc1ba8e60973320005f85f4ee4b491ee3_93d0ca5f-0b68-4287-ab4d-0c1954d5abf3.webp?v=1714708197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882146930787,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471072444515,"product_id":7408052863075,"position":6,"created_at":"2024-05-03T11:50:00+08:00","updated_at":"2024-05-03T11:50:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200","variant_ids":[41882146930787]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB01228J5-YF06","featured_media":{"alt":null,"id":23875977511011,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90dbab2b4946a54f15dce93ca0adb79d78e741f1_33490b4e-f43c-4695-bfe6-116134b0d21d.webp?v=1714708200"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882146570339,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31471071461475,"product_id":7408052863075,"position":4,"created_at":"2024-05-03T11:49:55+08:00","updated_at":"2024-05-03T11:49:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195","variant_ids":[41882146570339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-每天搞怪 - 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":"NPB0122824-YF06","featured_media":{"alt":null,"id":23875976527971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85af67f179cc1cb67630b2df8d2d46493b0d9381_e1b3861d-e7d1-4da9-bdf8-838d2679b5c5.webp?v=1714708195"}},"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: "停產" }