$product = {"id":6741362704483,"title":"3D壯撞貼 - iPhone 11","handle":"iphone-11-3d-with-alignment-frame","description":"\u003cp\u003e\u003cstrong\u003e透明 | 高透明度提供超清晰視覺饗宴\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e防窺 | 享受隱私,不再擔心被窺探\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e霧面 | 滑順、防塵、清晰不眩光\u003c\/strong\u003e\u003c\/p\u003e\n\u003cbr\u003e\n\u003cp\u003e高韌性獨家塑料打造,非鋼化玻璃材質。\u003c\/p\u003e\n\u003cp\u003e強韌耐用,有效吸收衝擊,讓你擺脫一再更換玻保的困擾。\u003c\/p\u003e\n\u003cp\u003e搭配貼膜輔助工具,新手也能輕鬆上手!\u003c\/p\u003e\n\u003cbr\u003e\n\u003cp\u003e產品內含:壯撞貼1片、貼膜輔助工具1組\u003c\/p\u003e\n\u003cp\u003e產品特性:超強衝擊防護力、3D全滿版覆蓋、一片抵10片、日常防刮、疏油疏水、零殘膠\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv id=\"gtx-trans\" style=\"position: absolute; left: 24px; top: -20px;\"\u003e\n\u003cdiv class=\"gtx-trans-icon\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e","published_at":"2022-04-28T16:13:15+08:00","created_at":"2022-04-20T15:09:55+08:00","vendor":"Rhinoshieldtaiwan","type":"3D壯撞貼","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","addition","addtion","brand-Apple","bundle-addition","device-iPhone 11","discountable-item","dropdownDevice-Apple iPhone 11","iPhone 11","member","multi-shared","quickbuy","reseller","reseller-3d-screen-protector","reseller-asus","Top50","type-3d-screen-protector"],"price":70000,"price_min":70000,"price_max":70000,"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":40239313027171,"title":"透明","option1":"透明","option2":null,"option3":null,"sku":"SPE01148H3","requires_shipping":true,"taxable":true,"featured_image":{"id":29088645480547,"product_id":6741362704483,"position":1,"created_at":"2022-04-22T14:56:20+08:00","updated_at":"2022-04-22T14:56:20+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","variant_ids":[40239313027171]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 透明","public_title":"透明","options":["透明"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-35830,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203600770","featured_media":{"alt":null,"id":21428648018019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40230149423203,"title":"防窺","option1":"防窺","option2":null,"option3":null,"sku":"SPE01148H2","requires_shipping":true,"taxable":true,"featured_image":{"id":29088645513315,"product_id":6741362704483,"position":2,"created_at":"2022-04-22T14:56:20+08:00","updated_at":"2022-06-27T17:18:20+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500","variant_ids":[40230149423203]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 防窺","public_title":"防窺","options":["防窺"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-30491,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203601111","featured_media":{"alt":null,"id":21428648050787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40214232170595,"title":"霧面","option1":"霧面","option2":null,"option3":null,"sku":"SPE01148H1","requires_shipping":true,"taxable":true,"featured_image":{"id":29265659822179,"product_id":6741362704483,"position":12,"created_at":"2022-06-16T09:33:23+08:00","updated_at":"2022-06-16T09:33:23+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203","variant_ids":[40214232170595]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 霧面","public_title":"霧面","options":["霧面"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-30077,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203601029","featured_media":{"alt":null,"id":21609014394979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_324d7581-a0d1-44ad-8003-c3f3588dedb7.png?v=1656321500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H3-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-2-iphone-11-3d-screen-protector-with-alignment-frame_a3ae7c05-ba06-4a5f-be69-4a2f402b1d3c.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-1-iphone-11-3d-screen-protector-with-alignment-frame_41b94bbc-8e74-46ef-8057-73df5e5a3ea0.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-2-iphone-11-3d-screen-protector-with-alignment-frame_2bb6fd7a-57f2-4f06-91e8-fdf1642a1600.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-1-iphone-11-3d-screen-protector-with-alignment-frame_4ab2b4fd-5538-4768-9656-5c520680d550.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-4-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203","\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-pro-3d-screen-protector-with-alignment-frame_b96b8194-7651-4f9b-aece-cb915bf6a54f.png?v=1655343203"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","options":["Title"],"media":[{"alt":null,"id":21428648018019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"},"aspect_ratio":1.0,"height":1024,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","width":1024},{"alt":null,"id":21428648050787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500"},"aspect_ratio":1.0,"height":1024,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500","width":1024},{"alt":null,"id":21428648083555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_324d7581-a0d1-44ad-8003-c3f3588dedb7.png?v=1656321500"},"aspect_ratio":1.0,"height":1024,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_324d7581-a0d1-44ad-8003-c3f3588dedb7.png?v=1656321500","width":1024},{"alt":null,"id":21428648214627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H3-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H3-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","width":1800},{"alt":null,"id":21428648247395,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-2-iphone-11-3d-screen-protector-with-alignment-frame_a3ae7c05-ba06-4a5f-be69-4a2f402b1d3c.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-2-iphone-11-3d-screen-protector-with-alignment-frame_a3ae7c05-ba06-4a5f-be69-4a2f402b1d3c.png?v=1650610580","width":1800},{"alt":null,"id":21428648280163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-1-iphone-11-3d-screen-protector-with-alignment-frame_41b94bbc-8e74-46ef-8057-73df5e5a3ea0.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-1-iphone-11-3d-screen-protector-with-alignment-frame_41b94bbc-8e74-46ef-8057-73df5e5a3ea0.png?v=1650610580","width":1800},{"alt":null,"id":21428648312931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","width":1800},{"alt":null,"id":21428648345699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-2-iphone-11-3d-screen-protector-with-alignment-frame_2bb6fd7a-57f2-4f06-91e8-fdf1642a1600.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-2-iphone-11-3d-screen-protector-with-alignment-frame_2bb6fd7a-57f2-4f06-91e8-fdf1642a1600.png?v=1650610580","width":1800},{"alt":null,"id":21428648378467,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-1-iphone-11-3d-screen-protector-with-alignment-frame_4ab2b4fd-5538-4768-9656-5c520680d550.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-1-iphone-11-3d-screen-protector-with-alignment-frame_4ab2b4fd-5538-4768-9656-5c520680d550.png?v=1650610580","width":1800},{"alt":null,"id":21428648411235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H1-3-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","width":1800},{"alt":null,"id":21428648444003,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-4-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/SPE01148H2-4-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","width":1800},{"alt":null,"id":21609014394979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203"},"aspect_ratio":1.0,"height":1024,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203","width":1024},{"alt":null,"id":21609014427747,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-pro-3d-screen-protector-with-alignment-frame_b96b8194-7651-4f9b-aece-cb915bf6a54f.png?v=1655343203"},"aspect_ratio":1.0,"height":1024,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-pro-3d-screen-protector-with-alignment-frame_b96b8194-7651-4f9b-aece-cb915bf6a54f.png?v=1655343203","width":1024}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003e透明 | 高透明度提供超清晰視覺饗宴\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e防窺 | 享受隱私,不再擔心被窺探\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e霧面 | 滑順、防塵、清晰不眩光\u003c\/strong\u003e\u003c\/p\u003e\n\u003cbr\u003e\n\u003cp\u003e高韌性獨家塑料打造,非鋼化玻璃材質。\u003c\/p\u003e\n\u003cp\u003e強韌耐用,有效吸收衝擊,讓你擺脫一再更換玻保的困擾。\u003c\/p\u003e\n\u003cp\u003e搭配貼膜輔助工具,新手也能輕鬆上手!\u003c\/p\u003e\n\u003cbr\u003e\n\u003cp\u003e產品內含:壯撞貼1片、貼膜輔助工具1組\u003c\/p\u003e\n\u003cp\u003e產品特性:超強衝擊防護力、3D全滿版覆蓋、一片抵10片、日常防刮、疏油疏水、零殘膠\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cdiv id=\"gtx-trans\" style=\"position: absolute; left: 24px; top: -20px;\"\u003e\n\u003cdiv class=\"gtx-trans-icon\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e"}; $bumper = null; $variants = [{"id":40239313027171,"title":"透明","option1":"透明","option2":null,"option3":null,"sku":"SPE01148H3","requires_shipping":true,"taxable":true,"featured_image":{"id":29088645480547,"product_id":6741362704483,"position":1,"created_at":"2022-04-22T14:56:20+08:00","updated_at":"2022-04-22T14:56:20+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","variant_ids":[40239313027171]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 透明","public_title":"透明","options":["透明"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-35830,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203600770","featured_media":{"alt":null,"id":21428648018019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40230149423203,"title":"防窺","option1":"防窺","option2":null,"option3":null,"sku":"SPE01148H2","requires_shipping":true,"taxable":true,"featured_image":{"id":29088645513315,"product_id":6741362704483,"position":2,"created_at":"2022-04-22T14:56:20+08:00","updated_at":"2022-06-27T17:18:20+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500","variant_ids":[40230149423203]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 防窺","public_title":"防窺","options":["防窺"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-30491,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203601111","featured_media":{"alt":null,"id":21428648050787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/privacy-iphone-11-3d-screen-protector-with-alignment-frame_9c5e38ba-1b9a-4fa6-9fd0-5c01b9d269e3.png?v=1656321500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40214232170595,"title":"霧面","option1":"霧面","option2":null,"option3":null,"sku":"SPE01148H1","requires_shipping":true,"taxable":true,"featured_image":{"id":29265659822179,"product_id":6741362704483,"position":12,"created_at":"2022-06-16T09:33:23+08:00","updated_at":"2022-06-16T09:33:23+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203","variant_ids":[40214232170595]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 霧面","public_title":"霧面","options":["霧面"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-30077,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203601029","featured_media":{"alt":null,"id":21609014394979,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/matte-iphone-11-3d-screen-protector-with-alignment-frame_6a078bd3-4ec9-4fed-8b95-c4553d43a259.png?v=1655343203"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40239313027171,"title":"透明","option1":"透明","option2":null,"option3":null,"sku":"SPE01148H3","requires_shipping":true,"taxable":true,"featured_image":{"id":29088645480547,"product_id":6741362704483,"position":1,"created_at":"2022-04-22T14:56:20+08:00","updated_at":"2022-04-22T14:56:20+08:00","alt":null,"width":1024,"height":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580","variant_ids":[40239313027171]},"available":true,"name":"3D壯撞貼 - iPhone 11 - 透明","public_title":"透明","options":["透明"],"price":70000,"weight":0,"compare_at_price":null,"inventory_quantity":-35830,"inventory_management":null,"inventory_policy":"deny","barcode":"4711203600770","featured_media":{"alt":null,"id":21428648018019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1024,"width":1024,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/products\/home-iphone-11-3d-screen-protector-with-alignment-frame.png?v=1650610580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; var sellingStatus; $device_handle = null if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages([productImg, bumperColors[currentVariant]],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages([bumperColors[currentVariant], productImg],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); }; var storedData = sessionStorage.getItem('sellingStatusData'); try { sellingStatusData = JSON.parse(storedData) } catch (error) { console.error('JSON.parse Error', error) sellingStatusData = null } $(document).ready(function() { handleSellingStatus($defaultVariant.sku, sellingStatusData); }); function handleSellingStatus(currentSku, sellingStatusData) { const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData) }); });
// 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: "停產" }