$product = {"id":7769584402531,"title":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-11-mod-nx-printable-xf57","description":null,"published_at":"2025-07-16T17:21:08+08:00","created_at":"2025-04-15T18:05:52+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 11","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":43303046217827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0114824-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197429026915,"product_id":7769584402531,"position":12,"created_at":"2025-07-16T15:06:00+08:00","updated_at":"2025-07-16T15:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563","variant_ids":[43303046217827]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-XF57","featured_media":{"alt":null,"id":25829893177443,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050379363,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0114804-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197427191907,"product_id":7769584402531,"position":7,"created_at":"2025-07-16T15:05:58+08:00","updated_at":"2025-07-16T15:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560","variant_ids":[43303050379363]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-XF57","featured_media":{"alt":null,"id":25829891965027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050477667,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0114815-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197428174947,"product_id":7769584402531,"position":10,"created_at":"2025-07-16T15:05:59+08:00","updated_at":"2025-07-16T15:06:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561","variant_ids":[43303050477667]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-XF57","featured_media":{"alt":null,"id":25829892554851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050510435,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01148C1-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197426077795,"product_id":7769584402531,"position":4,"created_at":"2025-07-16T15:05:56+08:00","updated_at":"2025-07-16T15:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558","variant_ids":[43303050510435]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-XF57","featured_media":{"alt":null,"id":25829891440739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2febd152d718527e42b26fc72fa716d48ec8e0f.webp?v=1744711559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e1c3fd9379616426a874e7b2c4281c218383d6_af19690b-4dec-4a94-b5b2-7951de60e050.webp?v=1752649557","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1dcebd7f6c77b27e184567518d1d9254d844b7_99313bfa-b335-4eb1-9684-a7d3c14662dd.webp?v=1752649558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08c5a24d30d8607c2205a70a08dc1df69cf6680_fc8e052d-5fbb-4b97-97e4-a923607fc0d8.webp?v=1752649559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60bb41fd11ee2e74e68b2cc6739122c5a0c1b0f6_ba1d45db-233b-4f52-a4d5-2a00255b6674.webp?v=1752649559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0b12249c79b8a0223d7846d6fcf00bd79413a6b_815a68de-3981-4812-9724-35e11360f5de.webp?v=1752649560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803c4e5806f6771dbd3412c30c5c8f53804011b9_8bb35683-b161-4930-bb37-a1e3f2b36556.webp?v=1752649561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628e5663721581e083ce05c56122d1404961ecd_81e79e23-f382-4728-a5b0-26760fe5e28f.webp?v=1752649562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2febd152d718527e42b26fc72fa716d48ec8e0f.webp?v=1744711559","options":["color"],"media":[{"alt":null,"id":25495874076771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2febd152d718527e42b26fc72fa716d48ec8e0f.webp?v=1744711559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2febd152d718527e42b26fc72fa716d48ec8e0f.webp?v=1744711559","width":2000},{"alt":null,"id":25829890916451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e1c3fd9379616426a874e7b2c4281c218383d6_af19690b-4dec-4a94-b5b2-7951de60e050.webp?v=1752649557"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78e1c3fd9379616426a874e7b2c4281c218383d6_af19690b-4dec-4a94-b5b2-7951de60e050.webp?v=1752649557","width":2000},{"alt":null,"id":25829891244131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1dcebd7f6c77b27e184567518d1d9254d844b7_99313bfa-b335-4eb1-9684-a7d3c14662dd.webp?v=1752649558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d1dcebd7f6c77b27e184567518d1d9254d844b7_99313bfa-b335-4eb1-9684-a7d3c14662dd.webp?v=1752649558","width":2000},{"alt":null,"id":25829891440739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558","width":2000},{"alt":null,"id":25829891637347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08c5a24d30d8607c2205a70a08dc1df69cf6680_fc8e052d-5fbb-4b97-97e4-a923607fc0d8.webp?v=1752649559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e08c5a24d30d8607c2205a70a08dc1df69cf6680_fc8e052d-5fbb-4b97-97e4-a923607fc0d8.webp?v=1752649559","width":2000},{"alt":null,"id":25829891833955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60bb41fd11ee2e74e68b2cc6739122c5a0c1b0f6_ba1d45db-233b-4f52-a4d5-2a00255b6674.webp?v=1752649559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60bb41fd11ee2e74e68b2cc6739122c5a0c1b0f6_ba1d45db-233b-4f52-a4d5-2a00255b6674.webp?v=1752649559","width":2000},{"alt":null,"id":25829891965027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560","width":2000},{"alt":null,"id":25829892128867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0b12249c79b8a0223d7846d6fcf00bd79413a6b_815a68de-3981-4812-9724-35e11360f5de.webp?v=1752649560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0b12249c79b8a0223d7846d6fcf00bd79413a6b_815a68de-3981-4812-9724-35e11360f5de.webp?v=1752649560","width":2000},{"alt":null,"id":25829892358243,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803c4e5806f6771dbd3412c30c5c8f53804011b9_8bb35683-b161-4930-bb37-a1e3f2b36556.webp?v=1752649561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/803c4e5806f6771dbd3412c30c5c8f53804011b9_8bb35683-b161-4930-bb37-a1e3f2b36556.webp?v=1752649561","width":2000},{"alt":null,"id":25829892554851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561","width":2000},{"alt":null,"id":25829892948067,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628e5663721581e083ce05c56122d1404961ecd_81e79e23-f382-4728-a5b0-26760fe5e28f.webp?v=1752649562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0628e5663721581e083ce05c56122d1404961ecd_81e79e23-f382-4728-a5b0-26760fe5e28f.webp?v=1752649562","width":2000},{"alt":null,"id":25829893177443,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303046217827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0114824-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197429026915,"product_id":7769584402531,"position":12,"created_at":"2025-07-16T15:06:00+08:00","updated_at":"2025-07-16T15:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563","variant_ids":[43303046217827]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-XF57","featured_media":{"alt":null,"id":25829893177443,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050379363,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0114804-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197427191907,"product_id":7769584402531,"position":7,"created_at":"2025-07-16T15:05:58+08:00","updated_at":"2025-07-16T15:06:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560","variant_ids":[43303050379363]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114804-XF57","featured_media":{"alt":null,"id":25829891965027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/934c2a3aee2fd12d2d67012efe103edd9cb15fd4_fa967901-ec66-4cbb-8808-355eee20aff9.webp?v=1752649560"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050477667,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0114815-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197428174947,"product_id":7769584402531,"position":10,"created_at":"2025-07-16T15:05:59+08:00","updated_at":"2025-07-16T15:06:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561","variant_ids":[43303050477667]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114815-XF57","featured_media":{"alt":null,"id":25829892554851,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc382360df4a6939dc6590704380376130c6f46_3df50668-817d-4fce-be87-4d99b068ece2.webp?v=1752649561"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303050510435,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01148C1-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197426077795,"product_id":7769584402531,"position":4,"created_at":"2025-07-16T15:05:56+08:00","updated_at":"2025-07-16T15:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558","variant_ids":[43303050510435]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01148C1-XF57","featured_media":{"alt":null,"id":25829891440739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c6d7d26e8b688c80b4ee171a51da89067793650_3df52d01-af8b-46de-8e36-f35fccd4c268.webp?v=1752649558"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303046217827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0114824-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34197429026915,"product_id":7769584402531,"position":12,"created_at":"2025-07-16T15:06:00+08:00","updated_at":"2025-07-16T15:06:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563","variant_ids":[43303046217827]},"available":true,"name":"iPhone 11 Mod NX ilovedoodle Stay Curious - 保持好奇心 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0114824-XF57","featured_media":{"alt":null,"id":25829893177443,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06a8e92f61243786e13d851e0584215d51457bc8_193b3888-5556-42c4-9654-276bf582e172.webp?v=1752649563"}},"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: "停產" }