$product = {"id":6986761044067,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-ea46","description":null,"published_at":"2023-08-03T01:28:56+08:00","created_at":"2023-07-29T20:24:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 13 Pro Max","merge","reseller-songsongmeow"],"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":43102457856099,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102458052707,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102458183779,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"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-EA46.png?v=1690636857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03.webp?v=1783499207","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589.webp?v=1783499208","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8.webp?v=1783499209","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44.webp?v=1783499210","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7.webp?v=1783499211","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_cb868659-01d2-408c-9a40-7c7621e8a288.webp?v=1783507836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_e88779da-e8ea-4fe8-a7f2-5cf36b14f7ce.webp?v=1783507841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_a20ecd20-11fc-4341-9782-8e96e6d67cc2.webp?v=1783507843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_093f6ce5-e06e-4cea-8bec-51b272d19074.webp?v=1783507846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_b856485d-37cf-4871-9717-789a73f314e9.webp?v=1783507848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_bb972b39-6ce5-4555-9850-d7d6ce49ee20.webp?v=1783508079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_aa34cc92-8956-420c-804a-7613db0f6772.webp?v=1783508080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_108ca67c-dce9-484d-920c-f0bad7a77e3f.webp?v=1783508081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_e1dcfb16-086e-4fd5-a9a5-76b56d3d7094.webp?v=1783508081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_6b66e6d4-255c-4960-8d3f-04d442a99e21.webp?v=1783508082","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_32cfa55d-8872-4f09-ad3d-9e768c54b60b.webp?v=1783508272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_931a572f-a72c-4ab8-9522-415ea98ec2fc.webp?v=1783508273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_59cea6ef-f80d-463f-bfdf-8d30b6950cb0.webp?v=1783508274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_73effd53-2dec-4e26-a818-6d27f65df3d2.webp?v=1783508274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_8fc1d8d0-3364-4d49-9208-588033d43f3e.webp?v=1783508276"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","options":["color","Types"],"media":[{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","width":2000},{"alt":null,"id":27715827105891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03.webp?v=1783499207"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03.webp?v=1783499207","width":2000},{"alt":null,"id":27715827826787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589.webp?v=1783499208"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589.webp?v=1783499208","width":2000},{"alt":null,"id":27715828121699,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8.webp?v=1783499209"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8.webp?v=1783499209","width":2000},{"alt":null,"id":27715828777059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44.webp?v=1783499210"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44.webp?v=1783499210","width":2000},{"alt":null,"id":27715829760099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7.webp?v=1783499211"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7.webp?v=1783499211","width":2000},{"alt":null,"id":27719335149667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_cb868659-01d2-408c-9a40-7c7621e8a288.webp?v=1783507836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_cb868659-01d2-408c-9a40-7c7621e8a288.webp?v=1783507836","width":2000},{"alt":null,"id":27719337312355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_e88779da-e8ea-4fe8-a7f2-5cf36b14f7ce.webp?v=1783507841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_e88779da-e8ea-4fe8-a7f2-5cf36b14f7ce.webp?v=1783507841","width":2000},{"alt":null,"id":27719338393699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_a20ecd20-11fc-4341-9782-8e96e6d67cc2.webp?v=1783507843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_a20ecd20-11fc-4341-9782-8e96e6d67cc2.webp?v=1783507843","width":2000},{"alt":null,"id":27719339147363,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_093f6ce5-e06e-4cea-8bec-51b272d19074.webp?v=1783507846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_093f6ce5-e06e-4cea-8bec-51b272d19074.webp?v=1783507846","width":2000},{"alt":null,"id":27719339442275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_b856485d-37cf-4871-9717-789a73f314e9.webp?v=1783507848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_b856485d-37cf-4871-9717-789a73f314e9.webp?v=1783507848","width":2000},{"alt":null,"id":27720029929571,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_bb972b39-6ce5-4555-9850-d7d6ce49ee20.webp?v=1783508079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_bb972b39-6ce5-4555-9850-d7d6ce49ee20.webp?v=1783508079","width":2000},{"alt":null,"id":27720030421091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_aa34cc92-8956-420c-804a-7613db0f6772.webp?v=1783508080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_aa34cc92-8956-420c-804a-7613db0f6772.webp?v=1783508080","width":2000},{"alt":null,"id":27720031141987,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_108ca67c-dce9-484d-920c-f0bad7a77e3f.webp?v=1783508081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_108ca67c-dce9-484d-920c-f0bad7a77e3f.webp?v=1783508081","width":2000},{"alt":null,"id":27720031535203,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_e1dcfb16-086e-4fd5-a9a5-76b56d3d7094.webp?v=1783508081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_e1dcfb16-086e-4fd5-a9a5-76b56d3d7094.webp?v=1783508081","width":2000},{"alt":null,"id":27720031993955,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_6b66e6d4-255c-4960-8d3f-04d442a99e21.webp?v=1783508082"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_6b66e6d4-255c-4960-8d3f-04d442a99e21.webp?v=1783508082","width":2000},{"alt":null,"id":27720106213475,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_32cfa55d-8872-4f09-ad3d-9e768c54b60b.webp?v=1783508272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7b69121e34f3a024d69f786e3555bfb59c7db03_32cfa55d-8872-4f09-ad3d-9e768c54b60b.webp?v=1783508272","width":2000},{"alt":null,"id":27720106704995,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_931a572f-a72c-4ab8-9522-415ea98ec2fc.webp?v=1783508273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02237ce20069a016cbec06c214f9a490bd1d1589_931a572f-a72c-4ab8-9522-415ea98ec2fc.webp?v=1783508273","width":2000},{"alt":null,"id":27720107098211,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_59cea6ef-f80d-463f-bfdf-8d30b6950cb0.webp?v=1783508274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42d16f303dfed85a1f09d429a3b835257a372fb8_59cea6ef-f80d-463f-bfdf-8d30b6950cb0.webp?v=1783508274","width":2000},{"alt":null,"id":27720107458659,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_73effd53-2dec-4e26-a818-6d27f65df3d2.webp?v=1783508274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c06e5c1746a358bca8ce11ed01e9ae7011606f44_73effd53-2dec-4e26-a818-6d27f65df3d2.webp?v=1783508274","width":2000},{"alt":null,"id":27720107982947,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_8fc1d8d0-3364-4d49-9208-588033d43f3e.webp?v=1783508276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7c01c13f79c882a60dd9a6a9ba2261b67dee6f7_8fc1d8d0-3364-4d49-9208-588033d43f3e.webp?v=1783508276","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43102457856099,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102458052707,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102458183779,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43102457856099,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-EA46","requires_shipping":true,"taxable":true,"featured_image":{"id":30284591005795,"product_id":6986761044067,"position":1,"created_at":"2023-07-29T21:20:57+08:00","updated_at":"2023-07-29T21:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857","variant_ids":[43102457856099,43102458052707,43102458183779]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND good night - 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-EA46","featured_media":{"alt":null,"id":22643281461347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-EA46.png?v=1690636857"}},"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: "停產"
}