$product = {"id":6987934072931,"title":"iPhone 13 mini SolidSuit 涼丰 狐狸","handle":"iphone-13-mini-solidsuit-classic-gd32","description":null,"published_at":"2023-08-03T02:15:01+08:00","created_at":"2023-07-30T19:50:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-liang-feng","device-iPhone 13 Mini","merge","reseller-liang-feng"],"price":83000,"price_min":83000,"price_max":83000,"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":43103066030179,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066095715,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066161251,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066194019,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa.webp?v=1784014342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4.webp?v=1784014343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494.webp?v=1784014344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949.webp?v=1784014345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_12449c23-9c9c-4b8c-8a68-e0a4a82739f4.webp?v=1784018314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_053e491a-d59d-45ea-993c-6e84ee23fca6.webp?v=1784018316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c6db9044-4759-41fe-90b5-cfd33fdc7d31.webp?v=1784018318","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_7824ac29-32fb-43bd-8d9b-7989e11479fc.webp?v=1784018319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_1328d24e-fd7c-4dc4-a550-2bbf0ac75457.webp?v=1784018619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_cdd022b5-3b5f-47bc-a35b-1d6fe174370d.webp?v=1784018620","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c72c87b6-b1ce-4ea1-aa1e-39d789306cfb.webp?v=1784018621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_440dcdf9-4365-4107-8bc0-17245b7edad3.webp?v=1784018621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_0f7906c1-db9b-4507-822c-8b13a7067f0f.webp?v=1784018712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_193f1245-eab5-47b5-811a-c2cf130d9232.webp?v=1784018713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_fa62012f-f221-44e8-94e9-cc280fb3cefd.webp?v=1784018713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_85c7e7e9-a1a7-4049-a44a-6ebb4ed5baf2.webp?v=1784018714"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","options":["color","Types"],"media":[{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","width":2000},{"alt":null,"id":27761797529699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa.webp?v=1784014342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa.webp?v=1784014342","width":2000},{"alt":null,"id":27761797922915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4.webp?v=1784014343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4.webp?v=1784014343","width":2000},{"alt":null,"id":27761798217827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494.webp?v=1784014344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494.webp?v=1784014344","width":2000},{"alt":null,"id":27761798250595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949.webp?v=1784014345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949.webp?v=1784014345","width":2000},{"alt":null,"id":27762600411235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_12449c23-9c9c-4b8c-8a68-e0a4a82739f4.webp?v=1784018314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_12449c23-9c9c-4b8c-8a68-e0a4a82739f4.webp?v=1784018314","width":2000},{"alt":null,"id":27762601033827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_053e491a-d59d-45ea-993c-6e84ee23fca6.webp?v=1784018316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_053e491a-d59d-45ea-993c-6e84ee23fca6.webp?v=1784018316","width":2000},{"alt":null,"id":27762601361507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c6db9044-4759-41fe-90b5-cfd33fdc7d31.webp?v=1784018318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c6db9044-4759-41fe-90b5-cfd33fdc7d31.webp?v=1784018318","width":2000},{"alt":null,"id":27762601754723,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_7824ac29-32fb-43bd-8d9b-7989e11479fc.webp?v=1784018319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_7824ac29-32fb-43bd-8d9b-7989e11479fc.webp?v=1784018319","width":2000},{"alt":null,"id":27762630623331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_1328d24e-fd7c-4dc4-a550-2bbf0ac75457.webp?v=1784018619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_1328d24e-fd7c-4dc4-a550-2bbf0ac75457.webp?v=1784018619","width":2000},{"alt":null,"id":27762630983779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_cdd022b5-3b5f-47bc-a35b-1d6fe174370d.webp?v=1784018620"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_cdd022b5-3b5f-47bc-a35b-1d6fe174370d.webp?v=1784018620","width":2000},{"alt":null,"id":27762631409763,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c72c87b6-b1ce-4ea1-aa1e-39d789306cfb.webp?v=1784018621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_c72c87b6-b1ce-4ea1-aa1e-39d789306cfb.webp?v=1784018621","width":2000},{"alt":null,"id":27762631868515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_440dcdf9-4365-4107-8bc0-17245b7edad3.webp?v=1784018621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_440dcdf9-4365-4107-8bc0-17245b7edad3.webp?v=1784018621","width":2000},{"alt":null,"id":27762651791459,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_0f7906c1-db9b-4507-822c-8b13a7067f0f.webp?v=1784018712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/682f496ccab85eedaddaea45f07d6b68817536fa_0f7906c1-db9b-4507-822c-8b13a7067f0f.webp?v=1784018712","width":2000},{"alt":null,"id":27762652086371,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_193f1245-eab5-47b5-811a-c2cf130d9232.webp?v=1784018713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/637087decc22974b47beb1c3b8227fb2b5a335e4_193f1245-eab5-47b5-811a-c2cf130d9232.webp?v=1784018713","width":2000},{"alt":null,"id":27762652348515,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_fa62012f-f221-44e8-94e9-cc280fb3cefd.webp?v=1784018713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e669ed3aab84cc3183466f308d32bb499beb2494_fa62012f-f221-44e8-94e9-cc280fb3cefd.webp?v=1784018713","width":2000},{"alt":null,"id":27762652643427,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_85c7e7e9-a1a7-4049-a44a-6ebb4ed5baf2.webp?v=1784018714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/428af36b1283710f865c3a173093706aebd42949_85c7e7e9-a1a7-4049-a44a-6ebb4ed5baf2.webp?v=1784018714","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43103066030179,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066095715,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066161251,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103066194019,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43103066030179,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD32","requires_shipping":true,"taxable":true,"featured_image":{"id":30287576858723,"product_id":6987934072931,"position":1,"created_at":"2023-07-30T19:50:56+08:00","updated_at":"2023-07-30T19:50:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856","variant_ids":[43103066030179,43103066095715,43103066161251,43103066194019]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 狐狸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD32","featured_media":{"alt":null,"id":22646286614627,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD32.png?v=1690717856"}},"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: "停產" }