$product = {"id":7407760539747,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝","handle":"iphone-14-pro-mod-nx-printable-yf04","description":null,"published_at":"2024-06-11T16:22:52+08:00","created_at":"2024-05-03T10:48:51+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 14 Pro","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":41878516990051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470342078563,"product_id":7407760539747,"position":10,"created_at":"2024-05-03T10:49:18+08:00","updated_at":"2024-05-03T10:49:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558","variant_ids":[41878516990051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB0126224-YF04","featured_media":{"alt":null,"id":23875245277283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878517055587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470340014179,"product_id":7407760539747,"position":7,"created_at":"2024-05-03T10:49:10+08:00","updated_at":"2024-05-03T10:49:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550","variant_ids":[41878517055587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB0126204-YF04","featured_media":{"alt":null,"id":23875243147363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878517284963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470337949795,"product_id":7407760539747,"position":4,"created_at":"2024-05-03T10:49:02+08:00","updated_at":"2024-05-03T10:49:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542","variant_ids":[41878517284963]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB01262J5-YF04","featured_media":{"alt":null,"id":23875241148515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4bbb95b1aae8bd5784965e0a314f67d27abb01_bb83e71f-a1e6-4ac2-9b31-da765da5dda4.webp?v=1714704533","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225c20f2fb58f7190c00cbd1a7bdd621a24cbc53_b8ea8e41-5d63-4399-ac9d-6219a7df87fe.webp?v=1714704536","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66270a1423caabe68bd47b0406cd55593f3b4e59_5514b800-a69e-4639-9b57-df0849648990.webp?v=1714704540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff3e600dd9672743bb0e26bf41a77f50e49001eb_7945835e-3e3b-44e0-a2f0-e4acdcacb766.webp?v=1714704545","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d5a26d5783d764d16f162968452504d5f104fe_af144357-84a4-4741-babc-4801ddee4ffc.webp?v=1714704547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51d04e9f233105c131d53e7ef527dfb1f792d8e0_ba383f84-0340-42fb-bc9d-ac367c6fa8d9.webp?v=1714704553","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c71c0b67970cb3e49a94a9fae457557e945516c_00f31f49-ba42-4897-9384-3208befbe978.webp?v=1714704555","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4bbb95b1aae8bd5784965e0a314f67d27abb01_bb83e71f-a1e6-4ac2-9b31-da765da5dda4.webp?v=1714704533","options":["color"],"media":[{"alt":null,"id":23875239182435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4bbb95b1aae8bd5784965e0a314f67d27abb01_bb83e71f-a1e6-4ac2-9b31-da765da5dda4.webp?v=1714704533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4bbb95b1aae8bd5784965e0a314f67d27abb01_bb83e71f-a1e6-4ac2-9b31-da765da5dda4.webp?v=1714704533","width":2000},{"alt":null,"id":23875239903331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225c20f2fb58f7190c00cbd1a7bdd621a24cbc53_b8ea8e41-5d63-4399-ac9d-6219a7df87fe.webp?v=1714704536"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225c20f2fb58f7190c00cbd1a7bdd621a24cbc53_b8ea8e41-5d63-4399-ac9d-6219a7df87fe.webp?v=1714704536","width":2000},{"alt":null,"id":23875240558691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66270a1423caabe68bd47b0406cd55593f3b4e59_5514b800-a69e-4639-9b57-df0849648990.webp?v=1714704540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66270a1423caabe68bd47b0406cd55593f3b4e59_5514b800-a69e-4639-9b57-df0849648990.webp?v=1714704540","width":2000},{"alt":null,"id":23875241148515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542","width":2000},{"alt":null,"id":23875241869411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff3e600dd9672743bb0e26bf41a77f50e49001eb_7945835e-3e3b-44e0-a2f0-e4acdcacb766.webp?v=1714704545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff3e600dd9672743bb0e26bf41a77f50e49001eb_7945835e-3e3b-44e0-a2f0-e4acdcacb766.webp?v=1714704545","width":2000},{"alt":null,"id":23875242492003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d5a26d5783d764d16f162968452504d5f104fe_af144357-84a4-4741-babc-4801ddee4ffc.webp?v=1714704547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24d5a26d5783d764d16f162968452504d5f104fe_af144357-84a4-4741-babc-4801ddee4ffc.webp?v=1714704547","width":2000},{"alt":null,"id":23875243147363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550","width":2000},{"alt":null,"id":23875244032099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51d04e9f233105c131d53e7ef527dfb1f792d8e0_ba383f84-0340-42fb-bc9d-ac367c6fa8d9.webp?v=1714704553"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51d04e9f233105c131d53e7ef527dfb1f792d8e0_ba383f84-0340-42fb-bc9d-ac367c6fa8d9.webp?v=1714704553","width":2000},{"alt":null,"id":23875244687459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c71c0b67970cb3e49a94a9fae457557e945516c_00f31f49-ba42-4897-9384-3208befbe978.webp?v=1714704555"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c71c0b67970cb3e49a94a9fae457557e945516c_00f31f49-ba42-4897-9384-3208befbe978.webp?v=1714704555","width":2000},{"alt":null,"id":23875245277283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41878516990051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470342078563,"product_id":7407760539747,"position":10,"created_at":"2024-05-03T10:49:18+08:00","updated_at":"2024-05-03T10:49:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558","variant_ids":[41878516990051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB0126224-YF04","featured_media":{"alt":null,"id":23875245277283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878517055587,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470340014179,"product_id":7407760539747,"position":7,"created_at":"2024-05-03T10:49:10+08:00","updated_at":"2024-05-03T10:49:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550","variant_ids":[41878517055587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB0126204-YF04","featured_media":{"alt":null,"id":23875243147363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03239e05c3040aac4db4120756d95f580fccd3a_79be5327-082f-4a69-83ac-29f1125d0ec5.webp?v=1714704550"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41878517284963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470337949795,"product_id":7407760539747,"position":4,"created_at":"2024-05-03T10:49:02+08:00","updated_at":"2024-05-03T10:49:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542","variant_ids":[41878517284963]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB01262J5-YF04","featured_media":{"alt":null,"id":23875241148515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb69d6558c3a51b2056706b3ed0ed0a856f365e_563ad95e-edba-486f-958a-99b6a869a93e.webp?v=1714704542"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41878516990051,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470342078563,"product_id":7407760539747,"position":10,"created_at":"2024-05-03T10:49:18+08:00","updated_at":"2024-05-03T10:49:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558","variant_ids":[41878516990051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 熱帶音樂系列-慶祝 - 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":"NPB0126224-YF04","featured_media":{"alt":null,"id":23875245277283,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b21306b1b49afcb21a9bf3d4528e2f4e1c5b271_c16bac99-f012-427e-98a1-c62c59b867e5.webp?v=1714704558"}},"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: "停產" }