$product = {"id":7369200697443,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-pl63","description":null,"published_at":"2024-06-11T17:31:19+08:00","created_at":"2024-04-23T15:43:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793543667811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387051589731,"product_id":7369200697443,"position":7,"created_at":"2024-04-23T15:43:49+08:00","updated_at":"2024-04-23T15:43:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229","variant_ids":[41793543667811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽 - 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-PL63","featured_media":{"alt":null,"id":23789290291299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793543962723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387053883491,"product_id":7369200697443,"position":10,"created_at":"2024-04-23T15:43:58+08:00","updated_at":"2024-04-23T15:43:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238","variant_ids":[41793543962723]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽 - 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-PL63","featured_media":{"alt":null,"id":23789292585059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b05357e848892540cbaaed42ed62699c3a026c2_aa396659-70b5-4fb3-81b0-52e8fc37de59.webp?v=1713858215","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/710dc69c48cd35f8c02b7750fceed7044fde2e0f_5b6e6b4b-2578-4863-a026-637bc6a0b3a2.webp?v=1713858218","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24a06e7f90bab87a2963cdb742d45053d85c869_7ff6c1cb-699c-434a-94fd-e6842b442b7d.webp?v=1713858220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5dbb147d0d1bbc93906c2b78da7ffab0336af50_1aa8fae1-6eb7-4a10-8a74-fb780e93d1f6.webp?v=1713858222","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dbba704106587cb6d9aa0f3a9417520e31b617_5997fc13-582d-4d33-88b9-c525a0f48d48.webp?v=1713858224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3acc97bd6ab21f331f8a8680d57ca83b5b511628_cb648e7a-b658-4129-a518-67aad51fd6c8.webp?v=1713858227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0179af4497dafe01168ec883e5e2927bca060460_c77fe62d-075c-4364-bab9-1347b34413e1.webp?v=1713858232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb23df4f8681aea789011f1b1343083898f8c39_bfdcb6a2-d498-47eb-9c07-0bee82a3e256.webp?v=1713858236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a122f2851466567f8b08365fd7034c2696349d05_29284c23-eeb4-47cc-a861-ff352574b1c7.webp?v=1713858240"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b05357e848892540cbaaed42ed62699c3a026c2_aa396659-70b5-4fb3-81b0-52e8fc37de59.webp?v=1713858215","options":["color"],"media":[{"alt":null,"id":23789286424675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b05357e848892540cbaaed42ed62699c3a026c2_aa396659-70b5-4fb3-81b0-52e8fc37de59.webp?v=1713858215"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b05357e848892540cbaaed42ed62699c3a026c2_aa396659-70b5-4fb3-81b0-52e8fc37de59.webp?v=1713858215","width":2000},{"alt":null,"id":23789287080035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/710dc69c48cd35f8c02b7750fceed7044fde2e0f_5b6e6b4b-2578-4863-a026-637bc6a0b3a2.webp?v=1713858218"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/710dc69c48cd35f8c02b7750fceed7044fde2e0f_5b6e6b4b-2578-4863-a026-637bc6a0b3a2.webp?v=1713858218","width":2000},{"alt":null,"id":23789287899235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24a06e7f90bab87a2963cdb742d45053d85c869_7ff6c1cb-699c-434a-94fd-e6842b442b7d.webp?v=1713858220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24a06e7f90bab87a2963cdb742d45053d85c869_7ff6c1cb-699c-434a-94fd-e6842b442b7d.webp?v=1713858220","width":2000},{"alt":null,"id":23789288521827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5dbb147d0d1bbc93906c2b78da7ffab0336af50_1aa8fae1-6eb7-4a10-8a74-fb780e93d1f6.webp?v=1713858222"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5dbb147d0d1bbc93906c2b78da7ffab0336af50_1aa8fae1-6eb7-4a10-8a74-fb780e93d1f6.webp?v=1713858222","width":2000},{"alt":null,"id":23789289078883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dbba704106587cb6d9aa0f3a9417520e31b617_5997fc13-582d-4d33-88b9-c525a0f48d48.webp?v=1713858224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04dbba704106587cb6d9aa0f3a9417520e31b617_5997fc13-582d-4d33-88b9-c525a0f48d48.webp?v=1713858224","width":2000},{"alt":null,"id":23789289635939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3acc97bd6ab21f331f8a8680d57ca83b5b511628_cb648e7a-b658-4129-a518-67aad51fd6c8.webp?v=1713858227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3acc97bd6ab21f331f8a8680d57ca83b5b511628_cb648e7a-b658-4129-a518-67aad51fd6c8.webp?v=1713858227","width":2000},{"alt":null,"id":23789290291299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229","width":2000},{"alt":null,"id":23789290913891,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0179af4497dafe01168ec883e5e2927bca060460_c77fe62d-075c-4364-bab9-1347b34413e1.webp?v=1713858232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0179af4497dafe01168ec883e5e2927bca060460_c77fe62d-075c-4364-bab9-1347b34413e1.webp?v=1713858232","width":2000},{"alt":null,"id":23789291896931,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb23df4f8681aea789011f1b1343083898f8c39_bfdcb6a2-d498-47eb-9c07-0bee82a3e256.webp?v=1713858236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fb23df4f8681aea789011f1b1343083898f8c39_bfdcb6a2-d498-47eb-9c07-0bee82a3e256.webp?v=1713858236","width":2000},{"alt":null,"id":23789292585059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238","width":2000},{"alt":null,"id":23789293043811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a122f2851466567f8b08365fd7034c2696349d05_29284c23-eeb4-47cc-a861-ff352574b1c7.webp?v=1713858240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a122f2851466567f8b08365fd7034c2696349d05_29284c23-eeb4-47cc-a861-ff352574b1c7.webp?v=1713858240","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41793543667811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387051589731,"product_id":7369200697443,"position":7,"created_at":"2024-04-23T15:43:49+08:00","updated_at":"2024-04-23T15:43:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229","variant_ids":[41793543667811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽 - 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-PL63","featured_media":{"alt":null,"id":23789290291299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793543962723,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387053883491,"product_id":7369200697443,"position":10,"created_at":"2024-04-23T15:43:58+08:00","updated_at":"2024-04-23T15:43:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238","variant_ids":[41793543962723]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽 - 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-PL63","featured_media":{"alt":null,"id":23789292585059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d3e900cc5b3c27862b28e1d130ab6326972c4fd_6c141e93-5ed1-4af5-878b-cf7f91213dc7.webp?v=1713858238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793543667811,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PL63","requires_shipping":true,"taxable":true,"featured_image":{"id":31387051589731,"product_id":7369200697443,"position":7,"created_at":"2024-04-23T15:43:49+08:00","updated_at":"2024-04-23T15:43:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229","variant_ids":[41793543667811]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Snoopy 史努比 - 曬太陽 - 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-PL63","featured_media":{"alt":null,"id":23789290291299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f744fdfaff38887305997b41699cc19d62ccaba0_80ffea7a-ba0a-4eb2-9bea-b7d7afa2e491.webp?v=1713858229"}},"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: "停產" }