$product = {"id":7809323466851,"title":"iPhone 14 Clear (MagSafe 兼容) StarWars 星際大戰 星際大戰 – 達斯·維達","handle":"iphone-14-jellytint-magsafe-pb147","description":null,"published_at":"2025-06-06T18:02:56+08:00","created_at":"2025-06-03T16:46:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint MagSafe專區-迪士尼-星際大戰 Star Wars","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-star-wars","device-iPhone 14","merge","reseller-star-wars"],"price":148000,"price_min":148000,"price_max":148000,"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":43420651192419,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082913415267,"product_id":7809323466851,"position":20,"created_at":"2026-01-09T10:15:54+08:00","updated_at":"2026-01-09T10:15:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956","variant_ids":[43420651192419]},"available":true,"name":"iPhone 14 Clear (MagSafe 兼容) StarWars 星際大戰 星際大戰 – 達斯·維達 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-PB147","featured_media":{"alt":null,"id":26639852404835,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fea3a62700bdab0ad0749166cdb30168896595b_cc92e811-c2b8-45c5-9f14-023b4d741523.webp?v=1748940365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_61544886-1ea9-4f23-8063-e666eb17326a.webp?v=1767858198","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3b844a96-63c3-47d2-8cfb-71044ea29efd.webp?v=1767858199","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_5be8662b-3f03-4d49-945e-1da8f178f312.webp?v=1767858200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_5bab1b2e-5e04-409c-ad49-501ed6d861e6.webp?v=1767858200","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_4af70f40-b938-45c2-9fcf-3082e13f3e1e.webp?v=1767860481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3087e55c-fede-4a3c-8407-2d075a594eae.webp?v=1767860481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_0d0bcd00-ee0c-40b5-97b7-d43a2848ded8.webp?v=1767860482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_6d0686e4-e086-4a9f-bb19-ccd5a5088692.webp?v=1767860482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_2d03147c-a2cc-42c8-adb5-8c04498ae587.webp?v=1767861069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_0d2bb3c9-4c16-4042-b249-9b9ac1f56d02.webp?v=1767861070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_7fae0d11-41ae-4e1b-8758-dc643b76e06f.webp?v=1767861070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7b71b222-b2cd-4b0e-b631-ecb1a5858aaa.webp?v=1767861071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_9cc226bc-cc88-4d39-b604-b62f74a41b29.webp?v=1767861366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_d6de951f-64f5-456e-a9ea-9412292d1973.webp?v=1767861367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_b7a4ff7e-3242-4dc3-9cd2-676325cebb26.webp?v=1767861367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7cdc9df2-f59b-4826-a805-5375fdc57417.webp?v=1767861368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_dbe92461-5547-4aa4-8e55-49b62d9bf56d.webp?v=1767924955","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_2951d35d-027d-40fd-907a-1a1e9eb184f7.webp?v=1767924956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_5d2bbeb5-9e59-422c-9b19-511b97b741a8.webp?v=1767924957"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fea3a62700bdab0ad0749166cdb30168896595b_cc92e811-c2b8-45c5-9f14-023b4d741523.webp?v=1748940365","options":["color"],"media":[{"alt":null,"id":25662168662115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fea3a62700bdab0ad0749166cdb30168896595b_cc92e811-c2b8-45c5-9f14-023b4d741523.webp?v=1748940365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fea3a62700bdab0ad0749166cdb30168896595b_cc92e811-c2b8-45c5-9f14-023b4d741523.webp?v=1748940365","width":2000},{"alt":null,"id":26636202246243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_61544886-1ea9-4f23-8063-e666eb17326a.webp?v=1767858198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_61544886-1ea9-4f23-8063-e666eb17326a.webp?v=1767858198","width":2000},{"alt":null,"id":26636202311779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3b844a96-63c3-47d2-8cfb-71044ea29efd.webp?v=1767858199"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3b844a96-63c3-47d2-8cfb-71044ea29efd.webp?v=1767858199","width":2000},{"alt":null,"id":26636202442851,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_5be8662b-3f03-4d49-945e-1da8f178f312.webp?v=1767858200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_5be8662b-3f03-4d49-945e-1da8f178f312.webp?v=1767858200","width":2000},{"alt":null,"id":26636202672227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_5bab1b2e-5e04-409c-ad49-501ed6d861e6.webp?v=1767858200"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_5bab1b2e-5e04-409c-ad49-501ed6d861e6.webp?v=1767858200","width":2000},{"alt":null,"id":26636269256803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_4af70f40-b938-45c2-9fcf-3082e13f3e1e.webp?v=1767860481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_4af70f40-b938-45c2-9fcf-3082e13f3e1e.webp?v=1767860481","width":2000},{"alt":null,"id":26636269387875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3087e55c-fede-4a3c-8407-2d075a594eae.webp?v=1767860481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_3087e55c-fede-4a3c-8407-2d075a594eae.webp?v=1767860481","width":2000},{"alt":null,"id":26636269551715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_0d0bcd00-ee0c-40b5-97b7-d43a2848ded8.webp?v=1767860482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_0d0bcd00-ee0c-40b5-97b7-d43a2848ded8.webp?v=1767860482","width":2000},{"alt":null,"id":26636269715555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_6d0686e4-e086-4a9f-bb19-ccd5a5088692.webp?v=1767860482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_6d0686e4-e086-4a9f-bb19-ccd5a5088692.webp?v=1767860482","width":2000},{"alt":null,"id":26636312379491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_2d03147c-a2cc-42c8-adb5-8c04498ae587.webp?v=1767861069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_2d03147c-a2cc-42c8-adb5-8c04498ae587.webp?v=1767861069","width":2000},{"alt":null,"id":26636312510563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_0d2bb3c9-4c16-4042-b249-9b9ac1f56d02.webp?v=1767861070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_0d2bb3c9-4c16-4042-b249-9b9ac1f56d02.webp?v=1767861070","width":2000},{"alt":null,"id":26636312674403,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_7fae0d11-41ae-4e1b-8758-dc643b76e06f.webp?v=1767861070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_7fae0d11-41ae-4e1b-8758-dc643b76e06f.webp?v=1767861070","width":2000},{"alt":null,"id":26636312838243,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7b71b222-b2cd-4b0e-b631-ecb1a5858aaa.webp?v=1767861071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7b71b222-b2cd-4b0e-b631-ecb1a5858aaa.webp?v=1767861071","width":2000},{"alt":null,"id":26636352290915,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_9cc226bc-cc88-4d39-b604-b62f74a41b29.webp?v=1767861366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_9cc226bc-cc88-4d39-b604-b62f74a41b29.webp?v=1767861366","width":2000},{"alt":null,"id":26636352356451,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_d6de951f-64f5-456e-a9ea-9412292d1973.webp?v=1767861367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_d6de951f-64f5-456e-a9ea-9412292d1973.webp?v=1767861367","width":2000},{"alt":null,"id":26636352454755,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_b7a4ff7e-3242-4dc3-9cd2-676325cebb26.webp?v=1767861367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_b7a4ff7e-3242-4dc3-9cd2-676325cebb26.webp?v=1767861367","width":2000},{"alt":null,"id":26636352585827,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7cdc9df2-f59b-4826-a805-5375fdc57417.webp?v=1767861368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_7cdc9df2-f59b-4826-a805-5375fdc57417.webp?v=1767861368","width":2000},{"alt":null,"id":26639851978851,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_dbe92461-5547-4aa4-8e55-49b62d9bf56d.webp?v=1767924955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bc7c62d7f3103bdcb5528f0deb18045492594c_dbe92461-5547-4aa4-8e55-49b62d9bf56d.webp?v=1767924955","width":2000},{"alt":null,"id":26639852175459,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_2951d35d-027d-40fd-907a-1a1e9eb184f7.webp?v=1767924956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b18cbab47b9d9bc23d9decde8b1a3066962d0e_2951d35d-027d-40fd-907a-1a1e9eb184f7.webp?v=1767924956","width":2000},{"alt":null,"id":26639852404835,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956","width":2000},{"alt":null,"id":26639852568675,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_5d2bbeb5-9e59-422c-9b19-511b97b741a8.webp?v=1767924957"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8a6914b966780ee8fc8d1a635fdb6bebd4570db_5d2bbeb5-9e59-422c-9b19-511b97b741a8.webp?v=1767924957","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43420651192419,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082913415267,"product_id":7809323466851,"position":20,"created_at":"2026-01-09T10:15:54+08:00","updated_at":"2026-01-09T10:15:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956","variant_ids":[43420651192419]},"available":true,"name":"iPhone 14 Clear (MagSafe 兼容) StarWars 星際大戰 星際大戰 – 達斯·維達 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-PB147","featured_media":{"alt":null,"id":26639852404835,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43420651192419,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012600G-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35082913415267,"product_id":7809323466851,"position":20,"created_at":"2026-01-09T10:15:54+08:00","updated_at":"2026-01-09T10:15:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956","variant_ids":[43420651192419]},"available":true,"name":"iPhone 14 Clear (MagSafe 兼容) StarWars 星際大戰 星際大戰 – 達斯·維達 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012600G-PB147","featured_media":{"alt":null,"id":26639852404835,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e691ab2e1d7dacde68a096975b9cad439ecb6491_c5702253-39c9-4838-a944-af7694fc0d68.webp?v=1767924956"}},"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: "停產" }