$product = {"id":6985745236067,"title":"iPhone 13 mini SolidSuit 柴語錄 太子大臉(直)","handle":"iphone-13-mini-solidsuit-classic-fz19","description":null,"published_at":"2023-08-02T23:55:43+08:00","created_at":"2023-07-28T21:06:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-shiba-says","device-iPhone 13 Mini","merge","reseller-shiba-says"],"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":43102692507747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692573283,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692638819,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692671587,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"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-FZ19.png?v=1690549582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517.webp?v=1784084590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a.webp?v=1784084590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19.webp?v=1784084591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30.webp?v=1784084592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_44f7bb64-c2d8-4d2a-b432-b5d214440e59.webp?v=1784091643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_e6fae981-6add-43f1-9c71-b2b62a46ddd9.webp?v=1784091643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_c2839758-a634-49fc-af5f-49a5c92c7b65.webp?v=1784091644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_55d1c6e6-0368-4bc1-afcf-ce382a770ddd.webp?v=1784091644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_ba577384-4c6a-4d4b-8178-daeb8348d7eb.webp?v=1784091839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_735101bc-b695-4787-bc55-8cea5eb9d9e4.webp?v=1784091839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_20805f8c-ff44-498c-a820-1effbafd24fb.webp?v=1784091840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_d202ddc3-b6ab-4a64-bcf4-540702e31561.webp?v=1784091841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_b845085f-b3cb-4546-a3cb-ac5fa277137f.webp?v=1784091996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_a90c357d-00a3-4a22-a933-a588b94b11c6.webp?v=1784091996","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_f7385349-c359-49a0-871d-ec3e8f8de307.webp?v=1784091997","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_2d6f8465-9141-4082-af7e-347a28985dff.webp?v=1784091998"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","options":["color","Types"],"media":[{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","width":2000},{"alt":null,"id":27772350496867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517.webp?v=1784084590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517.webp?v=1784084590","width":2000},{"alt":null,"id":27772351119459,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a.webp?v=1784084590"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a.webp?v=1784084590","width":2000},{"alt":null,"id":27772352168035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19.webp?v=1784084591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19.webp?v=1784084591","width":2000},{"alt":null,"id":27772353183843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30.webp?v=1784084592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30.webp?v=1784084592","width":2000},{"alt":null,"id":27774896930915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_44f7bb64-c2d8-4d2a-b432-b5d214440e59.webp?v=1784091643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_44f7bb64-c2d8-4d2a-b432-b5d214440e59.webp?v=1784091643","width":2000},{"alt":null,"id":27774897029219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_e6fae981-6add-43f1-9c71-b2b62a46ddd9.webp?v=1784091643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_e6fae981-6add-43f1-9c71-b2b62a46ddd9.webp?v=1784091643","width":2000},{"alt":null,"id":27774897258595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_c2839758-a634-49fc-af5f-49a5c92c7b65.webp?v=1784091644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_c2839758-a634-49fc-af5f-49a5c92c7b65.webp?v=1784091644","width":2000},{"alt":null,"id":27774897750115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_55d1c6e6-0368-4bc1-afcf-ce382a770ddd.webp?v=1784091644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_55d1c6e6-0368-4bc1-afcf-ce382a770ddd.webp?v=1784091644","width":2000},{"alt":null,"id":27774951161955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_ba577384-4c6a-4d4b-8178-daeb8348d7eb.webp?v=1784091839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_ba577384-4c6a-4d4b-8178-daeb8348d7eb.webp?v=1784091839","width":2000},{"alt":null,"id":27774951325795,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_735101bc-b695-4787-bc55-8cea5eb9d9e4.webp?v=1784091839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_735101bc-b695-4787-bc55-8cea5eb9d9e4.webp?v=1784091839","width":2000},{"alt":null,"id":27774951489635,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_20805f8c-ff44-498c-a820-1effbafd24fb.webp?v=1784091840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_20805f8c-ff44-498c-a820-1effbafd24fb.webp?v=1784091840","width":2000},{"alt":null,"id":27774951653475,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_d202ddc3-b6ab-4a64-bcf4-540702e31561.webp?v=1784091841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_d202ddc3-b6ab-4a64-bcf4-540702e31561.webp?v=1784091841","width":2000},{"alt":null,"id":27774995300451,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_b845085f-b3cb-4546-a3cb-ac5fa277137f.webp?v=1784091996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0c0ed6701ff3760500e1cfecee5dbd25bcd1517_b845085f-b3cb-4546-a3cb-ac5fa277137f.webp?v=1784091996","width":2000},{"alt":null,"id":27774995497059,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_a90c357d-00a3-4a22-a933-a588b94b11c6.webp?v=1784091996"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43fcb633fb145aa33809e4a1724c8b8ad09d473a_a90c357d-00a3-4a22-a933-a588b94b11c6.webp?v=1784091996","width":2000},{"alt":null,"id":27774995628131,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_f7385349-c359-49a0-871d-ec3e8f8de307.webp?v=1784091997"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cf8a45947001d94a5f159ee20e87179093e1e19_f7385349-c359-49a0-871d-ec3e8f8de307.webp?v=1784091997","width":2000},{"alt":null,"id":27774995759203,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_2d6f8465-9141-4082-af7e-347a28985dff.webp?v=1784091998"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b337cd4579a89c96f592417fb71e6480489ccd30_2d6f8465-9141-4082-af7e-347a28985dff.webp?v=1784091998","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43102692507747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692573283,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692638819,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102692671587,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43102692507747,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ19","requires_shipping":true,"taxable":true,"featured_image":{"id":30281538306147,"product_id":6985745236067,"position":1,"created_at":"2023-07-28T21:06:22+08:00","updated_at":"2023-07-28T21:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582","variant_ids":[43102692507747,43102692573283,43102692638819,43102692671587]},"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-FZ19","featured_media":{"alt":null,"id":22640200188003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ19.png?v=1690549582"}},"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: "停產" }