$product = {"id":6985798123619,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-fz45","description":null,"published_at":"2023-08-02T23:58:20+08:00","created_at":"2023-07-28T21:13:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-shiba-says","device-iPhone 13 Pro Max","merge","reseller-shiba-says"],"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":43101937795171,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938188387,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938384995,"title":"Classic Blue \/ Classic","option1":"Classic Blue","option2":"Classic","option3":null,"sku":"MST012320C-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Classic Blue \/ Classic","public_title":"Classic Blue \/ Classic","options":["Classic Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938450531,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e.webp?v=1784084934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568.webp?v=1784084935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef.webp?v=1784084937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a.webp?v=1784084938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_e7b32b66-55dd-4f49-82b0-0270d777e4ac.webp?v=1784091723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_1df9fac0-daa0-447d-b616-4f44dc90fecd.webp?v=1784091724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_e4cee8c4-4856-484b-9212-3914624f2e86.webp?v=1784091725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_b103e0a2-9981-4bbf-ab7a-55bde28c39f2.webp?v=1784091727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_33877ede-3f2b-4ec2-919d-6d3648e19b40.webp?v=1784091906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_7cdff716-ffe9-4513-b361-e585b5bc0636.webp?v=1784091906","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_bc0e656f-22f8-4112-ac8f-9759239f0e46.webp?v=1784091907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_6ea30972-6a93-4a13-a0e5-eaad087d3183.webp?v=1784091908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_d4931eef-3bde-42a0-9c3e-6173bc5235f8.webp?v=1784092073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_b56110b3-6f78-4a3c-8d7e-69b72ea62745.webp?v=1784092074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_98ebac5d-120a-4c5f-a3ed-05984154a86d.webp?v=1784092076"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","options":["color","Types"],"media":[{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","width":2000},{"alt":null,"id":27772430483555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e.webp?v=1784084934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e.webp?v=1784084934","width":2000},{"alt":null,"id":27772431302755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568.webp?v=1784084935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568.webp?v=1784084935","width":2000},{"alt":null,"id":27772432187491,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef.webp?v=1784084937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef.webp?v=1784084937","width":2000},{"alt":null,"id":27772432941155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a.webp?v=1784084938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a.webp?v=1784084938","width":2000},{"alt":null,"id":27774924718179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_e7b32b66-55dd-4f49-82b0-0270d777e4ac.webp?v=1784091723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_e7b32b66-55dd-4f49-82b0-0270d777e4ac.webp?v=1784091723","width":2000},{"alt":null,"id":27774925504611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_1df9fac0-daa0-447d-b616-4f44dc90fecd.webp?v=1784091724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_1df9fac0-daa0-447d-b616-4f44dc90fecd.webp?v=1784091724","width":2000},{"alt":null,"id":27774926258275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_e4cee8c4-4856-484b-9212-3914624f2e86.webp?v=1784091725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_e4cee8c4-4856-484b-9212-3914624f2e86.webp?v=1784091725","width":2000},{"alt":null,"id":27774926684259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_b103e0a2-9981-4bbf-ab7a-55bde28c39f2.webp?v=1784091727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_b103e0a2-9981-4bbf-ab7a-55bde28c39f2.webp?v=1784091727","width":2000},{"alt":null,"id":27774978588771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_33877ede-3f2b-4ec2-919d-6d3648e19b40.webp?v=1784091906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca856d87f6b1edd1822c1f39cbae0aada849ec7e_33877ede-3f2b-4ec2-919d-6d3648e19b40.webp?v=1784091906","width":2000},{"alt":null,"id":27774979047523,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_7cdff716-ffe9-4513-b361-e585b5bc0636.webp?v=1784091906"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_7cdff716-ffe9-4513-b361-e585b5bc0636.webp?v=1784091906","width":2000},{"alt":null,"id":27774979440739,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_bc0e656f-22f8-4112-ac8f-9759239f0e46.webp?v=1784091907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_bc0e656f-22f8-4112-ac8f-9759239f0e46.webp?v=1784091907","width":2000},{"alt":null,"id":27774979866723,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_6ea30972-6a93-4a13-a0e5-eaad087d3183.webp?v=1784091908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_6ea30972-6a93-4a13-a0e5-eaad087d3183.webp?v=1784091908","width":2000},{"alt":null,"id":27775023186019,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_d4931eef-3bde-42a0-9c3e-6173bc5235f8.webp?v=1784092073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1056e93896b2d0a0285e83ade2928dd2c8f8568_d4931eef-3bde-42a0-9c3e-6173bc5235f8.webp?v=1784092073","width":2000},{"alt":null,"id":27775023612003,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_b56110b3-6f78-4a3c-8d7e-69b72ea62745.webp?v=1784092074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b70711d15c7ef8ad4a6de385a85edea20efa0cef_b56110b3-6f78-4a3c-8d7e-69b72ea62745.webp?v=1784092074","width":2000},{"alt":null,"id":27775023841379,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_98ebac5d-120a-4c5f-a3ed-05984154a86d.webp?v=1784092076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e970127cb9579570743794c749a00736698ac6a_98ebac5d-120a-4c5f-a3ed-05984154a86d.webp?v=1784092076","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43101937795171,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938188387,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938384995,"title":"Classic Blue \/ Classic","option1":"Classic Blue","option2":"Classic","option3":null,"sku":"MST012320C-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Classic Blue \/ Classic","public_title":"Classic Blue \/ Classic","options":["Classic Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101938450531,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43101937795171,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ45","requires_shipping":true,"taxable":true,"featured_image":{"id":30281594044515,"product_id":6985798123619,"position":1,"created_at":"2023-07-28T21:13:44+08:00","updated_at":"2023-07-28T21:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024","variant_ids":[43101937795171,43101938188387,43101938384995,43101938450531]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 休息一下 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ45","featured_media":{"alt":null,"id":22640255926371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ45.png?v=1690550024"}},"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: "停產" }