$product = {"id":7414125658211,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空","handle":"iphone-13-mini-mod-nx-magsafe-printable-a046","description":null,"published_at":"2024-06-11T17:49:10+08:00","created_at":"2024-05-05T14:11:16+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX MagSafe 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 13 mini","discountable-item","member","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller","reseller-modnx-magsafe","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":41904258187363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484726902883,"product_id":7414125658211,"position":2,"created_at":"2024-05-05T14:11:21+08:00","updated_at":"2024-05-05T14:11:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481","variant_ids":[41904258187363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB0122824-A046","featured_media":{"alt":null,"id":23890021777507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904258351203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484725919843,"product_id":7414125658211,"position":1,"created_at":"2024-05-05T14:11:18+08:00","updated_at":"2024-05-05T14:11:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478","variant_ids":[41904258351203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB0122804-A046","featured_media":{"alt":null,"id":23890020860003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904258678883,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484730277987,"product_id":7414125658211,"position":6,"created_at":"2024-05-05T14:11:30+08:00","updated_at":"2024-05-05T14:11:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490","variant_ids":[41904258678883]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB01228J5-A046","featured_media":{"alt":null,"id":23890025152611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5767135dcd84ad7613b43dfa6d7d97600772894b_a5e9649a-1e0e-4f0d-ae05-149bd572af6c.webp?v=1714889483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d90febea509c0cbf1b7023685fe456c9c1125e2_12da3681-7a18-4565-a05b-ba6e08c230df.webp?v=1714889486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5b6d0b887df8fe049c90f50440495334012a74_5da8b64c-2f6c-4232-994d-4b1992960e3c.webp?v=1714889488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e163e01b5f578fc78c2a580e6aaffba5d65bb2c1_2674a7b4-460c-4065-81af-38991b2e2505.webp?v=1714889492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4af46e7ca8021efbf5538841e1baf441cc1c1d7_9ee83884-3f3b-4043-a7cd-e143b05f1dca.webp?v=1714889495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/337863518b14e7857ee1a927406db8860faf3186_4864249f-5564-4020-b06a-f3961329bb79.webp?v=1714889497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54a46e9bb405b927897e4c058cf1ff76852fef4f_ff971df0-08e2-48ff-b9c9-f848ef554326.webp?v=1714889499"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478","options":["color"],"media":[{"alt":null,"id":23890020860003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478","width":2000},{"alt":null,"id":23890021777507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481","width":2000},{"alt":null,"id":23890022826083,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5767135dcd84ad7613b43dfa6d7d97600772894b_a5e9649a-1e0e-4f0d-ae05-149bd572af6c.webp?v=1714889483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5767135dcd84ad7613b43dfa6d7d97600772894b_a5e9649a-1e0e-4f0d-ae05-149bd572af6c.webp?v=1714889483","width":2000},{"alt":null,"id":23890023383139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d90febea509c0cbf1b7023685fe456c9c1125e2_12da3681-7a18-4565-a05b-ba6e08c230df.webp?v=1714889486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d90febea509c0cbf1b7023685fe456c9c1125e2_12da3681-7a18-4565-a05b-ba6e08c230df.webp?v=1714889486","width":2000},{"alt":null,"id":23890024431715,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5b6d0b887df8fe049c90f50440495334012a74_5da8b64c-2f6c-4232-994d-4b1992960e3c.webp?v=1714889488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c5b6d0b887df8fe049c90f50440495334012a74_5da8b64c-2f6c-4232-994d-4b1992960e3c.webp?v=1714889488","width":2000},{"alt":null,"id":23890025152611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490","width":2000},{"alt":null,"id":23890026004579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e163e01b5f578fc78c2a580e6aaffba5d65bb2c1_2674a7b4-460c-4065-81af-38991b2e2505.webp?v=1714889492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e163e01b5f578fc78c2a580e6aaffba5d65bb2c1_2674a7b4-460c-4065-81af-38991b2e2505.webp?v=1714889492","width":2000},{"alt":null,"id":23890026954851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4af46e7ca8021efbf5538841e1baf441cc1c1d7_9ee83884-3f3b-4043-a7cd-e143b05f1dca.webp?v=1714889495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4af46e7ca8021efbf5538841e1baf441cc1c1d7_9ee83884-3f3b-4043-a7cd-e143b05f1dca.webp?v=1714889495","width":2000},{"alt":null,"id":23890027905123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/337863518b14e7857ee1a927406db8860faf3186_4864249f-5564-4020-b06a-f3961329bb79.webp?v=1714889497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/337863518b14e7857ee1a927406db8860faf3186_4864249f-5564-4020-b06a-f3961329bb79.webp?v=1714889497","width":2000},{"alt":null,"id":23890028724323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54a46e9bb405b927897e4c058cf1ff76852fef4f_ff971df0-08e2-48ff-b9c9-f848ef554326.webp?v=1714889499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54a46e9bb405b927897e4c058cf1ff76852fef4f_ff971df0-08e2-48ff-b9c9-f848ef554326.webp?v=1714889499","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41904258187363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484726902883,"product_id":7414125658211,"position":2,"created_at":"2024-05-05T14:11:21+08:00","updated_at":"2024-05-05T14:11:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481","variant_ids":[41904258187363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB0122824-A046","featured_media":{"alt":null,"id":23890021777507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904258351203,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484725919843,"product_id":7414125658211,"position":1,"created_at":"2024-05-05T14:11:18+08:00","updated_at":"2024-05-05T14:11:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478","variant_ids":[41904258351203]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB0122804-A046","featured_media":{"alt":null,"id":23890020860003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3157102444f01b0ce4a96756bc162ad62ae810c2_35ca990a-be13-43c3-acc8-94d73034b64a.webp?v=1714889478"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904258678883,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484730277987,"product_id":7414125658211,"position":6,"created_at":"2024-05-05T14:11:30+08:00","updated_at":"2024-05-05T14:11:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490","variant_ids":[41904258678883]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB01228J5-A046","featured_media":{"alt":null,"id":23890025152611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d71a54b5c6bb533c1caca290e321fdb05bdbf907_961a489c-3e74-4df1-bdc3-81e892ca79a9.webp?v=1714889490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41904258187363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":31484726902883,"product_id":7414125658211,"position":2,"created_at":"2024-05-05T14:11:21+08:00","updated_at":"2024-05-05T14:11:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481","variant_ids":[41904258187363]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 【獨家設計款】 - 星雨夜空 - 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":"MPB0122824-A046","featured_media":{"alt":null,"id":23890021777507,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0220d6bb3316ee12c06a57f8e6d08433a093692_46597ba4-68d1-4024-be6a-73b6fba82609.webp?v=1714889481"}},"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: "停產" }