$product = {"id":6982549471331,"title":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡","handle":"iphone-14-plus-solidsuit-classic-magsafe-fa22","description":null,"published_at":"2023-08-01T21:19:40+08:00","created_at":"2023-07-27T19:01:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bugcat-capoo","device-iPhone 14 Plus","merge","reseller-bugcat-capoo"],"price":125000,"price_min":125000,"price_max":125000,"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":40591122169955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792419939,"product_id":6982549471331,"position":4,"created_at":"2026-04-02T15:18:45+08:00","updated_at":"2026-04-02T15:18:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327","variant_ids":[40591122169955]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-FA22","featured_media":{"alt":null,"id":27114412343395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122235491,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792223331,"product_id":6982549471331,"position":3,"created_at":"2026-04-02T15:18:44+08:00","updated_at":"2026-04-02T15:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326","variant_ids":[40591122235491]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-FA22","featured_media":{"alt":null,"id":27114412146787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122301027,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581793140835,"product_id":6982549471331,"position":7,"created_at":"2026-04-02T15:18:47+08:00","updated_at":"2026-04-02T15:18:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330","variant_ids":[40591122301027]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-FA22","featured_media":{"alt":null,"id":27114413064291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122595939,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792026723,"product_id":6982549471331,"position":2,"created_at":"2026-04-02T15:18:44+08:00","updated_at":"2026-04-02T15:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326","variant_ids":[40591122595939]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-FA22","featured_media":{"alt":null,"id":27114411950179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122661475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581793370211,"product_id":6982549471331,"position":8,"created_at":"2026-04-02T15:18:48+08:00","updated_at":"2026-04-02T15:18:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330","variant_ids":[40591122661475]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-FA22","featured_media":{"alt":null,"id":27114413293667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122727011,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792747619,"product_id":6982549471331,"position":5,"created_at":"2026-04-02T15:18:46+08:00","updated_at":"2026-04-02T15:18:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328","variant_ids":[40591122727011]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-FA22","featured_media":{"alt":null,"id":27114412671075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-FA22_c38a0ca6-33b9-4230-bb16-042ad40e12ca.png?v=1690455663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ea663a7a9bd359fa8779762656852a74839eaa.webp?v=1775114328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-FA22_c38a0ca6-33b9-4230-bb16-042ad40e12ca.png?v=1690455663","options":["color"],"media":[{"alt":null,"id":22633964306531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-FA22_c38a0ca6-33b9-4230-bb16-042ad40e12ca.png?v=1690455663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-FA22_c38a0ca6-33b9-4230-bb16-042ad40e12ca.png?v=1690455663","width":2000},{"alt":null,"id":27114411950179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326","width":2000},{"alt":null,"id":27114412146787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326","width":2000},{"alt":null,"id":27114412343395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327","width":2000},{"alt":null,"id":27114412671075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328","width":2000},{"alt":null,"id":27114412834915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ea663a7a9bd359fa8779762656852a74839eaa.webp?v=1775114328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54ea663a7a9bd359fa8779762656852a74839eaa.webp?v=1775114328","width":2000},{"alt":null,"id":27114413064291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330","width":2000},{"alt":null,"id":27114413293667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":40591122169955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792419939,"product_id":6982549471331,"position":4,"created_at":"2026-04-02T15:18:45+08:00","updated_at":"2026-04-02T15:18:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327","variant_ids":[40591122169955]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-FA22","featured_media":{"alt":null,"id":27114412343395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122235491,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792223331,"product_id":6982549471331,"position":3,"created_at":"2026-04-02T15:18:44+08:00","updated_at":"2026-04-02T15:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326","variant_ids":[40591122235491]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-FA22","featured_media":{"alt":null,"id":27114412146787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4768af5dd4ea952a30a75617f495ac123af2f2e2.webp?v=1775114326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122301027,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581793140835,"product_id":6982549471331,"position":7,"created_at":"2026-04-02T15:18:47+08:00","updated_at":"2026-04-02T15:18:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330","variant_ids":[40591122301027]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-FA22","featured_media":{"alt":null,"id":27114413064291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0172981ea0ba8cadb5e16ff97bd31b17f262aaa.webp?v=1775114330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122595939,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792026723,"product_id":6982549471331,"position":2,"created_at":"2026-04-02T15:18:44+08:00","updated_at":"2026-04-02T15:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326","variant_ids":[40591122595939]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-FA22","featured_media":{"alt":null,"id":27114411950179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99d1027f78b9e332809598407e961fe8bbf2a7a5.webp?v=1775114326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122661475,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581793370211,"product_id":6982549471331,"position":8,"created_at":"2026-04-02T15:18:48+08:00","updated_at":"2026-04-02T15:18:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330","variant_ids":[40591122661475]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-FA22","featured_media":{"alt":null,"id":27114413293667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4d3f59641b3ed5cdd3f5f64649611cd12d04ff1.webp?v=1775114330"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40591122727011,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792747619,"product_id":6982549471331,"position":5,"created_at":"2026-04-02T15:18:46+08:00","updated_at":"2026-04-02T15:18:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328","variant_ids":[40591122727011]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-FA22","featured_media":{"alt":null,"id":27114412671075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/482b8a9740cb1184ac62fe33a649095fb9b79f2d.webp?v=1775114328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40591122169955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-FA22","requires_shipping":true,"taxable":true,"featured_image":{"id":35581792419939,"product_id":6982549471331,"position":4,"created_at":"2026-04-02T15:18:45+08:00","updated_at":"2026-04-02T15:18:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327","variant_ids":[40591122169955]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 貓貓蟲咖波 咖波好朋友趴趴睡 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-FA22","featured_media":{"alt":null,"id":27114412343395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd21beadc55fccd832e10afc28fa5241e6da7a90.webp?v=1775114327"}},"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: "停產" }