$product = {"id":7411245056099,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春)","handle":"iphone-14-pro-mod-nx-magsafe-printable-ae01","description":null,"published_at":"2024-06-11T17:39:46+08:00","created_at":"2024-05-04T23:52:37+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 Pro","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":41896457306211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479947886691,"product_id":7411245056099,"position":8,"created_at":"2024-05-04T23:52:57+08:00","updated_at":"2024-05-04T23:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977","variant_ids":[41896457306211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB0126224-AE01","featured_media":{"alt":null,"id":23885198295139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896457404515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479947559011,"product_id":7411245056099,"position":7,"created_at":"2024-05-04T23:52:54+08:00","updated_at":"2024-05-04T23:52:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974","variant_ids":[41896457404515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB0126204-AE01","featured_media":{"alt":null,"id":23885197967459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896457633891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479944675427,"product_id":7411245056099,"position":2,"created_at":"2024-05-04T23:52:42+08:00","updated_at":"2024-05-04T23:52:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962","variant_ids":[41896457633891]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB01262J5-AE01","featured_media":{"alt":null,"id":23885195149411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628e10c589d3c48810b89a6d456f5f60a9085ec4_77983cc7-b0e4-44db-9b72-9ac6dc1f3342.webp?v=1714837960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/017fdc239f588879b43cc1e581dd1973032c5f5f_aa866340-386d-4364-acee-1f5104085975.webp?v=1714837965","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7fb9989098c416f0092e488b05f74a303210a15_d72642a0-9553-4b1a-8f2c-a3b7f8cc0628.webp?v=1714837967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ce8cc4d339bed087326d3c603153898eabcc999_565ce301-93f6-4c36-96d9-66674c721783.webp?v=1714837970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bcf0c1173a0933c5f681b0a9ce778e4d8f5581_c4377aad-d940-4eff-8ebc-3d1773c0a9cb.webp?v=1714837972","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e7dd72f5d9b0506794ae7f9c6acc0ff0b7dca5_cab408f8-ffd5-4c7b-bcbc-f103c8e0cef7.webp?v=1714837979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45756f1bc38381a49d23fe3445325e89cac99494_5c41c4ed-59d7-4e9f-ac90-c105a4ea391e.webp?v=1714837981"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628e10c589d3c48810b89a6d456f5f60a9085ec4_77983cc7-b0e4-44db-9b72-9ac6dc1f3342.webp?v=1714837960","options":["color"],"media":[{"alt":null,"id":23885194625123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628e10c589d3c48810b89a6d456f5f60a9085ec4_77983cc7-b0e4-44db-9b72-9ac6dc1f3342.webp?v=1714837960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628e10c589d3c48810b89a6d456f5f60a9085ec4_77983cc7-b0e4-44db-9b72-9ac6dc1f3342.webp?v=1714837960","width":2000},{"alt":null,"id":23885195149411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962","width":2000},{"alt":null,"id":23885195640931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/017fdc239f588879b43cc1e581dd1973032c5f5f_aa866340-386d-4364-acee-1f5104085975.webp?v=1714837965"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/017fdc239f588879b43cc1e581dd1973032c5f5f_aa866340-386d-4364-acee-1f5104085975.webp?v=1714837965","width":2000},{"alt":null,"id":23885196197987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7fb9989098c416f0092e488b05f74a303210a15_d72642a0-9553-4b1a-8f2c-a3b7f8cc0628.webp?v=1714837967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7fb9989098c416f0092e488b05f74a303210a15_d72642a0-9553-4b1a-8f2c-a3b7f8cc0628.webp?v=1714837967","width":2000},{"alt":null,"id":23885196787811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ce8cc4d339bed087326d3c603153898eabcc999_565ce301-93f6-4c36-96d9-66674c721783.webp?v=1714837970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ce8cc4d339bed087326d3c603153898eabcc999_565ce301-93f6-4c36-96d9-66674c721783.webp?v=1714837970","width":2000},{"alt":null,"id":23885197443171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bcf0c1173a0933c5f681b0a9ce778e4d8f5581_c4377aad-d940-4eff-8ebc-3d1773c0a9cb.webp?v=1714837972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bcf0c1173a0933c5f681b0a9ce778e4d8f5581_c4377aad-d940-4eff-8ebc-3d1773c0a9cb.webp?v=1714837972","width":2000},{"alt":null,"id":23885197967459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974","width":2000},{"alt":null,"id":23885198295139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977","width":2000},{"alt":null,"id":23885198852195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e7dd72f5d9b0506794ae7f9c6acc0ff0b7dca5_cab408f8-ffd5-4c7b-bcbc-f103c8e0cef7.webp?v=1714837979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79e7dd72f5d9b0506794ae7f9c6acc0ff0b7dca5_cab408f8-ffd5-4c7b-bcbc-f103c8e0cef7.webp?v=1714837979","width":2000},{"alt":null,"id":23885199409251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45756f1bc38381a49d23fe3445325e89cac99494_5c41c4ed-59d7-4e9f-ac90-c105a4ea391e.webp?v=1714837981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45756f1bc38381a49d23fe3445325e89cac99494_5c41c4ed-59d7-4e9f-ac90-c105a4ea391e.webp?v=1714837981","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896457306211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479947886691,"product_id":7411245056099,"position":8,"created_at":"2024-05-04T23:52:57+08:00","updated_at":"2024-05-04T23:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977","variant_ids":[41896457306211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB0126224-AE01","featured_media":{"alt":null,"id":23885198295139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896457404515,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479947559011,"product_id":7411245056099,"position":7,"created_at":"2024-05-04T23:52:54+08:00","updated_at":"2024-05-04T23:52:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974","variant_ids":[41896457404515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB0126204-AE01","featured_media":{"alt":null,"id":23885197967459,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57110762829be7788c6716f20aaaf5aa1f743145_b82a8fda-dd67-442b-8682-a1aa5578da1c.webp?v=1714837974"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896457633891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479944675427,"product_id":7411245056099,"position":2,"created_at":"2024-05-04T23:52:42+08:00","updated_at":"2024-05-04T23:52:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962","variant_ids":[41896457633891]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB01262J5-AE01","featured_media":{"alt":null,"id":23885195149411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b47604a739c9ca791408844959a5cfed78da3375_7ca0e542-431f-464b-9988-128230a070d8.webp?v=1714837962"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896457306211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31479947886691,"product_id":7411245056099,"position":8,"created_at":"2024-05-04T23:52:57+08:00","updated_at":"2024-05-04T23:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977","variant_ids":[41896457306211]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"MPB0126224-AE01","featured_media":{"alt":null,"id":23885198295139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e98d875911a8bea2df4a7995a668147fe6ece95_02173be8-d728-4d97-b3e2-a44cd9cae11f.webp?v=1714837977"}},"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: "停產" }