$product = {"id":7411355091043,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Plus - 【獨家設計款】 - 來自空中的情書(底片版)","handle":"iphone-14-plus-mod-nx-magsafe-printable-ae05","description":null,"published_at":"2024-06-11T17:42:43+08:00","created_at":"2024-05-05T00:13:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 14 Plus","discountable-item","member","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller","reseller-modnx-magsafe-chi-po-lin-series","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41897844375651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480214093923,"product_id":7411355091043,"position":1,"created_at":"2024-05-05T00:13:39+08:00","updated_at":"2024-05-05T00:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","variant_ids":[41897844375651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Plus - 【獨家設計款】 - 來自空中的情書(底片版) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-AE05","featured_media":{"alt":null,"id":23885465321571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8243ba091959648ab1dd16d550ed38ebb47007_0421f8fc-4315-4ffa-bfd8-9a08735d8283.webp?v=1714839222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6fe07f739f6432a1e12b5a245b33caa76dff45_3985cbf2-8119-42ae-8577-e2913744da97.webp?v=1714839224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5349cf23db2393473c225664a3a1769ec5f64024_38c899a2-faba-48c4-bf94-b24c1722adfd.webp?v=1714839227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c840e5b77b80846a0d36127f403ac8496a1582_a511d4dd-5627-4309-a590-5a7874387e08.webp?v=1714839229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c454939b2ac7df550c731b102f18e5b5e1cee77_3eadcf52-14d9-4723-b492-0dedba1fd547.webp?v=1714839232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a65ec0b099ed45bde095f4d1dd2fecaf0b7fd84_7af7eb82-9f66-404b-927d-bb015bb1f69b.webp?v=1714839234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e77f18f0f35cd4ac8b3b3a5ba42c7f5c3ed1f2a_dd651575-4835-425e-ab83-ad9478255f43.webp?v=1714839236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb96a02335833c429efbd51482032279072d773b_f1d4498d-07a5-4c25-a2dc-0f82fe0f2e31.webp?v=1714839239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40311e9951a6fa003f488d3bdb21e0472f8f73eb_4a9d8219-9c39-4c9a-bfc8-378bf372d240.webp?v=1714839241"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","options":["color"],"media":[{"alt":null,"id":23885465321571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","width":2000},{"alt":null,"id":23885465976931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8243ba091959648ab1dd16d550ed38ebb47007_0421f8fc-4315-4ffa-bfd8-9a08735d8283.webp?v=1714839222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe8243ba091959648ab1dd16d550ed38ebb47007_0421f8fc-4315-4ffa-bfd8-9a08735d8283.webp?v=1714839222","width":2000},{"alt":null,"id":23885466796131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6fe07f739f6432a1e12b5a245b33caa76dff45_3985cbf2-8119-42ae-8577-e2913744da97.webp?v=1714839224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6fe07f739f6432a1e12b5a245b33caa76dff45_3985cbf2-8119-42ae-8577-e2913744da97.webp?v=1714839224","width":2000},{"alt":null,"id":23885467320419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5349cf23db2393473c225664a3a1769ec5f64024_38c899a2-faba-48c4-bf94-b24c1722adfd.webp?v=1714839227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5349cf23db2393473c225664a3a1769ec5f64024_38c899a2-faba-48c4-bf94-b24c1722adfd.webp?v=1714839227","width":2000},{"alt":null,"id":23885467680867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c840e5b77b80846a0d36127f403ac8496a1582_a511d4dd-5627-4309-a590-5a7874387e08.webp?v=1714839229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34c840e5b77b80846a0d36127f403ac8496a1582_a511d4dd-5627-4309-a590-5a7874387e08.webp?v=1714839229","width":2000},{"alt":null,"id":23885468237923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c454939b2ac7df550c731b102f18e5b5e1cee77_3eadcf52-14d9-4723-b492-0dedba1fd547.webp?v=1714839232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c454939b2ac7df550c731b102f18e5b5e1cee77_3eadcf52-14d9-4723-b492-0dedba1fd547.webp?v=1714839232","width":2000},{"alt":null,"id":23885468729443,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a65ec0b099ed45bde095f4d1dd2fecaf0b7fd84_7af7eb82-9f66-404b-927d-bb015bb1f69b.webp?v=1714839234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a65ec0b099ed45bde095f4d1dd2fecaf0b7fd84_7af7eb82-9f66-404b-927d-bb015bb1f69b.webp?v=1714839234","width":2000},{"alt":null,"id":23885469188195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e77f18f0f35cd4ac8b3b3a5ba42c7f5c3ed1f2a_dd651575-4835-425e-ab83-ad9478255f43.webp?v=1714839236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e77f18f0f35cd4ac8b3b3a5ba42c7f5c3ed1f2a_dd651575-4835-425e-ab83-ad9478255f43.webp?v=1714839236","width":2000},{"alt":null,"id":23885469646947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb96a02335833c429efbd51482032279072d773b_f1d4498d-07a5-4c25-a2dc-0f82fe0f2e31.webp?v=1714839239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb96a02335833c429efbd51482032279072d773b_f1d4498d-07a5-4c25-a2dc-0f82fe0f2e31.webp?v=1714839239","width":2000},{"alt":null,"id":23885469909091,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40311e9951a6fa003f488d3bdb21e0472f8f73eb_4a9d8219-9c39-4c9a-bfc8-378bf372d240.webp?v=1714839241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40311e9951a6fa003f488d3bdb21e0472f8f73eb_4a9d8219-9c39-4c9a-bfc8-378bf372d240.webp?v=1714839241","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897844375651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480214093923,"product_id":7411355091043,"position":1,"created_at":"2024-05-05T00:13:39+08:00","updated_at":"2024-05-05T00:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","variant_ids":[41897844375651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Plus - 【獨家設計款】 - 來自空中的情書(底片版) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-AE05","featured_media":{"alt":null,"id":23885465321571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897844375651,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126124-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31480214093923,"product_id":7411355091043,"position":1,"created_at":"2024-05-05T00:13:39+08:00","updated_at":"2024-05-05T00:13:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219","variant_ids":[41897844375651]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Plus - 【獨家設計款】 - 來自空中的情書(底片版) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-AE05","featured_media":{"alt":null,"id":23885465321571,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c4df13685dbd77f88d4c5375d98cdfc2e237c07_252b0fd8-c6cb-4b30-b0f6-7a8f120ce757.webp?v=1714839219"}},"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: "停產" }