$product = {"id":7369087189091,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險","handle":"iphone-15-plus-mod-nx-magsafe-printable-sz05","description":null,"published_at":"2024-06-11T17:30:57+08:00","created_at":"2024-04-23T14:42:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區華納兄弟百年慶典 Warner Bros 100th Anniversary","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-warnerbros100","device-iPhone 15 Plus","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-warnerbros100","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":41792740819043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0129624-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386649395299,"product_id":7369087189091,"position":5,"created_at":"2024-04-23T14:43:01+08:00","updated_at":"2024-04-23T14:43:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581","variant_ids":[41792740819043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"MPB0129624-SZ05","featured_media":{"alt":null,"id":23788883017827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792740950115,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"MPB0129657-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386650214499,"product_id":7369087189091,"position":6,"created_at":"2024-04-23T14:43:03+08:00","updated_at":"2024-04-23T14:43:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583","variant_ids":[41792740950115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"MPB0129657-SZ05","featured_media":{"alt":null,"id":23788883837027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cf24859839ec935cd90fdc054f87966fc3fda9_f7119c46-00ea-4e2e-a4aa-6b0132ee37b9.webp?v=1713854573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c383700e8130c20e962d56d2828283830149eaae_916dc11d-b111-4240-b416-7e05d2e76f96.webp?v=1713854575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22978502b9fd2d052d53e5d0dec605faae711f76_f34ec0fe-bec3-452d-aec7-d6314a2b7a9e.webp?v=1713854577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff177545eb1a19d930109f41145845f8d1c5cc36_4eedf87c-7f85-4c85-81d9-a9a0d1d24f76.webp?v=1713854579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf9f97874572665b5f0744987beeaf5440ef9db_ccf61fa6-6d76-41f4-bce7-c02953c04501.webp?v=1713854585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd66edce35b5bb9b6fb1a0bbe1e47abe2fe4462e_f2caadfe-1483-4156-a1e0-a52024639ce2.webp?v=1713854586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334e37d24fa42628012dcdb63354ee3633f33fb7_6fe24f42-d1d9-4e82-ad9a-80f02291ddc2.webp?v=1713854588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173187b0ba4e78163381879cdbdc25d4fb3821ed_0654437f-2785-4117-b112-f9a0f11df093.webp?v=1713854590"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cf24859839ec935cd90fdc054f87966fc3fda9_f7119c46-00ea-4e2e-a4aa-6b0132ee37b9.webp?v=1713854573","options":["color"],"media":[{"alt":null,"id":23788881018979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cf24859839ec935cd90fdc054f87966fc3fda9_f7119c46-00ea-4e2e-a4aa-6b0132ee37b9.webp?v=1713854573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2cf24859839ec935cd90fdc054f87966fc3fda9_f7119c46-00ea-4e2e-a4aa-6b0132ee37b9.webp?v=1713854573","width":2000},{"alt":null,"id":23788881313891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c383700e8130c20e962d56d2828283830149eaae_916dc11d-b111-4240-b416-7e05d2e76f96.webp?v=1713854575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c383700e8130c20e962d56d2828283830149eaae_916dc11d-b111-4240-b416-7e05d2e76f96.webp?v=1713854575","width":2000},{"alt":null,"id":23788881903715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22978502b9fd2d052d53e5d0dec605faae711f76_f34ec0fe-bec3-452d-aec7-d6314a2b7a9e.webp?v=1713854577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22978502b9fd2d052d53e5d0dec605faae711f76_f34ec0fe-bec3-452d-aec7-d6314a2b7a9e.webp?v=1713854577","width":2000},{"alt":null,"id":23788882591843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff177545eb1a19d930109f41145845f8d1c5cc36_4eedf87c-7f85-4c85-81d9-a9a0d1d24f76.webp?v=1713854579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff177545eb1a19d930109f41145845f8d1c5cc36_4eedf87c-7f85-4c85-81d9-a9a0d1d24f76.webp?v=1713854579","width":2000},{"alt":null,"id":23788883017827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581","width":2000},{"alt":null,"id":23788883837027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583","width":2000},{"alt":null,"id":23788884263011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf9f97874572665b5f0744987beeaf5440ef9db_ccf61fa6-6d76-41f4-bce7-c02953c04501.webp?v=1713854585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bf9f97874572665b5f0744987beeaf5440ef9db_ccf61fa6-6d76-41f4-bce7-c02953c04501.webp?v=1713854585","width":2000},{"alt":null,"id":23788884656227,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd66edce35b5bb9b6fb1a0bbe1e47abe2fe4462e_f2caadfe-1483-4156-a1e0-a52024639ce2.webp?v=1713854586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd66edce35b5bb9b6fb1a0bbe1e47abe2fe4462e_f2caadfe-1483-4156-a1e0-a52024639ce2.webp?v=1713854586","width":2000},{"alt":null,"id":23788885147747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334e37d24fa42628012dcdb63354ee3633f33fb7_6fe24f42-d1d9-4e82-ad9a-80f02291ddc2.webp?v=1713854588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334e37d24fa42628012dcdb63354ee3633f33fb7_6fe24f42-d1d9-4e82-ad9a-80f02291ddc2.webp?v=1713854588","width":2000},{"alt":null,"id":23788885540963,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173187b0ba4e78163381879cdbdc25d4fb3821ed_0654437f-2785-4117-b112-f9a0f11df093.webp?v=1713854590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/173187b0ba4e78163381879cdbdc25d4fb3821ed_0654437f-2785-4117-b112-f9a0f11df093.webp?v=1713854590","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41792740819043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0129624-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386649395299,"product_id":7369087189091,"position":5,"created_at":"2024-04-23T14:43:01+08:00","updated_at":"2024-04-23T14:43:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581","variant_ids":[41792740819043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"MPB0129624-SZ05","featured_media":{"alt":null,"id":23788883017827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41792740950115,"title":"Mod NX-櫻花粉邊框","option1":"Mod NX-櫻花粉邊框","option2":null,"option3":null,"sku":"MPB0129657-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386650214499,"product_id":7369087189091,"position":6,"created_at":"2024-04-23T14:43:03+08:00","updated_at":"2024-04-23T14:43:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583","variant_ids":[41792740950115]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"MPB0129657-SZ05","featured_media":{"alt":null,"id":23788883837027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/411a55e65df443ea99f1569b90581fbf5c49482d_95312c47-2239-4d13-942a-6c83f49c324a.webp?v=1713854583"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41792740819043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0129624-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386649395299,"product_id":7369087189091,"position":5,"created_at":"2024-04-23T14:43:01+08:00","updated_at":"2024-04-23T14:43:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581","variant_ids":[41792740819043]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 15 Plus - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"MPB0129624-SZ05","featured_media":{"alt":null,"id":23788883017827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee28f5e32ea5d53089e245a487c6d4c6f3f8a3bc_d526a0a6-2181-41bd-a07b-155bafb7c8c0.webp?v=1713854581"}},"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: "停產" }