$product = {"id":7408176267363,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear","handle":"iphone-13-mini-mod-nx-printable-yb05","description":null,"published_at":"2024-06-11T16:33:26+08:00","created_at":"2024-05-03T12:14:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41883521450083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390294115,"product_id":7408176267363,"position":8,"created_at":"2024-05-03T12:14:59+08:00","updated_at":"2024-05-03T12:14:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699","variant_ids":[41883521450083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB05","featured_media":{"alt":null,"id":23876296441955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883521548387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471388393571,"product_id":7408176267363,"position":4,"created_at":"2024-05-03T12:14:50+08:00","updated_at":"2024-05-03T12:14:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690","variant_ids":[41883521548387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YB05","featured_media":{"alt":null,"id":23876294606947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883521777763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390720099,"product_id":7408176267363,"position":9,"created_at":"2024-05-03T12:15:01+08:00","updated_at":"2024-05-03T12:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701","variant_ids":[41883521777763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YB05","featured_media":{"alt":null,"id":23876296966243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12a18058ce6c1e4cd5e7f5c41353d234349aae2_112ac75a-9ade-40c2-ab4e-530d08721552.webp?v=1714709683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d888dea051c4498f973a80e5e59b2f16d15c3c_39e332f8-c8f7-4b92-8d1f-9a270420ec09.webp?v=1714709685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ad159286df1fb0b91761dad1a102c8ebe75e26_8465239a-1bd2-4c02-82ce-85a00c2e0b36.webp?v=1714709688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c15fb8b3c3864bcd1880bedb6610c37c7706b2_7b0380eb-659f-4dcd-aef7-18be5be5c2ff.webp?v=1714709692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299f5ed46a9fcf42f63d98f06d88576eb2f3855_c878a4a6-49c3-4047-8ab4-6bb3db6448db.webp?v=1714709694","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0a2cf45c1fb6021db7c44e97b8c5a7fc7cf332_19be6583-fb48-4f7a-8305-c54492d44628.webp?v=1714709697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38d5b9555244943d996a14e998f45ff3e2f3b80_f7699948-e60c-4cb7-b593-e8cfa235b641.webp?v=1714709704"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12a18058ce6c1e4cd5e7f5c41353d234349aae2_112ac75a-9ade-40c2-ab4e-530d08721552.webp?v=1714709683","options":["color"],"media":[{"alt":null,"id":23876292739171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12a18058ce6c1e4cd5e7f5c41353d234349aae2_112ac75a-9ade-40c2-ab4e-530d08721552.webp?v=1714709683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c12a18058ce6c1e4cd5e7f5c41353d234349aae2_112ac75a-9ade-40c2-ab4e-530d08721552.webp?v=1714709683","width":2000},{"alt":null,"id":23876293296227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d888dea051c4498f973a80e5e59b2f16d15c3c_39e332f8-c8f7-4b92-8d1f-9a270420ec09.webp?v=1714709685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d888dea051c4498f973a80e5e59b2f16d15c3c_39e332f8-c8f7-4b92-8d1f-9a270420ec09.webp?v=1714709685","width":2000},{"alt":null,"id":23876293787747,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ad159286df1fb0b91761dad1a102c8ebe75e26_8465239a-1bd2-4c02-82ce-85a00c2e0b36.webp?v=1714709688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ad159286df1fb0b91761dad1a102c8ebe75e26_8465239a-1bd2-4c02-82ce-85a00c2e0b36.webp?v=1714709688","width":2000},{"alt":null,"id":23876294606947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690","width":2000},{"alt":null,"id":23876295000163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c15fb8b3c3864bcd1880bedb6610c37c7706b2_7b0380eb-659f-4dcd-aef7-18be5be5c2ff.webp?v=1714709692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3c15fb8b3c3864bcd1880bedb6610c37c7706b2_7b0380eb-659f-4dcd-aef7-18be5be5c2ff.webp?v=1714709692","width":2000},{"alt":null,"id":23876295655523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299f5ed46a9fcf42f63d98f06d88576eb2f3855_c878a4a6-49c3-4047-8ab4-6bb3db6448db.webp?v=1714709694"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7299f5ed46a9fcf42f63d98f06d88576eb2f3855_c878a4a6-49c3-4047-8ab4-6bb3db6448db.webp?v=1714709694","width":2000},{"alt":null,"id":23876296015971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0a2cf45c1fb6021db7c44e97b8c5a7fc7cf332_19be6583-fb48-4f7a-8305-c54492d44628.webp?v=1714709697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af0a2cf45c1fb6021db7c44e97b8c5a7fc7cf332_19be6583-fb48-4f7a-8305-c54492d44628.webp?v=1714709697","width":2000},{"alt":null,"id":23876296441955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699","width":2000},{"alt":null,"id":23876296966243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701","width":2000},{"alt":null,"id":23876297293923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38d5b9555244943d996a14e998f45ff3e2f3b80_f7699948-e60c-4cb7-b593-e8cfa235b641.webp?v=1714709704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38d5b9555244943d996a14e998f45ff3e2f3b80_f7699948-e60c-4cb7-b593-e8cfa235b641.webp?v=1714709704","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883521450083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390294115,"product_id":7408176267363,"position":8,"created_at":"2024-05-03T12:14:59+08:00","updated_at":"2024-05-03T12:14:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699","variant_ids":[41883521450083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB05","featured_media":{"alt":null,"id":23876296441955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883521548387,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471388393571,"product_id":7408176267363,"position":4,"created_at":"2024-05-03T12:14:50+08:00","updated_at":"2024-05-03T12:14:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690","variant_ids":[41883521548387]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-YB05","featured_media":{"alt":null,"id":23876294606947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92e29af2a4867957f6d11eda2ec0d54586d81e65_20569ab4-511c-4892-8f8c-29a8b2c54912.webp?v=1714709690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883521777763,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390720099,"product_id":7408176267363,"position":9,"created_at":"2024-05-03T12:15:01+08:00","updated_at":"2024-05-03T12:15:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701","variant_ids":[41883521777763]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-YB05","featured_media":{"alt":null,"id":23876296966243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b0aff26831fad7576de6ca6fdb716c2b2e97dae_c7d3d7fb-ad05-404d-9e57-53f6b085d98d.webp?v=1714709701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883521450083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-YB05","requires_shipping":true,"taxable":true,"featured_image":{"id":31471390294115,"product_id":7408176267363,"position":8,"created_at":"2024-05-03T12:14:59+08:00","updated_at":"2024-05-03T12:14:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699","variant_ids":[41883521450083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Care Bears - Good Luck Bear - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-YB05","featured_media":{"alt":null,"id":23876296441955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecea426537f33f7280e9717af404c8fcf12201ef_6857f6a9-830c-4130-ac0b-4e85e00d2160.webp?v=1714709699"}},"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: "停產" }