$product = {"id":7414425223267,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb13","description":null,"published_at":"2024-06-11T17:51:14+08:00","created_at":"2024-05-05T14:25:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 13 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","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":41906404753507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485441212515,"product_id":7414425223267,"position":9,"created_at":"2024-05-05T14:25:25+08:00","updated_at":"2024-05-05T14:25:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325","variant_ids":[41906404753507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890759024739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906404917347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485415686243,"product_id":7414425223267,"position":1,"created_at":"2024-05-05T14:25:06+08:00","updated_at":"2024-05-05T14:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306","variant_ids":[41906404917347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890733006947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906405474403,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485418766435,"product_id":7414425223267,"position":2,"created_at":"2024-05-05T14:25:08+08:00","updated_at":"2024-05-05T14:25:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309","variant_ids":[41906405474403]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890736087139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a65a12d2b43ce1edc6d717918ea298bfb3ffee89_dd58e208-e429-4682-aa80-05d88d527a6d.webp?v=1714890311","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60c9afea0b281848ddc2c77d511937b4e6fac13_d2dd555c-06f8-489f-97d4-82c14ab47404.webp?v=1714890313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab47c224c9b476b929fcda3864e56f09be11a3a2_5f6cc30f-80b0-4063-b35b-9bc9fb098201.webp?v=1714890316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab4267993ba240375b7deacddf3538129a60e9a3_e50fe898-c450-4af4-a91d-371d3f285e57.webp?v=1714890318","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10c20103ac2542e2bc317c342dd81c2b3bb0280f_55b09511-d625-4250-ac2b-e669ea6c56fb.webp?v=1714890320","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c299d7fb965743a947ce65b80f6a1f5293b1b1fb_5bce24b5-398c-4207-a267-8266b963c641.webp?v=1714890322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df2a1fa148bdd1f13a9ab8073a62e2caf1f72a3_54c1344f-e25a-4ad7-84b8-6110333898cd.webp?v=1714890327"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306","options":["color"],"media":[{"alt":null,"id":23890733006947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306","width":2000},{"alt":null,"id":23890736087139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309","width":2000},{"alt":null,"id":23890739298403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a65a12d2b43ce1edc6d717918ea298bfb3ffee89_dd58e208-e429-4682-aa80-05d88d527a6d.webp?v=1714890311"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a65a12d2b43ce1edc6d717918ea298bfb3ffee89_dd58e208-e429-4682-aa80-05d88d527a6d.webp?v=1714890311","width":2000},{"alt":null,"id":23890742509667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60c9afea0b281848ddc2c77d511937b4e6fac13_d2dd555c-06f8-489f-97d4-82c14ab47404.webp?v=1714890313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f60c9afea0b281848ddc2c77d511937b4e6fac13_d2dd555c-06f8-489f-97d4-82c14ab47404.webp?v=1714890313","width":2000},{"alt":null,"id":23890745950307,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab47c224c9b476b929fcda3864e56f09be11a3a2_5f6cc30f-80b0-4063-b35b-9bc9fb098201.webp?v=1714890316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab47c224c9b476b929fcda3864e56f09be11a3a2_5f6cc30f-80b0-4063-b35b-9bc9fb098201.webp?v=1714890316","width":2000},{"alt":null,"id":23890749030499,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab4267993ba240375b7deacddf3538129a60e9a3_e50fe898-c450-4af4-a91d-371d3f285e57.webp?v=1714890318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab4267993ba240375b7deacddf3538129a60e9a3_e50fe898-c450-4af4-a91d-371d3f285e57.webp?v=1714890318","width":2000},{"alt":null,"id":23890752340067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10c20103ac2542e2bc317c342dd81c2b3bb0280f_55b09511-d625-4250-ac2b-e669ea6c56fb.webp?v=1714890320"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10c20103ac2542e2bc317c342dd81c2b3bb0280f_55b09511-d625-4250-ac2b-e669ea6c56fb.webp?v=1714890320","width":2000},{"alt":null,"id":23890755321955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c299d7fb965743a947ce65b80f6a1f5293b1b1fb_5bce24b5-398c-4207-a267-8266b963c641.webp?v=1714890322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c299d7fb965743a947ce65b80f6a1f5293b1b1fb_5bce24b5-398c-4207-a267-8266b963c641.webp?v=1714890322","width":2000},{"alt":null,"id":23890759024739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325","width":2000},{"alt":null,"id":23890762530915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df2a1fa148bdd1f13a9ab8073a62e2caf1f72a3_54c1344f-e25a-4ad7-84b8-6110333898cd.webp?v=1714890327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9df2a1fa148bdd1f13a9ab8073a62e2caf1f72a3_54c1344f-e25a-4ad7-84b8-6110333898cd.webp?v=1714890327","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41906404753507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485441212515,"product_id":7414425223267,"position":9,"created_at":"2024-05-05T14:25:25+08:00","updated_at":"2024-05-05T14:25:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325","variant_ids":[41906404753507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890759024739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906404917347,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485415686243,"product_id":7414425223267,"position":1,"created_at":"2024-05-05T14:25:06+08:00","updated_at":"2024-05-05T14:25:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306","variant_ids":[41906404917347]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890733006947,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27057d6605b57322111ca66f828b0506308b4ef6_09e58ee5-6741-4b22-9fac-5dab64ea5c16.webp?v=1714890306"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41906405474403,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485418766435,"product_id":7414425223267,"position":2,"created_at":"2024-05-05T14:25:08+08:00","updated_at":"2024-05-05T14:25:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309","variant_ids":[41906405474403]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890736087139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b06181edefc7429c48a6a78b22f26e814b8dba7_2c36aafc-c77a-4f41-bac0-d67f1ac2510a.webp?v=1714890309"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41906404753507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31485441212515,"product_id":7414425223267,"position":9,"created_at":"2024-05-05T14:25:25+08:00","updated_at":"2024-05-05T14:25:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325","variant_ids":[41906404753507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23890759024739,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b818ce6e10667408ecfce4db1d6ffbff4571f95_b8efd766-854a-4068-9f24-f71758e5d068.webp?v=1714890325"}},"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: "停產" }