$product = {"id":7408079143011,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 夏威夷系列-線稿","handle":"iphone-13-mini-mod-nx-printable-yf03","description":null,"published_at":"2024-06-11T16:30:49+08:00","created_at":"2024-05-03T11:55:25+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":41882440532067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471138799715,"product_id":7408079143011,"position":5,"created_at":"2024-05-03T11:55:39+08:00","updated_at":"2024-05-03T11:55:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539","variant_ids":[41882440532067]},"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-YF03","featured_media":{"alt":null,"id":23876044030051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882440597603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471138373731,"product_id":7408079143011,"position":4,"created_at":"2024-05-03T11:55:36+08:00","updated_at":"2024-05-03T11:55:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536","variant_ids":[41882440597603]},"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-YF03","featured_media":{"alt":null,"id":23876043571299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882440892515,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471137456227,"product_id":7408079143011,"position":2,"created_at":"2024-05-03T11:55:31+08:00","updated_at":"2024-05-03T11:55:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531","variant_ids":[41882440892515]},"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-YF03","featured_media":{"alt":null,"id":23876042653795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc57470c3da9df0b8294cf6c4b2284a56d5b2b1_ee315728-d024-42a5-81bc-602deb808f1c.webp?v=1714708528","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f5c603b971e288fd5b4357e68c893e687d43a31_23fba931-ffdd-4f87-b69c-55aef524ad0e.webp?v=1714708534","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fdc0782bb5f7f3769fe9f150f05296b9baf1e2_41e979df-3813-407d-8a8f-06260df82be4.webp?v=1714708541","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444c8f70e284c1bfd4a48bc8787f28b56df29a53_ec593d4b-5fbc-4323-9e81-ba2d062d0855.webp?v=1714708544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317f254882b901e1ef6c9a70059f7795ab01c005_a13ab27c-e063-4e61-bb77-bc1b126a1121.webp?v=1714708546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b7ee221b8a94ce9312964fe553edfb3514ca6a4_181d198c-5838-42a9-8d06-fdb4fe62a980.webp?v=1714708549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2a3a4d2c71025e9ba85d33cff4a04f61830e10_c27ed956-6e18-4da7-af79-42ac12f520d1.webp?v=1714708551"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc57470c3da9df0b8294cf6c4b2284a56d5b2b1_ee315728-d024-42a5-81bc-602deb808f1c.webp?v=1714708528","options":["color"],"media":[{"alt":null,"id":23876042391651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc57470c3da9df0b8294cf6c4b2284a56d5b2b1_ee315728-d024-42a5-81bc-602deb808f1c.webp?v=1714708528"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbc57470c3da9df0b8294cf6c4b2284a56d5b2b1_ee315728-d024-42a5-81bc-602deb808f1c.webp?v=1714708528","width":2000},{"alt":null,"id":23876042653795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531","width":2000},{"alt":null,"id":23876043178083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f5c603b971e288fd5b4357e68c893e687d43a31_23fba931-ffdd-4f87-b69c-55aef524ad0e.webp?v=1714708534"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f5c603b971e288fd5b4357e68c893e687d43a31_23fba931-ffdd-4f87-b69c-55aef524ad0e.webp?v=1714708534","width":2000},{"alt":null,"id":23876043571299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536","width":2000},{"alt":null,"id":23876044030051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539","width":2000},{"alt":null,"id":23876044259427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fdc0782bb5f7f3769fe9f150f05296b9baf1e2_41e979df-3813-407d-8a8f-06260df82be4.webp?v=1714708541"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fdc0782bb5f7f3769fe9f150f05296b9baf1e2_41e979df-3813-407d-8a8f-06260df82be4.webp?v=1714708541","width":2000},{"alt":null,"id":23876044652643,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444c8f70e284c1bfd4a48bc8787f28b56df29a53_ec593d4b-5fbc-4323-9e81-ba2d062d0855.webp?v=1714708544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444c8f70e284c1bfd4a48bc8787f28b56df29a53_ec593d4b-5fbc-4323-9e81-ba2d062d0855.webp?v=1714708544","width":2000},{"alt":null,"id":23876045111395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317f254882b901e1ef6c9a70059f7795ab01c005_a13ab27c-e063-4e61-bb77-bc1b126a1121.webp?v=1714708546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/317f254882b901e1ef6c9a70059f7795ab01c005_a13ab27c-e063-4e61-bb77-bc1b126a1121.webp?v=1714708546","width":2000},{"alt":null,"id":23876045504611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b7ee221b8a94ce9312964fe553edfb3514ca6a4_181d198c-5838-42a9-8d06-fdb4fe62a980.webp?v=1714708549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b7ee221b8a94ce9312964fe553edfb3514ca6a4_181d198c-5838-42a9-8d06-fdb4fe62a980.webp?v=1714708549","width":2000},{"alt":null,"id":23876045733987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2a3a4d2c71025e9ba85d33cff4a04f61830e10_c27ed956-6e18-4da7-af79-42ac12f520d1.webp?v=1714708551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae2a3a4d2c71025e9ba85d33cff4a04f61830e10_c27ed956-6e18-4da7-af79-42ac12f520d1.webp?v=1714708551","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882440532067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471138799715,"product_id":7408079143011,"position":5,"created_at":"2024-05-03T11:55:39+08:00","updated_at":"2024-05-03T11:55:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539","variant_ids":[41882440532067]},"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-YF03","featured_media":{"alt":null,"id":23876044030051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882440597603,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471138373731,"product_id":7408079143011,"position":4,"created_at":"2024-05-03T11:55:36+08:00","updated_at":"2024-05-03T11:55:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536","variant_ids":[41882440597603]},"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-YF03","featured_media":{"alt":null,"id":23876043571299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abe4f5f253b3bb2c5776ab106cd586a146f288e1_013def49-a965-4c93-8755-f265c45c2ab2.webp?v=1714708536"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882440892515,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471137456227,"product_id":7408079143011,"position":2,"created_at":"2024-05-03T11:55:31+08:00","updated_at":"2024-05-03T11:55:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531","variant_ids":[41882440892515]},"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-YF03","featured_media":{"alt":null,"id":23876042653795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63c57abe80ccf3576a1fd2ef203786bd74082811_0e5d9055-c293-4ccd-a0c7-469bf0b86cb6.webp?v=1714708531"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882440532067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471138799715,"product_id":7408079143011,"position":5,"created_at":"2024-05-03T11:55:39+08:00","updated_at":"2024-05-03T11:55:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539","variant_ids":[41882440532067]},"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-YF03","featured_media":{"alt":null,"id":23876044030051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09a5f7fc34ce83849c623e26d02462b50cac6d68_517d9056-2d8b-4f2a-a94f-e401aeebae5b.webp?v=1714708539"}},"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: "停產" }