$product = {"id":7414300147811,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-hq03","description":null,"published_at":"2024-06-11T17:50:37+08:00","created_at":"2024-05-05T14:20:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Pixel Jeff 皮傑","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-pixeljeff","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-pixeljeff","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":41905545576547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-HQ03","requires_shipping":true,"taxable":true,"featured_image":{"id":31485106651235,"product_id":7414300147811,"position":4,"created_at":"2024-05-05T14:21:06+08:00","updated_at":"2024-05-05T14:21:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066","variant_ids":[41905545576547]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-HQ03","featured_media":{"alt":null,"id":23890421973091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905546035299,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-HQ03","requires_shipping":true,"taxable":true,"featured_image":{"id":31485102227555,"product_id":7414300147811,"position":1,"created_at":"2024-05-05T14:20:59+08:00","updated_at":"2024-05-05T14:20:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059","variant_ids":[41905546035299]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-HQ03","featured_media":{"alt":null,"id":23890417156195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ffe5140fdaa4b73bafd519d15a5ca533b7d2b94_4a036d9c-e4cd-49f9-9279-b83adb6c3dc8.webp?v=1714890062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c224e826dbf3e10a72e7b3303f0bda5f560362c_c847d922-553d-4f39-ac85-934e1ed6ea0a.webp?v=1714890064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f622ba8d53d1a89aec62f393cfc191adae5b305_3ba914de-144c-4828-969b-617bb2d18143.webp?v=1714890069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d03304eeb2661dc5d4687503791493de557c5ec_77eefb16-3c6f-4de6-8508-4beeb0683655.webp?v=1714890071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88eb58bd792373399ed82a2ff2c8139108622c7_d24462be-7111-41f0-91e2-e542d1494da4.webp?v=1714890073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa21cd72db7625aec56428b111ece0654ea8d29_3fd42845-1639-493a-be71-507181754abc.webp?v=1714890076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32a890b8e6db8f179bbbcab3f1263e2fe3afcd6_15854634-bcc4-49d2-b053-3c0e1a76d59d.webp?v=1714890078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed65b2b904032112297f2c116f5e8de94cae6bf_96716fe0-9d7f-43c5-a06d-9f0063c36146.webp?v=1714890080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67575c043edc2c57434067b85e224a3f8555fa27_f2326f76-cd16-4a53-ab65-18ae51ad6ddf.webp?v=1714890083"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059","options":["color"],"media":[{"alt":null,"id":23890417156195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059","width":2000},{"alt":null,"id":23890418499683,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ffe5140fdaa4b73bafd519d15a5ca533b7d2b94_4a036d9c-e4cd-49f9-9279-b83adb6c3dc8.webp?v=1714890062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ffe5140fdaa4b73bafd519d15a5ca533b7d2b94_4a036d9c-e4cd-49f9-9279-b83adb6c3dc8.webp?v=1714890062","width":2000},{"alt":null,"id":23890419941475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c224e826dbf3e10a72e7b3303f0bda5f560362c_c847d922-553d-4f39-ac85-934e1ed6ea0a.webp?v=1714890064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c224e826dbf3e10a72e7b3303f0bda5f560362c_c847d922-553d-4f39-ac85-934e1ed6ea0a.webp?v=1714890064","width":2000},{"alt":null,"id":23890421973091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066","width":2000},{"alt":null,"id":23890423480419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f622ba8d53d1a89aec62f393cfc191adae5b305_3ba914de-144c-4828-969b-617bb2d18143.webp?v=1714890069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f622ba8d53d1a89aec62f393cfc191adae5b305_3ba914de-144c-4828-969b-617bb2d18143.webp?v=1714890069","width":2000},{"alt":null,"id":23890425315427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d03304eeb2661dc5d4687503791493de557c5ec_77eefb16-3c6f-4de6-8508-4beeb0683655.webp?v=1714890071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d03304eeb2661dc5d4687503791493de557c5ec_77eefb16-3c6f-4de6-8508-4beeb0683655.webp?v=1714890071","width":2000},{"alt":null,"id":23890426789987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88eb58bd792373399ed82a2ff2c8139108622c7_d24462be-7111-41f0-91e2-e542d1494da4.webp?v=1714890073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d88eb58bd792373399ed82a2ff2c8139108622c7_d24462be-7111-41f0-91e2-e542d1494da4.webp?v=1714890073","width":2000},{"alt":null,"id":23890428297315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa21cd72db7625aec56428b111ece0654ea8d29_3fd42845-1639-493a-be71-507181754abc.webp?v=1714890076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa21cd72db7625aec56428b111ece0654ea8d29_3fd42845-1639-493a-be71-507181754abc.webp?v=1714890076","width":2000},{"alt":null,"id":23890429771875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32a890b8e6db8f179bbbcab3f1263e2fe3afcd6_15854634-bcc4-49d2-b053-3c0e1a76d59d.webp?v=1714890078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32a890b8e6db8f179bbbcab3f1263e2fe3afcd6_15854634-bcc4-49d2-b053-3c0e1a76d59d.webp?v=1714890078","width":2000},{"alt":null,"id":23890432000099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed65b2b904032112297f2c116f5e8de94cae6bf_96716fe0-9d7f-43c5-a06d-9f0063c36146.webp?v=1714890080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ed65b2b904032112297f2c116f5e8de94cae6bf_96716fe0-9d7f-43c5-a06d-9f0063c36146.webp?v=1714890080","width":2000},{"alt":null,"id":23890433998947,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67575c043edc2c57434067b85e224a3f8555fa27_f2326f76-cd16-4a53-ab65-18ae51ad6ddf.webp?v=1714890083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67575c043edc2c57434067b85e224a3f8555fa27_f2326f76-cd16-4a53-ab65-18ae51ad6ddf.webp?v=1714890083","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41905545576547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-HQ03","requires_shipping":true,"taxable":true,"featured_image":{"id":31485106651235,"product_id":7414300147811,"position":4,"created_at":"2024-05-05T14:21:06+08:00","updated_at":"2024-05-05T14:21:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066","variant_ids":[41905545576547]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-HQ03","featured_media":{"alt":null,"id":23890421973091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905546035299,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-HQ03","requires_shipping":true,"taxable":true,"featured_image":{"id":31485102227555,"product_id":7414300147811,"position":1,"created_at":"2024-05-05T14:20:59+08:00","updated_at":"2024-05-05T14:20:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059","variant_ids":[41905546035299]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-HQ03","featured_media":{"alt":null,"id":23890417156195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89f5300f51cc67a63edefd6e82022fa028c9e66f_bd8006bb-f54b-40d9-a939-804d2c281e12.webp?v=1714890059"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41905545576547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-HQ03","requires_shipping":true,"taxable":true,"featured_image":{"id":31485106651235,"product_id":7414300147811,"position":4,"created_at":"2024-05-05T14:21:06+08:00","updated_at":"2024-05-05T14:21:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066","variant_ids":[41905545576547]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Pixel Jeff 皮傑 - Work Day - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-HQ03","featured_media":{"alt":null,"id":23890421973091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c522a2ecc9b2aba06eb4c2886d03e4be9cb1b4a_81983826-4f38-4284-a567-9a2266d83e75.webp?v=1714890066"}},"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: "停產" }