$product = {"id":7414102163555,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-sr08","description":null,"published_at":"2024-06-11T17:48:59+08:00","created_at":"2024-05-05T14:09:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區The Powerpuff Girls","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-the-power-puff-girls","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":41904113221731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484671033443,"product_id":7414102163555,"position":1,"created_at":"2024-05-05T14:09:58+08:00","updated_at":"2024-05-05T14:09:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","variant_ids":[41904113221731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款 - 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":"MPB0123224-SR08","featured_media":{"alt":null,"id":23889966366819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904113516643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484685320291,"product_id":7414102163555,"position":10,"created_at":"2024-05-05T14:10:20+08:00","updated_at":"2024-05-05T14:10:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420","variant_ids":[41904113516643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款 - 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":"MPB01232J5-SR08","featured_media":{"alt":null,"id":23889980686435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e859a93c46af7983c13604e3b6c11f24c2ff6089_9cdd928c-b032-406f-aead-4ab7032578b9.webp?v=1714889401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c16b6529f9ff5597387c78c95ee80547391fbe_4ea6a420-c767-4a02-9cae-f6b26cc87874.webp?v=1714889403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3a1da7631ad6a81a8c265661efdc8b753070a_6423e172-10af-4677-87da-280380287fae.webp?v=1714889405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7ca1e15345d51bf5014403affb64d1e8781d406_0fd85364-ba9c-42a1-b56f-179b4ab546c8.webp?v=1714889408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f458fa2011398776ca83b1c59cc596cfbf0dd86d_d18e2019-008f-4010-aed2-ea5a5b389534.webp?v=1714889410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512d0308138cb4f8511c4fe670a507191a1434d9_c9b4a34c-50b3-45e3-8a79-0b41f45b7b35.webp?v=1714889413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216af2476feee307c62944f335be410772e7538b_fcd6ea57-0b7d-4289-bd58-d5163a4dc1d4.webp?v=1714889415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2826371d2fd308ac04b818e687e3556807487551_ad06eaab-e6b6-423f-807e-f1f6a3eccc11.webp?v=1714889418","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c14711c476706c7bad525420557d5e9f7bf6ad7_62d6334e-4608-40cb-8d69-5db06a13e36a.webp?v=1714889423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a46e567d40b3b076d9f3bd72d9f74d29900b4_96479352-6257-4663-acd9-fa7b0e7c4bfc.webp?v=1714889425"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","options":["color"],"media":[{"alt":null,"id":23889966366819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","width":2000},{"alt":null,"id":23889967743075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e859a93c46af7983c13604e3b6c11f24c2ff6089_9cdd928c-b032-406f-aead-4ab7032578b9.webp?v=1714889401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e859a93c46af7983c13604e3b6c11f24c2ff6089_9cdd928c-b032-406f-aead-4ab7032578b9.webp?v=1714889401","width":2000},{"alt":null,"id":23889968988259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c16b6529f9ff5597387c78c95ee80547391fbe_4ea6a420-c767-4a02-9cae-f6b26cc87874.webp?v=1714889403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c16b6529f9ff5597387c78c95ee80547391fbe_4ea6a420-c767-4a02-9cae-f6b26cc87874.webp?v=1714889403","width":2000},{"alt":null,"id":23889970528355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3a1da7631ad6a81a8c265661efdc8b753070a_6423e172-10af-4677-87da-280380287fae.webp?v=1714889405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8f3a1da7631ad6a81a8c265661efdc8b753070a_6423e172-10af-4677-87da-280380287fae.webp?v=1714889405","width":2000},{"alt":null,"id":23889972265059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7ca1e15345d51bf5014403affb64d1e8781d406_0fd85364-ba9c-42a1-b56f-179b4ab546c8.webp?v=1714889408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7ca1e15345d51bf5014403affb64d1e8781d406_0fd85364-ba9c-42a1-b56f-179b4ab546c8.webp?v=1714889408","width":2000},{"alt":null,"id":23889973936227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f458fa2011398776ca83b1c59cc596cfbf0dd86d_d18e2019-008f-4010-aed2-ea5a5b389534.webp?v=1714889410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f458fa2011398776ca83b1c59cc596cfbf0dd86d_d18e2019-008f-4010-aed2-ea5a5b389534.webp?v=1714889410","width":2000},{"alt":null,"id":23889975410787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512d0308138cb4f8511c4fe670a507191a1434d9_c9b4a34c-50b3-45e3-8a79-0b41f45b7b35.webp?v=1714889413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/512d0308138cb4f8511c4fe670a507191a1434d9_c9b4a34c-50b3-45e3-8a79-0b41f45b7b35.webp?v=1714889413","width":2000},{"alt":null,"id":23889977180259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216af2476feee307c62944f335be410772e7538b_fcd6ea57-0b7d-4289-bd58-d5163a4dc1d4.webp?v=1714889415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216af2476feee307c62944f335be410772e7538b_fcd6ea57-0b7d-4289-bd58-d5163a4dc1d4.webp?v=1714889415","width":2000},{"alt":null,"id":23889978949731,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2826371d2fd308ac04b818e687e3556807487551_ad06eaab-e6b6-423f-807e-f1f6a3eccc11.webp?v=1714889418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2826371d2fd308ac04b818e687e3556807487551_ad06eaab-e6b6-423f-807e-f1f6a3eccc11.webp?v=1714889418","width":2000},{"alt":null,"id":23889980686435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420","width":2000},{"alt":null,"id":23889982357603,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c14711c476706c7bad525420557d5e9f7bf6ad7_62d6334e-4608-40cb-8d69-5db06a13e36a.webp?v=1714889423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c14711c476706c7bad525420557d5e9f7bf6ad7_62d6334e-4608-40cb-8d69-5db06a13e36a.webp?v=1714889423","width":2000},{"alt":null,"id":23889983897699,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a46e567d40b3b076d9f3bd72d9f74d29900b4_96479352-6257-4663-acd9-fa7b0e7c4bfc.webp?v=1714889425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a46e567d40b3b076d9f3bd72d9f74d29900b4_96479352-6257-4663-acd9-fa7b0e7c4bfc.webp?v=1714889425","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41904113221731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484671033443,"product_id":7414102163555,"position":1,"created_at":"2024-05-05T14:09:58+08:00","updated_at":"2024-05-05T14:09:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","variant_ids":[41904113221731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款 - 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":"MPB0123224-SR08","featured_media":{"alt":null,"id":23889966366819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904113516643,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484685320291,"product_id":7414102163555,"position":10,"created_at":"2024-05-05T14:10:20+08:00","updated_at":"2024-05-05T14:10:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420","variant_ids":[41904113516643]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款 - 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":"MPB01232J5-SR08","featured_media":{"alt":null,"id":23889980686435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64b4774cd60e8cb6a79ef05c363a1b4169b89bb6_80d08b9c-aab3-45b4-9016-46e5a091facf.webp?v=1714889420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41904113221731,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-SR08","requires_shipping":true,"taxable":true,"featured_image":{"id":31484671033443,"product_id":7414102163555,"position":1,"created_at":"2024-05-05T14:09:58+08:00","updated_at":"2024-05-05T14:09:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398","variant_ids":[41904113221731]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - The Powerpuff Girls - 貼紙款 - 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":"MPB0123224-SR08","featured_media":{"alt":null,"id":23889966366819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5663a6d479a57ffd0087e057c3b8b9e6735552f5_976fe8fa-5450-4fab-87e5-9b313adc6db6.webp?v=1714889398"}},"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: "停產" }