$product = {"id":7413974204515,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Care Bears - 雲朵綿綿","handle":"iphone-13-mini-mod-nx-magsafe-printable-yb10","description":null,"published_at":"2024-06-11T17:46:36+08:00","created_at":"2024-05-05T13:53:32+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":41902879211619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367536227,"product_id":7413974204515,"position":9,"created_at":"2024-05-05T13:53:53+08:00","updated_at":"2024-05-05T13:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433","variant_ids":[41902879211619]},"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-YB10","featured_media":{"alt":null,"id":23889661231203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902879277155,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367929443,"product_id":7413974204515,"position":10,"created_at":"2024-05-05T13:53:55+08:00","updated_at":"2024-05-05T13:53:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435","variant_ids":[41902879277155]},"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-YB10","featured_media":{"alt":null,"id":23889661657187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902879506531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484366815331,"product_id":7413974204515,"position":8,"created_at":"2024-05-05T13:53:50+08:00","updated_at":"2024-05-05T13:53:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430","variant_ids":[41902879506531]},"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-YB10","featured_media":{"alt":null,"id":23889660575843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/321951126bb2ff545405411cbac7541c1dd92f19_859059fa-b484-463d-a7b9-b8f91f490166.webp?v=1714888414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e093e0faccee254d32e85ee7230481197308c5_9eaea779-f503-4ab3-a51f-33505c384334.webp?v=1714888416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf6c05f1d3c95542ac517ff20234211e9ac008e9_5060cba7-b3ec-49ee-acad-f8e05439addd.webp?v=1714888419","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24196027871bfaa60abb4068a498cde63052443_4cf0a560-7f54-4d3b-a2e8-0b257327da1b.webp?v=1714888421","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871671096bdbec574f20c25edc9a328a7c7d77a4_94d7ae32-e190-40c1-bae3-be278d654ffe.webp?v=1714888423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa201d73031c0716b36c2021772c16509462b622_bf378857-0f84-444f-b5e7-dc400dfa7c53.webp?v=1714888426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32ee74f93647cb494a8340fecd021239b8180b0_2d7355fb-7320-4fc1-ad97-b89fdf208226.webp?v=1714888428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/321951126bb2ff545405411cbac7541c1dd92f19_859059fa-b484-463d-a7b9-b8f91f490166.webp?v=1714888414","options":["color"],"media":[{"alt":null,"id":23889657364579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/321951126bb2ff545405411cbac7541c1dd92f19_859059fa-b484-463d-a7b9-b8f91f490166.webp?v=1714888414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/321951126bb2ff545405411cbac7541c1dd92f19_859059fa-b484-463d-a7b9-b8f91f490166.webp?v=1714888414","width":2000},{"alt":null,"id":23889657921635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e093e0faccee254d32e85ee7230481197308c5_9eaea779-f503-4ab3-a51f-33505c384334.webp?v=1714888416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7e093e0faccee254d32e85ee7230481197308c5_9eaea779-f503-4ab3-a51f-33505c384334.webp?v=1714888416","width":2000},{"alt":null,"id":23889658249315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf6c05f1d3c95542ac517ff20234211e9ac008e9_5060cba7-b3ec-49ee-acad-f8e05439addd.webp?v=1714888419"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf6c05f1d3c95542ac517ff20234211e9ac008e9_5060cba7-b3ec-49ee-acad-f8e05439addd.webp?v=1714888419","width":2000},{"alt":null,"id":23889658871907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24196027871bfaa60abb4068a498cde63052443_4cf0a560-7f54-4d3b-a2e8-0b257327da1b.webp?v=1714888421"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f24196027871bfaa60abb4068a498cde63052443_4cf0a560-7f54-4d3b-a2e8-0b257327da1b.webp?v=1714888421","width":2000},{"alt":null,"id":23889659297891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871671096bdbec574f20c25edc9a328a7c7d77a4_94d7ae32-e190-40c1-bae3-be278d654ffe.webp?v=1714888423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/871671096bdbec574f20c25edc9a328a7c7d77a4_94d7ae32-e190-40c1-bae3-be278d654ffe.webp?v=1714888423","width":2000},{"alt":null,"id":23889659625571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa201d73031c0716b36c2021772c16509462b622_bf378857-0f84-444f-b5e7-dc400dfa7c53.webp?v=1714888426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa201d73031c0716b36c2021772c16509462b622_bf378857-0f84-444f-b5e7-dc400dfa7c53.webp?v=1714888426","width":2000},{"alt":null,"id":23889660084323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32ee74f93647cb494a8340fecd021239b8180b0_2d7355fb-7320-4fc1-ad97-b89fdf208226.webp?v=1714888428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c32ee74f93647cb494a8340fecd021239b8180b0_2d7355fb-7320-4fc1-ad97-b89fdf208226.webp?v=1714888428","width":2000},{"alt":null,"id":23889660575843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430","width":2000},{"alt":null,"id":23889661231203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433","width":2000},{"alt":null,"id":23889661657187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41902879211619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367536227,"product_id":7413974204515,"position":9,"created_at":"2024-05-05T13:53:53+08:00","updated_at":"2024-05-05T13:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433","variant_ids":[41902879211619]},"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-YB10","featured_media":{"alt":null,"id":23889661231203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902879277155,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367929443,"product_id":7413974204515,"position":10,"created_at":"2024-05-05T13:53:55+08:00","updated_at":"2024-05-05T13:53:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435","variant_ids":[41902879277155]},"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-YB10","featured_media":{"alt":null,"id":23889661657187,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecaee4683dcb925e12a64c9cae6b23b361a8cc79_6cf45180-8c8c-47ce-9b8a-27c6e09f9c33.webp?v=1714888435"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902879506531,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484366815331,"product_id":7413974204515,"position":8,"created_at":"2024-05-05T13:53:50+08:00","updated_at":"2024-05-05T13:53:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430","variant_ids":[41902879506531]},"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-YB10","featured_media":{"alt":null,"id":23889660575843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1540c9f5931c1f1dfbbee56a584fe833086be87c_4df80efb-ee83-4c7a-ae52-e0a6fd968174.webp?v=1714888430"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41902879211619,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-YB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484367536227,"product_id":7413974204515,"position":9,"created_at":"2024-05-05T13:53:53+08:00","updated_at":"2024-05-05T13:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433","variant_ids":[41902879211619]},"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-YB10","featured_media":{"alt":null,"id":23889661231203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3600e75ea946e85a96eae7398c6bf05edde34f74_5ea5f15b-dd12-4c1c-bfb9-eb240552252c.webp?v=1714888433"}},"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: "停產" }