$product = {"id":7769852903523,"title":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself","handle":"iphone-13-mini-mod-nx-printable-xf47","description":null,"published_at":"2025-04-16T14:01:44+08:00","created_at":"2025-04-15T21:15:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Mini","merge","reseller-ilovedoodle"],"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":43304241365091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197540372579,"product_id":7769852903523,"position":5,"created_at":"2025-07-16T15:08:38+08:00","updated_at":"2025-07-16T15:08:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720","variant_ids":[43304241365091]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF47","featured_media":{"alt":null,"id":25829953241187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304246083683,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197539356771,"product_id":7769852903523,"position":3,"created_at":"2025-07-16T15:08:36+08:00","updated_at":"2025-07-16T15:08:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718","variant_ids":[43304246083683]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF47","featured_media":{"alt":null,"id":25829952716899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304246247523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197539782755,"product_id":7769852903523,"position":4,"created_at":"2025-07-16T15:08:37+08:00","updated_at":"2025-07-16T15:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719","variant_ids":[43304246247523]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF47","featured_media":{"alt":null,"id":25829952979043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f2e61da9e2bb5745aa03537691dc11e48f07454_3a3ae02f-5a07-431a-9109-e35bd0ca15f1.webp?v=1744722932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce2643617edbef034a139cd84a49cb73b5aac0f_fe41628e-33e8-4bf7-a287-c201e69a8741.webp?v=1752649718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1decfba983ca31b0292dd81e0ca14a0fa10b2d2e_95d041b8-1f8d-4add-a60d-3713be85ca19.webp?v=1752649720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a8885b8d79221d0b669cd95ef35d38f9bc121a_4f488a8f-ae64-4249-b434-a5fe042b6634.webp?v=1752649721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c06c58144a932caec3c110fd06f9a92ac7f6e0_9de23dfa-51a7-4892-94ab-8bb262c14658.webp?v=1752649722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93e60392f61181abb4c35b8f7e8829868b60d58_ee69e35c-223d-4a7e-9b0a-6eab59a65e11.webp?v=1752649722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2114a758902674dc168a8ab6880c36faa0eeb8fa_5f68bd52-31eb-4c78-bd62-ec8f3c36c2ab.webp?v=1752649723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7154fdfe12292a37a3bd4ff28ced59befb2a062f_36953de2-62f6-41a2-9c95-200baae641b0.webp?v=1752649723"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f2e61da9e2bb5745aa03537691dc11e48f07454_3a3ae02f-5a07-431a-9109-e35bd0ca15f1.webp?v=1744722932","options":["color"],"media":[{"alt":null,"id":25496365072483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f2e61da9e2bb5745aa03537691dc11e48f07454_3a3ae02f-5a07-431a-9109-e35bd0ca15f1.webp?v=1744722932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f2e61da9e2bb5745aa03537691dc11e48f07454_3a3ae02f-5a07-431a-9109-e35bd0ca15f1.webp?v=1744722932","width":2000},{"alt":null,"id":25829952356451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce2643617edbef034a139cd84a49cb73b5aac0f_fe41628e-33e8-4bf7-a287-c201e69a8741.webp?v=1752649718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bce2643617edbef034a139cd84a49cb73b5aac0f_fe41628e-33e8-4bf7-a287-c201e69a8741.webp?v=1752649718","width":2000},{"alt":null,"id":25829952716899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718","width":2000},{"alt":null,"id":25829952979043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719","width":2000},{"alt":null,"id":25829953241187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720","width":2000},{"alt":null,"id":25829953536099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1decfba983ca31b0292dd81e0ca14a0fa10b2d2e_95d041b8-1f8d-4add-a60d-3713be85ca19.webp?v=1752649720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1decfba983ca31b0292dd81e0ca14a0fa10b2d2e_95d041b8-1f8d-4add-a60d-3713be85ca19.webp?v=1752649720","width":2000},{"alt":null,"id":25829953798243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a8885b8d79221d0b669cd95ef35d38f9bc121a_4f488a8f-ae64-4249-b434-a5fe042b6634.webp?v=1752649721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a8885b8d79221d0b669cd95ef35d38f9bc121a_4f488a8f-ae64-4249-b434-a5fe042b6634.webp?v=1752649721","width":2000},{"alt":null,"id":25829954060387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c06c58144a932caec3c110fd06f9a92ac7f6e0_9de23dfa-51a7-4892-94ab-8bb262c14658.webp?v=1752649722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2c06c58144a932caec3c110fd06f9a92ac7f6e0_9de23dfa-51a7-4892-94ab-8bb262c14658.webp?v=1752649722","width":2000},{"alt":null,"id":25829954256995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93e60392f61181abb4c35b8f7e8829868b60d58_ee69e35c-223d-4a7e-9b0a-6eab59a65e11.webp?v=1752649722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d93e60392f61181abb4c35b8f7e8829868b60d58_ee69e35c-223d-4a7e-9b0a-6eab59a65e11.webp?v=1752649722","width":2000},{"alt":null,"id":25829954388067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2114a758902674dc168a8ab6880c36faa0eeb8fa_5f68bd52-31eb-4c78-bd62-ec8f3c36c2ab.webp?v=1752649723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2114a758902674dc168a8ab6880c36faa0eeb8fa_5f68bd52-31eb-4c78-bd62-ec8f3c36c2ab.webp?v=1752649723","width":2000},{"alt":null,"id":25829954551907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7154fdfe12292a37a3bd4ff28ced59befb2a062f_36953de2-62f6-41a2-9c95-200baae641b0.webp?v=1752649723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7154fdfe12292a37a3bd4ff28ced59befb2a062f_36953de2-62f6-41a2-9c95-200baae641b0.webp?v=1752649723","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43304241365091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197540372579,"product_id":7769852903523,"position":5,"created_at":"2025-07-16T15:08:38+08:00","updated_at":"2025-07-16T15:08:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720","variant_ids":[43304241365091]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF47","featured_media":{"alt":null,"id":25829953241187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304246083683,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197539356771,"product_id":7769852903523,"position":3,"created_at":"2025-07-16T15:08:36+08:00","updated_at":"2025-07-16T15:08:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718","variant_ids":[43304246083683]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-XF47","featured_media":{"alt":null,"id":25829952716899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41898747624379ab1ab59981352181b4461624e2_baed9c44-5904-41cd-860e-16d89658acea.webp?v=1752649718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304246247523,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197539782755,"product_id":7769852903523,"position":4,"created_at":"2025-07-16T15:08:37+08:00","updated_at":"2025-07-16T15:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719","variant_ids":[43304246247523]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-XF47","featured_media":{"alt":null,"id":25829952979043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/514ec5c5185781a1370a4f0d2b882847a9dd4497_eb49fa08-be9a-4cee-a072-8f2ef9c79176.webp?v=1752649719"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43304241365091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34197540372579,"product_id":7769852903523,"position":5,"created_at":"2025-07-16T15:08:38+08:00","updated_at":"2025-07-16T15:08:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720","variant_ids":[43304241365091]},"available":true,"name":"iPhone 13 mini Mod NX ilovedoodle Mindful Cat - Love Yourself - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-XF47","featured_media":{"alt":null,"id":25829953241187,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5e7db4e2ee0106024c8ac279eb71f0666cfcab6_d091e970-f038-43ab-b3c7-4e72f29d9408.webp?v=1752649720"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }