$product = {"id":6653028597859,"title":"iPhone 13 SolidSuit Harry Potter 劫盜地圖","handle":"iphone-13-solidsuit-classic-oo35","description":"","published_at":"2021-10-18T11:09:40+08:00","created_at":"2021-10-18T09:23:42+08:00","vendor":"Rhinoshield","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-harry-potter","device-iPhone 13","reseller-harry-potter"],"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":39759645180003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0126052-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488129123,"product_id":6653028597859,"position":21,"created_at":"2026-11-04T09:11:51+08:00","updated_at":"2026-11-04T09:11:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714","variant_ids":[39759645180003]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126052-OO35","featured_media":{"alt":null,"id":46684315156579,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39759645212771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0126053-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571486982243,"product_id":6653028597859,"position":18,"created_at":"2026-11-04T09:11:49+08:00","updated_at":"2026-11-04T09:11:51+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711","variant_ids":[39759645212771]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - White","public_title":"White","options":["White"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126053-OO35","featured_media":{"alt":null,"id":46684313911395,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39759645245539,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0126057-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":29940358709347,"product_id":6653028597859,"position":1,"created_at":"2023-03-28T14:27:54+08:00","updated_at":"2023-03-28T14:27:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874","variant_ids":[39759645245539]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126057-OO35","featured_media":{"alt":null,"id":22294927278179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465177699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01260O8-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571489833059,"product_id":6653028597859,"position":25,"created_at":"2026-11-04T09:11:54+08:00","updated_at":"2026-11-04T09:11:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716","variant_ids":[40306465177699]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260O8-OO35","featured_media":{"alt":null,"id":46684316827747,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465374307,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"SST01260P1-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571485507683,"product_id":6653028597859,"position":16,"created_at":"2026-11-04T09:11:48+08:00","updated_at":"2026-11-04T09:11:50+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710","variant_ids":[40306465374307]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260P1-OO35","featured_media":{"alt":null,"id":46684312502371,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465439843,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01260P2-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571486261347,"product_id":6653028597859,"position":17,"created_at":"2026-11-04T09:11:49+08:00","updated_at":"2026-11-04T09:11:51+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711","variant_ids":[40306465439843]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260P2-OO35","featured_media":{"alt":null,"id":46684313223267,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40557738917987,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"SST01260Z7-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488522339,"product_id":6653028597859,"position":22,"created_at":"2026-11-04T09:11:52+08:00","updated_at":"2026-11-04T09:11:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714","variant_ids":[40557738917987]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z7-OO35","featured_media":{"alt":null,"id":46684315549795,"position":22,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40557738950755,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01260Z8-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571487473763,"product_id":6653028597859,"position":19,"created_at":"2026-11-04T09:11:50+08:00","updated_at":"2026-11-04T09:11:52+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712","variant_ids":[40557738950755]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z8-OO35","featured_media":{"alt":null,"id":46684314501219,"position":19,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781748835,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01260Z9-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488981091,"product_id":6653028597859,"position":23,"created_at":"2026-11-04T09:11:52+08:00","updated_at":"2026-11-04T09:11:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715","variant_ids":[40671781748835]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z9-OO35","featured_media":{"alt":null,"id":46684315975779,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781814371,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"SST012600A-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571487768675,"product_id":6653028597859,"position":20,"created_at":"2026-11-04T09:11:51+08:00","updated_at":"2026-11-04T09:11:53+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713","variant_ids":[40671781814371]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012600A-OO35","featured_media":{"alt":null,"id":46684314763363,"position":20,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781879907,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012600B-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571489374307,"product_id":6653028597859,"position":24,"created_at":"2026-11-04T09:11:53+08:00","updated_at":"2026-11-04T09:11:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715","variant_ids":[40671781879907]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012600B-OO35","featured_media":{"alt":null,"id":46684316401763,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be646937ddbd4a0d4c5e73e349bbaf027a6f76e4.webp?v=1782976660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3e357cc1872fb19933c45c0f5754b6ec6c0885.webp?v=1782976661","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266ce5a59dfedb1cc499b5757dfbfd9f09ef55b.webp?v=1782976662","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10508d3f9f5c52404c2030d1ee82b92358af56d.webp?v=1782976664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51faa702ec4915f613f87cc74667bb8a4e343acb.webp?v=1782976665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a01fe2dfdf39e26aaf3e79e04690b371e05d2c.webp?v=1782976665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b3885772944659e04a3ebd01abc1f5cd0b1efe.webp?v=1782976666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03d0726a4f9570936edee431c8fd501cdd09275f.webp?v=1782976667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbd54208fc2290edc3b8d77cc2b46c2c4c3871fd.webp?v=1782976668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fbd8debcf7075153e82aa0de21c89b92633693c.webp?v=1782976671","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ffb550a9c7f7659a5afe5b8fe0dba1daff85e6.webp?v=1782976671","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/074d0b39ab3e3431e335d719ee97d57cccd77e0b.webp?v=1782976672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b54b1895b6f1037d410e0a908d18498ef7dc8e.webp?v=1782976673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/674dd631ccafb44c9f1c3265cb76fe312cb85842.webp?v=1782976673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874","options":["color"],"media":[{"alt":null,"id":22294927278179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874","width":2000},{"alt":null,"id":27658939039843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be646937ddbd4a0d4c5e73e349bbaf027a6f76e4.webp?v=1782976660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be646937ddbd4a0d4c5e73e349bbaf027a6f76e4.webp?v=1782976660","width":2000},{"alt":null,"id":27658939465827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3e357cc1872fb19933c45c0f5754b6ec6c0885.webp?v=1782976661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d3e357cc1872fb19933c45c0f5754b6ec6c0885.webp?v=1782976661","width":2000},{"alt":null,"id":27658939957347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266ce5a59dfedb1cc499b5757dfbfd9f09ef55b.webp?v=1782976662"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a266ce5a59dfedb1cc499b5757dfbfd9f09ef55b.webp?v=1782976662","width":2000},{"alt":null,"id":27658940514403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10508d3f9f5c52404c2030d1ee82b92358af56d.webp?v=1782976664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d10508d3f9f5c52404c2030d1ee82b92358af56d.webp?v=1782976664","width":2000},{"alt":null,"id":27658940776547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51faa702ec4915f613f87cc74667bb8a4e343acb.webp?v=1782976665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51faa702ec4915f613f87cc74667bb8a4e343acb.webp?v=1782976665","width":2000},{"alt":null,"id":27658941136995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a01fe2dfdf39e26aaf3e79e04690b371e05d2c.webp?v=1782976665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/77a01fe2dfdf39e26aaf3e79e04690b371e05d2c.webp?v=1782976665","width":2000},{"alt":null,"id":27658941464675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b3885772944659e04a3ebd01abc1f5cd0b1efe.webp?v=1782976666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b3885772944659e04a3ebd01abc1f5cd0b1efe.webp?v=1782976666","width":2000},{"alt":null,"id":27658941988963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03d0726a4f9570936edee431c8fd501cdd09275f.webp?v=1782976667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03d0726a4f9570936edee431c8fd501cdd09275f.webp?v=1782976667","width":2000},{"alt":null,"id":27658942513251,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbd54208fc2290edc3b8d77cc2b46c2c4c3871fd.webp?v=1782976668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbd54208fc2290edc3b8d77cc2b46c2c4c3871fd.webp?v=1782976668","width":2000},{"alt":null,"id":27658943889507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fbd8debcf7075153e82aa0de21c89b92633693c.webp?v=1782976671"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fbd8debcf7075153e82aa0de21c89b92633693c.webp?v=1782976671","width":2000},{"alt":null,"id":27658944151651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ffb550a9c7f7659a5afe5b8fe0dba1daff85e6.webp?v=1782976671"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9ffb550a9c7f7659a5afe5b8fe0dba1daff85e6.webp?v=1782976671","width":2000},{"alt":null,"id":27658944577635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/074d0b39ab3e3431e335d719ee97d57cccd77e0b.webp?v=1782976672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/074d0b39ab3e3431e335d719ee97d57cccd77e0b.webp?v=1782976672","width":2000},{"alt":null,"id":27658944938083,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b54b1895b6f1037d410e0a908d18498ef7dc8e.webp?v=1782976673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50b54b1895b6f1037d410e0a908d18498ef7dc8e.webp?v=1782976673","width":2000},{"alt":null,"id":27658945167459,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/674dd631ccafb44c9f1c3265cb76fe312cb85842.webp?v=1782976673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/674dd631ccafb44c9f1c3265cb76fe312cb85842.webp?v=1782976673","width":2000},{"alt":null,"id":46684312502371,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710","width":550},{"alt":null,"id":46684313223267,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711","width":550},{"alt":null,"id":46684313911395,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711","width":550},{"alt":null,"id":46684314501219,"position":19,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712","width":550},{"alt":null,"id":46684314763363,"position":20,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713","width":550},{"alt":null,"id":46684315156579,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714","width":550},{"alt":null,"id":46684315549795,"position":22,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714","width":550},{"alt":null,"id":46684315975779,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715","width":550},{"alt":null,"id":46684316401763,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715","width":550},{"alt":null,"id":46684316827747,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""};
$isMerge = null;
$variants = [{"id":39759645180003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0126052-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488129123,"product_id":6653028597859,"position":21,"created_at":"2026-11-04T09:11:51+08:00","updated_at":"2026-11-04T09:11:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714","variant_ids":[39759645180003]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126052-OO35","featured_media":{"alt":null,"id":46684315156579,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39759645212771,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0126053-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571486982243,"product_id":6653028597859,"position":18,"created_at":"2026-11-04T09:11:49+08:00","updated_at":"2026-11-04T09:11:51+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711","variant_ids":[39759645212771]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - White","public_title":"White","options":["White"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126053-OO35","featured_media":{"alt":null,"id":46684313911395,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126053-OO35.webp?v=1793754711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":39759645245539,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0126057-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":29940358709347,"product_id":6653028597859,"position":1,"created_at":"2023-03-28T14:27:54+08:00","updated_at":"2023-03-28T14:27:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874","variant_ids":[39759645245539]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126057-OO35","featured_media":{"alt":null,"id":22294927278179,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/product-SST0126053-OO35_2ea1b969-8de4-46d6-8adb-4d75951db3da.png?v=1679984874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465177699,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01260O8-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571489833059,"product_id":6653028597859,"position":25,"created_at":"2026-11-04T09:11:54+08:00","updated_at":"2026-11-04T09:11:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716","variant_ids":[40306465177699]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260O8-OO35","featured_media":{"alt":null,"id":46684316827747,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260O8-OO35.webp?v=1793754716"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465374307,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"SST01260P1-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571485507683,"product_id":6653028597859,"position":16,"created_at":"2026-11-04T09:11:48+08:00","updated_at":"2026-11-04T09:11:50+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710","variant_ids":[40306465374307]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260P1-OO35","featured_media":{"alt":null,"id":46684312502371,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P1-OO35.webp?v=1793754710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40306465439843,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01260P2-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571486261347,"product_id":6653028597859,"position":17,"created_at":"2026-11-04T09:11:49+08:00","updated_at":"2026-11-04T09:11:51+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711","variant_ids":[40306465439843]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260P2-OO35","featured_media":{"alt":null,"id":46684313223267,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260P2-OO35.webp?v=1793754711"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40557738917987,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"SST01260Z7-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488522339,"product_id":6653028597859,"position":22,"created_at":"2026-11-04T09:11:52+08:00","updated_at":"2026-11-04T09:11:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714","variant_ids":[40557738917987]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z7-OO35","featured_media":{"alt":null,"id":46684315549795,"position":22,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z7-OO35.webp?v=1793754714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40557738950755,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01260Z8-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571487473763,"product_id":6653028597859,"position":19,"created_at":"2026-11-04T09:11:50+08:00","updated_at":"2026-11-04T09:11:52+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712","variant_ids":[40557738950755]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z8-OO35","featured_media":{"alt":null,"id":46684314501219,"position":19,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z8-OO35.webp?v=1793754712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781748835,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01260Z9-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488981091,"product_id":6653028597859,"position":23,"created_at":"2026-11-04T09:11:52+08:00","updated_at":"2026-11-04T09:11:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715","variant_ids":[40671781748835]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01260Z9-OO35","featured_media":{"alt":null,"id":46684315975779,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST01260Z9-OO35.webp?v=1793754715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781814371,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"SST012600A-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571487768675,"product_id":6653028597859,"position":20,"created_at":"2026-11-04T09:11:51+08:00","updated_at":"2026-11-04T09:11:53+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713","variant_ids":[40671781814371]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012600A-OO35","featured_media":{"alt":null,"id":46684314763363,"position":20,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600A-OO35.webp?v=1793754713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40671781879907,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012600B-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571489374307,"product_id":6653028597859,"position":24,"created_at":"2026-11-04T09:11:53+08:00","updated_at":"2026-11-04T09:11:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715","variant_ids":[40671781879907]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012600B-OO35","featured_media":{"alt":null,"id":46684316401763,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST012600B-OO35.webp?v=1793754715"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":39759645180003,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0126052-OO35","requires_shipping":true,"taxable":true,"featured_image":{"id":43571488129123,"product_id":6653028597859,"position":21,"created_at":"2026-11-04T09:11:51+08:00","updated_at":"2026-11-04T09:11:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714","variant_ids":[39759645180003]},"available":true,"name":"iPhone 13 SolidSuit Harry Potter 劫盜地圖 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":980,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126052-OO35","featured_media":{"alt":null,"id":46684315156579,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SST0126052-OO35.webp?v=1793754714"}},"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: "停產"
}