$product = {"id":7408250388579,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 史迪奇 - 熱帶音樂系列-慶祝","handle":"iphone-13-mini-mod-nx-printable-yf04","description":null,"published_at":"2024-06-11T16:35:25+08:00","created_at":"2024-05-03T12:29:27+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":41884307423331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471583199331,"product_id":7408250388579,"position":5,"created_at":"2024-05-03T12:29:39+08:00","updated_at":"2024-05-03T12:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579","variant_ids":[41884307423331]},"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-YF04","featured_media":{"alt":null,"id":23876490199139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884307488867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471584051299,"product_id":7408250388579,"position":8,"created_at":"2024-05-03T12:29:46+08:00","updated_at":"2024-05-03T12:29:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586","variant_ids":[41884307488867]},"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-YF04","featured_media":{"alt":null,"id":23876491083875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884307718243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471582642275,"product_id":7408250388579,"position":4,"created_at":"2024-05-03T12:29:36+08:00","updated_at":"2024-05-03T12:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576","variant_ids":[41884307718243]},"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-YF04","featured_media":{"alt":null,"id":23876489642083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f494c3847c0d4785f5a58eef492e02a2f13d9b_fc79059d-467a-476d-a9c7-29b934fee710.webp?v=1714710569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d666f79d30cea190d19830112283b2e24ce626b_9e838ea0-22fd-49ec-869f-aafb109c9bf5.webp?v=1714710572","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d33e8bb6a3ad9e50a8068d4de0feb4cd6d39080_00327e40-dfdc-4dd3-b3bb-df4cbfd8df9d.webp?v=1714710574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f42e01b24aac4f98e17153037f5e1a11d741af90_72ddd8c0-dfe9-4d37-9779-22220f1a0a35.webp?v=1714710581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a7afc7136f6f07138c7223526288f85c392593_2a3754fe-24b6-484b-b423-a4a86da0cb01.webp?v=1714710583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776a980ba7ddde63fd9bb8837945f95f440ac2b9_77c6bb62-2606-4c4e-96c8-4e080866b649.webp?v=1714710588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f28ef9b4dcd4200c535011e3f29910095672911b_7c81c32a-f724-4fb7-86d6-a2b1eaf486b4.webp?v=1714710591"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f494c3847c0d4785f5a58eef492e02a2f13d9b_fc79059d-467a-476d-a9c7-29b934fee710.webp?v=1714710569","options":["color"],"media":[{"alt":null,"id":23876487905379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f494c3847c0d4785f5a58eef492e02a2f13d9b_fc79059d-467a-476d-a9c7-29b934fee710.webp?v=1714710569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f494c3847c0d4785f5a58eef492e02a2f13d9b_fc79059d-467a-476d-a9c7-29b934fee710.webp?v=1714710569","width":2000},{"alt":null,"id":23876488429667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d666f79d30cea190d19830112283b2e24ce626b_9e838ea0-22fd-49ec-869f-aafb109c9bf5.webp?v=1714710572"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d666f79d30cea190d19830112283b2e24ce626b_9e838ea0-22fd-49ec-869f-aafb109c9bf5.webp?v=1714710572","width":2000},{"alt":null,"id":23876489183331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d33e8bb6a3ad9e50a8068d4de0feb4cd6d39080_00327e40-dfdc-4dd3-b3bb-df4cbfd8df9d.webp?v=1714710574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d33e8bb6a3ad9e50a8068d4de0feb4cd6d39080_00327e40-dfdc-4dd3-b3bb-df4cbfd8df9d.webp?v=1714710574","width":2000},{"alt":null,"id":23876489642083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576","width":2000},{"alt":null,"id":23876490199139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579","width":2000},{"alt":null,"id":23876490428515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f42e01b24aac4f98e17153037f5e1a11d741af90_72ddd8c0-dfe9-4d37-9779-22220f1a0a35.webp?v=1714710581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f42e01b24aac4f98e17153037f5e1a11d741af90_72ddd8c0-dfe9-4d37-9779-22220f1a0a35.webp?v=1714710581","width":2000},{"alt":null,"id":23876490657891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a7afc7136f6f07138c7223526288f85c392593_2a3754fe-24b6-484b-b423-a4a86da0cb01.webp?v=1714710583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30a7afc7136f6f07138c7223526288f85c392593_2a3754fe-24b6-484b-b423-a4a86da0cb01.webp?v=1714710583","width":2000},{"alt":null,"id":23876491083875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586","width":2000},{"alt":null,"id":23876491247715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776a980ba7ddde63fd9bb8837945f95f440ac2b9_77c6bb62-2606-4c4e-96c8-4e080866b649.webp?v=1714710588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776a980ba7ddde63fd9bb8837945f95f440ac2b9_77c6bb62-2606-4c4e-96c8-4e080866b649.webp?v=1714710588","width":2000},{"alt":null,"id":23876491411555,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f28ef9b4dcd4200c535011e3f29910095672911b_7c81c32a-f724-4fb7-86d6-a2b1eaf486b4.webp?v=1714710591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f28ef9b4dcd4200c535011e3f29910095672911b_7c81c32a-f724-4fb7-86d6-a2b1eaf486b4.webp?v=1714710591","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41884307423331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471583199331,"product_id":7408250388579,"position":5,"created_at":"2024-05-03T12:29:39+08:00","updated_at":"2024-05-03T12:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579","variant_ids":[41884307423331]},"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-YF04","featured_media":{"alt":null,"id":23876490199139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884307488867,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471584051299,"product_id":7408250388579,"position":8,"created_at":"2024-05-03T12:29:46+08:00","updated_at":"2024-05-03T12:29:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586","variant_ids":[41884307488867]},"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-YF04","featured_media":{"alt":null,"id":23876491083875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3920084bafcb64d7bbbac39b2ea1ceb6eb10dd1e_657b7c70-e449-46ec-8e91-ce61f138c57d.webp?v=1714710586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41884307718243,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471582642275,"product_id":7408250388579,"position":4,"created_at":"2024-05-03T12:29:36+08:00","updated_at":"2024-05-03T12:29:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576","variant_ids":[41884307718243]},"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-YF04","featured_media":{"alt":null,"id":23876489642083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5ff5eaabc15cd742ac161362d675bafe9a9416_dd2add6b-9d86-4951-b7da-528bc8ec3322.webp?v=1714710576"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41884307423331,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31471583199331,"product_id":7408250388579,"position":5,"created_at":"2024-05-03T12:29:39+08:00","updated_at":"2024-05-03T12:29:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579","variant_ids":[41884307423331]},"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-YF04","featured_media":{"alt":null,"id":23876490199139,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6defe090188922303d0071dac1b18d81b7c5e42a_a99f8571-7da6-4300-ad9e-3bc6db327280.webp?v=1714710579"}},"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: "停產" }