$product = {"id":8035896426595,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日","handle":"iphone-17-pro-solidx-magsafe-rv04","description":null,"published_at":"2026-06-22T16:13:19+08:00","created_at":"2026-06-17T18:04:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 17 Pro","merge","reseller-sanrio-family"],"price":145000,"price_min":145000,"price_max":145000,"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":44265585246307,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593381475,"product_id":8035896426595,"position":10,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756","variant_ids":[44265585246307]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV04","featured_media":{"alt":null,"id":27531397202019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265597665379,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590039139,"product_id":8035896426595,"position":6,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750","variant_ids":[44265597665379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-RV04","featured_media":{"alt":null,"id":27531393859683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598386275,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588597347,"product_id":8035896426595,"position":4,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749","variant_ids":[44265598386275]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-RV04","featured_media":{"alt":null,"id":27531392417891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599205475,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591874147,"product_id":8035896426595,"position":8,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754","variant_ids":[44265599205475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-RV04","featured_media":{"alt":null,"id":27531395694691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600286819,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586434659,"product_id":8035896426595,"position":1,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747","variant_ids":[44265600286819]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-RV04","featured_media":{"alt":null,"id":27531390255203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601368163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592562275,"product_id":8035896426595,"position":9,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754","variant_ids":[44265601368163]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-RV04","featured_media":{"alt":null,"id":27531396382819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602187363,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587122787,"product_id":8035896426595,"position":2,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748","variant_ids":[44265602187363]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-RV04","featured_media":{"alt":null,"id":27531390943331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602842723,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594626659,"product_id":8035896426595,"position":13,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758","variant_ids":[44265602842723]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-RV04","featured_media":{"alt":null,"id":27531398447203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603498083,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594069603,"product_id":8035896426595,"position":12,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757","variant_ids":[44265603498083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-RV04","featured_media":{"alt":null,"id":27531397890147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604153443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589318243,"product_id":8035896426595,"position":5,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752","variant_ids":[44265604153443]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-RV04","featured_media":{"alt":null,"id":27531393138787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604644963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590891107,"product_id":8035896426595,"position":7,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751","variant_ids":[44265604644963]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RV04","featured_media":{"alt":null,"id":27531394646115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605234787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587876451,"product_id":8035896426595,"position":3,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748","variant_ids":[44265605234787]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-RV04","featured_media":{"alt":null,"id":27531391696995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605660771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593643619,"product_id":8035896426595,"position":11,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756","variant_ids":[44265605660771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RV04","featured_media":{"alt":null,"id":27531397365859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747","options":["color"],"media":[{"alt":null,"id":27531390255203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747","width":2000},{"alt":null,"id":27531390943331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748","width":2000},{"alt":null,"id":27531391696995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748","width":2000},{"alt":null,"id":27531392417891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749","width":2000},{"alt":null,"id":27531393138787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752","width":2000},{"alt":null,"id":27531393859683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750","width":2000},{"alt":null,"id":27531394646115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751","width":2000},{"alt":null,"id":27531395694691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754","width":2000},{"alt":null,"id":27531396382819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754","width":2000},{"alt":null,"id":27531397202019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756","width":2000},{"alt":null,"id":27531397365859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756","width":2000},{"alt":null,"id":27531397890147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757","width":2000},{"alt":null,"id":27531398447203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265585246307,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593381475,"product_id":8035896426595,"position":10,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756","variant_ids":[44265585246307]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV04","featured_media":{"alt":null,"id":27531397202019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265597665379,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590039139,"product_id":8035896426595,"position":6,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750","variant_ids":[44265597665379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-RV04","featured_media":{"alt":null,"id":27531393859683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22348bfe6d6718b59f3cc3a7551654972bb64fa7.webp?v=1781690750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265598386275,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012588597347,"product_id":8035896426595,"position":4,"created_at":"2026-06-17T18:05:47+08:00","updated_at":"2026-06-17T18:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749","variant_ids":[44265598386275]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-RV04","featured_media":{"alt":null,"id":27531392417891,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0798d0d22eae51cd33a0d66dc23e76b299d4ad98.webp?v=1781690749"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265599205475,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012591874147,"product_id":8035896426595,"position":8,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754","variant_ids":[44265599205475]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-RV04","featured_media":{"alt":null,"id":27531395694691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b40ad73e1e678cdcdeb504fa73994dd8c4281945.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265600286819,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012586434659,"product_id":8035896426595,"position":1,"created_at":"2026-06-17T18:05:45+08:00","updated_at":"2026-06-17T18:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747","variant_ids":[44265600286819]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-RV04","featured_media":{"alt":null,"id":27531390255203,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/260ec00d6e4d765235198ec03cec00bf5bf87ab0.webp?v=1781690747"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265601368163,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012592562275,"product_id":8035896426595,"position":9,"created_at":"2026-06-17T18:05:52+08:00","updated_at":"2026-06-17T18:05:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754","variant_ids":[44265601368163]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-RV04","featured_media":{"alt":null,"id":27531396382819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/677eb3ffb80bfc6709a43dbe542e83882e8d81cc.webp?v=1781690754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602187363,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587122787,"product_id":8035896426595,"position":2,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748","variant_ids":[44265602187363]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-RV04","featured_media":{"alt":null,"id":27531390943331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26095d3b24b7f603bfb5d195c4ff735700f88478.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265602842723,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594626659,"product_id":8035896426595,"position":13,"created_at":"2026-06-17T18:05:56+08:00","updated_at":"2026-06-17T18:05:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758","variant_ids":[44265602842723]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-RV04","featured_media":{"alt":null,"id":27531398447203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b64dadd8a9a1eab252a73af59dbe6d3ca164620.webp?v=1781690758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265603498083,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012594069603,"product_id":8035896426595,"position":12,"created_at":"2026-06-17T18:05:55+08:00","updated_at":"2026-06-17T18:05:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757","variant_ids":[44265603498083]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-RV04","featured_media":{"alt":null,"id":27531397890147,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13b8d599d5be482896d69ee5d72be5a73a08e1ca.webp?v=1781690757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604153443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012589318243,"product_id":8035896426595,"position":5,"created_at":"2026-06-17T18:05:48+08:00","updated_at":"2026-06-17T18:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752","variant_ids":[44265604153443]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-RV04","featured_media":{"alt":null,"id":27531393138787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ff409199360d2a1c9de2163744b768650b6dc10.webp?v=1781690752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265604644963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012590891107,"product_id":8035896426595,"position":7,"created_at":"2026-06-17T18:05:49+08:00","updated_at":"2026-06-17T18:05:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751","variant_ids":[44265604644963]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-RV04","featured_media":{"alt":null,"id":27531394646115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2810338932de14d2b098cce971673711636394ca.webp?v=1781690751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605234787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012587876451,"product_id":8035896426595,"position":3,"created_at":"2026-06-17T18:05:46+08:00","updated_at":"2026-06-17T18:05:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748","variant_ids":[44265605234787]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-RV04","featured_media":{"alt":null,"id":27531391696995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e284f35bcd08b6ac1ce94c976357b951e152b1.webp?v=1781690748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265605660771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593643619,"product_id":8035896426595,"position":11,"created_at":"2026-06-17T18:05:54+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756","variant_ids":[44265605660771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-RV04","featured_media":{"alt":null,"id":27531397365859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa94d045599a101e10fab1c4ca0dc6e355539c23.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265585246307,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012593381475,"product_id":8035896426595,"position":10,"created_at":"2026-06-17T18:05:53+08:00","updated_at":"2026-06-17T18:05:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756","variant_ids":[44265585246307]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-RV04","featured_media":{"alt":null,"id":27531397202019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67d7aa98f7d8f510f7816d0fbed4da93de6546cb.webp?v=1781690756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }