$product = {"id":7407844458595,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人","handle":"iphone-14-pro-mod-nx-printable-yf10","description":null,"published_at":"2024-06-11T16:24:26+08:00","created_at":"2024-05-03T11:01:11+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":41879544889443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470508114019,"product_id":7407844458595,"position":1,"created_at":"2024-05-03T11:01:13+08:00","updated_at":"2024-05-03T11:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","variant_ids":[41879544889443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875411869795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879545086051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470508638307,"product_id":7407844458595,"position":2,"created_at":"2024-05-03T11:01:16+08:00","updated_at":"2024-05-03T11:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276","variant_ids":[41879545086051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875412394083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879545610339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470509424739,"product_id":7407844458595,"position":4,"created_at":"2024-05-03T11:01:21+08:00","updated_at":"2024-05-03T11:01:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281","variant_ids":[41879545610339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875413180515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa1b9f4b704702c0d9f4a11fdcf9b7206bbe08d_53cb67ce-25b4-4a2b-9567-27ba19433d68.webp?v=1714705278","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcab7dba8b25f8e4b5bebfa21df760176652cc95_7558ea9b-56b5-4d87-be69-fd890097d443.webp?v=1714705283","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8363997c676665829b23a9e61ce6bef067249432_b34881c4-165e-44cf-a392-7a6198c275fd.webp?v=1714705285","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a202868047984941015a845e22d3e3b7da62a8c_1dee9753-0e48-4105-8ebb-bb4362703bbc.webp?v=1714705288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18eba84b9515dd4b9f1c21ae0e62f79e776bcb90_af2784ed-242e-40db-8f00-6abc45f9fa35.webp?v=1714705290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d82742d6b0b598d27260e74980a3d7fe584ee397_e1d83605-dce2-4b8c-8ed3-80c461ee4bb5.webp?v=1714705293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263854bcf3a9a111e333bd674b67b7b8565877e5_b7190101-81a3-4fe5-9eef-0516e9d659e3.webp?v=1714705295"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","options":["color"],"media":[{"alt":null,"id":23875411869795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","width":2000},{"alt":null,"id":23875412394083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276","width":2000},{"alt":null,"id":23875412852835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa1b9f4b704702c0d9f4a11fdcf9b7206bbe08d_53cb67ce-25b4-4a2b-9567-27ba19433d68.webp?v=1714705278"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa1b9f4b704702c0d9f4a11fdcf9b7206bbe08d_53cb67ce-25b4-4a2b-9567-27ba19433d68.webp?v=1714705278","width":2000},{"alt":null,"id":23875413180515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281","width":2000},{"alt":null,"id":23875413704803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcab7dba8b25f8e4b5bebfa21df760176652cc95_7558ea9b-56b5-4d87-be69-fd890097d443.webp?v=1714705283"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcab7dba8b25f8e4b5bebfa21df760176652cc95_7558ea9b-56b5-4d87-be69-fd890097d443.webp?v=1714705283","width":2000},{"alt":null,"id":23875414098019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8363997c676665829b23a9e61ce6bef067249432_b34881c4-165e-44cf-a392-7a6198c275fd.webp?v=1714705285"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8363997c676665829b23a9e61ce6bef067249432_b34881c4-165e-44cf-a392-7a6198c275fd.webp?v=1714705285","width":2000},{"alt":null,"id":23875414556771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a202868047984941015a845e22d3e3b7da62a8c_1dee9753-0e48-4105-8ebb-bb4362703bbc.webp?v=1714705288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a202868047984941015a845e22d3e3b7da62a8c_1dee9753-0e48-4105-8ebb-bb4362703bbc.webp?v=1714705288","width":2000},{"alt":null,"id":23875414982755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18eba84b9515dd4b9f1c21ae0e62f79e776bcb90_af2784ed-242e-40db-8f00-6abc45f9fa35.webp?v=1714705290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18eba84b9515dd4b9f1c21ae0e62f79e776bcb90_af2784ed-242e-40db-8f00-6abc45f9fa35.webp?v=1714705290","width":2000},{"alt":null,"id":23875415310435,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d82742d6b0b598d27260e74980a3d7fe584ee397_e1d83605-dce2-4b8c-8ed3-80c461ee4bb5.webp?v=1714705293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d82742d6b0b598d27260e74980a3d7fe584ee397_e1d83605-dce2-4b8c-8ed3-80c461ee4bb5.webp?v=1714705293","width":2000},{"alt":null,"id":23875415834723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263854bcf3a9a111e333bd674b67b7b8565877e5_b7190101-81a3-4fe5-9eef-0516e9d659e3.webp?v=1714705295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263854bcf3a9a111e333bd674b67b7b8565877e5_b7190101-81a3-4fe5-9eef-0516e9d659e3.webp?v=1714705295","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879544889443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470508114019,"product_id":7407844458595,"position":1,"created_at":"2024-05-03T11:01:13+08:00","updated_at":"2024-05-03T11:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","variant_ids":[41879544889443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875411869795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879545086051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470508638307,"product_id":7407844458595,"position":2,"created_at":"2024-05-03T11:01:16+08:00","updated_at":"2024-05-03T11:01:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276","variant_ids":[41879545086051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875412394083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9091d8647dd8df47d2f9ed9b003755b75c5f57f_9e2d93d1-222b-4333-9fc5-f43e61c5c32a.webp?v=1714705276"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879545610339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470509424739,"product_id":7407844458595,"position":4,"created_at":"2024-05-03T11:01:21+08:00","updated_at":"2024-05-03T11:01:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281","variant_ids":[41879545610339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875413180515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e888edec4c729d8b654fe0ecd9d2e7d6752fd9d2_d4897582-c3eb-457f-8389-ea0bfcb988f1.webp?v=1714705281"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879544889443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31470508114019,"product_id":7407844458595,"position":1,"created_at":"2024-05-03T11:01:13+08:00","updated_at":"2024-05-03T11:01:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273","variant_ids":[41879544889443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23875411869795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd06e966cb1282d475de5d21cbd0f61f92100247_3c1ed2fc-fe30-4dd4-8544-6714ced471d3.webp?v=1714705273"}},"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: "停產" }