$product = {"id":7408064561251,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 貼紙系列-夏威夷舞蹈","handle":"iphone-13-mini-mod-nx-printable-yf07","description":null,"published_at":"2024-06-11T16:30:26+08:00","created_at":"2024-05-03T11:52:13+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":41882279673955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471101476963,"product_id":7408064561251,"position":6,"created_at":"2024-05-03T11:52:28+08:00","updated_at":"2024-05-03T11:52:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348","variant_ids":[41882279673955]},"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-YF07","featured_media":{"alt":null,"id":23876006608995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882279870563,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471099838563,"product_id":7408064561251,"position":2,"created_at":"2024-05-03T11:52:18+08:00","updated_at":"2024-05-03T11:52:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338","variant_ids":[41882279870563]},"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-YF07","featured_media":{"alt":null,"id":23876004970595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882280296547,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471103705187,"product_id":7408064561251,"position":10,"created_at":"2024-05-03T11:52:38+08:00","updated_at":"2024-05-03T11:52:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358","variant_ids":[41882280296547]},"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-YF07","featured_media":{"alt":null,"id":23876008673379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eebc6a774e44983d5519ddedc09ac286554ea92_d88e0394-2287-45eb-bdab-0a5f3b8e018b.webp?v=1714708336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f390a75d2d86fb77dd80954ffc335c282f6ddd6c_34604a6b-f2d6-4f60-969e-06a59b786c9c.webp?v=1714708341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d54119482c9f7ada0f35656ca5b78b61f167cb0_d44a2532-356f-4fec-9709-e6454b248242.webp?v=1714708343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb26bf80208335a51636f81bbc60128733994db_f8c8ad06-a629-42bf-aadf-250aeb0a658c.webp?v=1714708346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0313a16ee083c02eabf5457801384ccbd375600f_9fb7053d-3dc0-47b0-9bb5-f7c87d33a203.webp?v=1714708351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/711b970772c3940188b0af9e269617f62ba58eb9_92754519-75b8-442b-b49f-a6af2d29b3d2.webp?v=1714708353","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccaa62ec0cb588485c7754faf357bda282f83003_27bb1a2c-866c-4996-9c86-9b0fb62f0b48.webp?v=1714708356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eebc6a774e44983d5519ddedc09ac286554ea92_d88e0394-2287-45eb-bdab-0a5f3b8e018b.webp?v=1714708336","options":["color"],"media":[{"alt":null,"id":23876004577379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eebc6a774e44983d5519ddedc09ac286554ea92_d88e0394-2287-45eb-bdab-0a5f3b8e018b.webp?v=1714708336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3eebc6a774e44983d5519ddedc09ac286554ea92_d88e0394-2287-45eb-bdab-0a5f3b8e018b.webp?v=1714708336","width":2000},{"alt":null,"id":23876004970595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338","width":2000},{"alt":null,"id":23876005527651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f390a75d2d86fb77dd80954ffc335c282f6ddd6c_34604a6b-f2d6-4f60-969e-06a59b786c9c.webp?v=1714708341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f390a75d2d86fb77dd80954ffc335c282f6ddd6c_34604a6b-f2d6-4f60-969e-06a59b786c9c.webp?v=1714708341","width":2000},{"alt":null,"id":23876005789795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d54119482c9f7ada0f35656ca5b78b61f167cb0_d44a2532-356f-4fec-9709-e6454b248242.webp?v=1714708343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d54119482c9f7ada0f35656ca5b78b61f167cb0_d44a2532-356f-4fec-9709-e6454b248242.webp?v=1714708343","width":2000},{"alt":null,"id":23876006346851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb26bf80208335a51636f81bbc60128733994db_f8c8ad06-a629-42bf-aadf-250aeb0a658c.webp?v=1714708346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ffb26bf80208335a51636f81bbc60128733994db_f8c8ad06-a629-42bf-aadf-250aeb0a658c.webp?v=1714708346","width":2000},{"alt":null,"id":23876006608995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348","width":2000},{"alt":null,"id":23876007329891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0313a16ee083c02eabf5457801384ccbd375600f_9fb7053d-3dc0-47b0-9bb5-f7c87d33a203.webp?v=1714708351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0313a16ee083c02eabf5457801384ccbd375600f_9fb7053d-3dc0-47b0-9bb5-f7c87d33a203.webp?v=1714708351","width":2000},{"alt":null,"id":23876007821411,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/711b970772c3940188b0af9e269617f62ba58eb9_92754519-75b8-442b-b49f-a6af2d29b3d2.webp?v=1714708353"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/711b970772c3940188b0af9e269617f62ba58eb9_92754519-75b8-442b-b49f-a6af2d29b3d2.webp?v=1714708353","width":2000},{"alt":null,"id":23876008214627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccaa62ec0cb588485c7754faf357bda282f83003_27bb1a2c-866c-4996-9c86-9b0fb62f0b48.webp?v=1714708356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccaa62ec0cb588485c7754faf357bda282f83003_27bb1a2c-866c-4996-9c86-9b0fb62f0b48.webp?v=1714708356","width":2000},{"alt":null,"id":23876008673379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882279673955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471101476963,"product_id":7408064561251,"position":6,"created_at":"2024-05-03T11:52:28+08:00","updated_at":"2024-05-03T11:52:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348","variant_ids":[41882279673955]},"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-YF07","featured_media":{"alt":null,"id":23876006608995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882279870563,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471099838563,"product_id":7408064561251,"position":2,"created_at":"2024-05-03T11:52:18+08:00","updated_at":"2024-05-03T11:52:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338","variant_ids":[41882279870563]},"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-YF07","featured_media":{"alt":null,"id":23876004970595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ba3470ed7bbeee75be40e686df4619d76e05a6_8ca7ba85-3843-4563-8adb-3820751aa141.webp?v=1714708338"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882280296547,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471103705187,"product_id":7408064561251,"position":10,"created_at":"2024-05-03T11:52:38+08:00","updated_at":"2024-05-03T11:52:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358","variant_ids":[41882280296547]},"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-YF07","featured_media":{"alt":null,"id":23876008673379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cd9b52caf5a71604d4d8811085b1fb75f82b24_f1b5db33-8c1e-4fe1-9f0b-20d91211b349.webp?v=1714708358"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882279673955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31471101476963,"product_id":7408064561251,"position":6,"created_at":"2024-05-03T11:52:28+08:00","updated_at":"2024-05-03T11:52:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348","variant_ids":[41882279673955]},"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-YF07","featured_media":{"alt":null,"id":23876006608995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f479ce7facbff4c7b20b2d569c8133e9c01ad69_f901feed-ad24-4ce5-a74a-ab932d0c265e.webp?v=1714708348"}},"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: "停產" }