$product = {"id":7407921594467,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-史迪奇大臉款","handle":"iphone-14-pro-mod-nx-printable-yf01","description":null,"published_at":"2024-06-11T16:26:36+08:00","created_at":"2024-05-03T11:16:18+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":41880555552867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470705115235,"product_id":7407921594467,"position":5,"created_at":"2024-05-03T11:16:30+08:00","updated_at":"2024-05-03T11:16:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190","variant_ids":[41880555552867]},"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-YF01","featured_media":{"alt":null,"id":23875609296995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880555618403,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470706229347,"product_id":7407921594467,"position":7,"created_at":"2024-05-03T11:16:34+08:00","updated_at":"2024-05-03T11:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194","variant_ids":[41880555618403]},"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-YF01","featured_media":{"alt":null,"id":23875610280035,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880555847779,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470704656483,"product_id":7407921594467,"position":4,"created_at":"2024-05-03T11:16:27+08:00","updated_at":"2024-05-03T11:16:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187","variant_ids":[41880555847779]},"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-YF01","featured_media":{"alt":null,"id":23875608707171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c24e532b3c19623787d96ea10d52f921a1864c50_777a5445-30cb-4eab-99cb-c68b9e53fd8e.webp?v=1714706181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1612a6203568e681b5b78d688491cfe36eadd78_a337613d-79db-41c1-b468-160cec7583f5.webp?v=1714706183","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7d53066dfe6637145d1c89973a6088f529e029_4ed86b29-abc1-43d6-b784-e09a2c54da52.webp?v=1714706185","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8de9283906ae7f70efb9348100a71922e41d634_bfb176eb-39a2-4d00-8a50-df7485c179e9.webp?v=1714706192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2dd5770a0d35148e549ea199eb927d97931a8a_28a58813-db00-4057-ba81-46f3f7569051.webp?v=1714706196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da5509a3edb075f81670ac57de430b823d95487_1c7061d1-09d5-4a60-bb89-0e5aeaf862e0.webp?v=1714706198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8359bce853235f6d44fe3f3b54277e1ae80264c8_26bc60ed-a94b-438b-b119-1fca69d78e13.webp?v=1714706201"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c24e532b3c19623787d96ea10d52f921a1864c50_777a5445-30cb-4eab-99cb-c68b9e53fd8e.webp?v=1714706181","options":["color"],"media":[{"alt":null,"id":23875607396451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c24e532b3c19623787d96ea10d52f921a1864c50_777a5445-30cb-4eab-99cb-c68b9e53fd8e.webp?v=1714706181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c24e532b3c19623787d96ea10d52f921a1864c50_777a5445-30cb-4eab-99cb-c68b9e53fd8e.webp?v=1714706181","width":2000},{"alt":null,"id":23875607920739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1612a6203568e681b5b78d688491cfe36eadd78_a337613d-79db-41c1-b468-160cec7583f5.webp?v=1714706183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1612a6203568e681b5b78d688491cfe36eadd78_a337613d-79db-41c1-b468-160cec7583f5.webp?v=1714706183","width":2000},{"alt":null,"id":23875608281187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7d53066dfe6637145d1c89973a6088f529e029_4ed86b29-abc1-43d6-b784-e09a2c54da52.webp?v=1714706185"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7d53066dfe6637145d1c89973a6088f529e029_4ed86b29-abc1-43d6-b784-e09a2c54da52.webp?v=1714706185","width":2000},{"alt":null,"id":23875608707171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187","width":2000},{"alt":null,"id":23875609296995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190","width":2000},{"alt":null,"id":23875609788515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8de9283906ae7f70efb9348100a71922e41d634_bfb176eb-39a2-4d00-8a50-df7485c179e9.webp?v=1714706192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8de9283906ae7f70efb9348100a71922e41d634_bfb176eb-39a2-4d00-8a50-df7485c179e9.webp?v=1714706192","width":2000},{"alt":null,"id":23875610280035,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194","width":2000},{"alt":null,"id":23875610706019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2dd5770a0d35148e549ea199eb927d97931a8a_28a58813-db00-4057-ba81-46f3f7569051.webp?v=1714706196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2dd5770a0d35148e549ea199eb927d97931a8a_28a58813-db00-4057-ba81-46f3f7569051.webp?v=1714706196","width":2000},{"alt":null,"id":23875612541027,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da5509a3edb075f81670ac57de430b823d95487_1c7061d1-09d5-4a60-bb89-0e5aeaf862e0.webp?v=1714706198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3da5509a3edb075f81670ac57de430b823d95487_1c7061d1-09d5-4a60-bb89-0e5aeaf862e0.webp?v=1714706198","width":2000},{"alt":null,"id":23875613229155,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8359bce853235f6d44fe3f3b54277e1ae80264c8_26bc60ed-a94b-438b-b119-1fca69d78e13.webp?v=1714706201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8359bce853235f6d44fe3f3b54277e1ae80264c8_26bc60ed-a94b-438b-b119-1fca69d78e13.webp?v=1714706201","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880555552867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470705115235,"product_id":7407921594467,"position":5,"created_at":"2024-05-03T11:16:30+08:00","updated_at":"2024-05-03T11:16:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190","variant_ids":[41880555552867]},"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-YF01","featured_media":{"alt":null,"id":23875609296995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880555618403,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470706229347,"product_id":7407921594467,"position":7,"created_at":"2024-05-03T11:16:34+08:00","updated_at":"2024-05-03T11:16:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194","variant_ids":[41880555618403]},"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-YF01","featured_media":{"alt":null,"id":23875610280035,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e76a5e0a9eb277d2156e9e4d10a64edf83dc2cd_8bdc6a4b-04a5-4baa-bdd8-99238e37c462.webp?v=1714706194"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880555847779,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470704656483,"product_id":7407921594467,"position":4,"created_at":"2024-05-03T11:16:27+08:00","updated_at":"2024-05-03T11:16:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187","variant_ids":[41880555847779]},"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-YF01","featured_media":{"alt":null,"id":23875608707171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a36142f8e86830372b95d0a67fcbc51f8e189_9d31b8d6-9580-4a1f-aead-401376f4c868.webp?v=1714706187"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880555552867,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF01","requires_shipping":true,"taxable":true,"featured_image":{"id":31470705115235,"product_id":7407921594467,"position":5,"created_at":"2024-05-03T11:16:30+08:00","updated_at":"2024-05-03T11:16:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190","variant_ids":[41880555552867]},"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-YF01","featured_media":{"alt":null,"id":23875609296995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/967a3a1da6c8282435ea08eae900593ec8b786ba_9b613955-1b6e-4fed-8aa5-43792421cdea.webp?v=1714706190"}},"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: "停產" }