$product = {"id":7987489112163,"title":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日","handle":"iphone-15-plus-solidx-anp15","description":null,"published_at":"2026-03-31T11:24:32+08:00","created_at":"2026-03-30T10:54:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-anpanman","device-iPhone 15 Plus","merge","reseller-anpanman"],"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":44088195383395,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561469018211,"product_id":7987489112163,"position":14,"created_at":"2026-03-30T11:54:49+08:00","updated_at":"2026-03-30T11:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891","variant_ids":[44088195383395]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-ANP15","featured_media":{"alt":null,"id":27095033315427,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088196989027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561468231779,"product_id":7987489112163,"position":13,"created_at":"2026-03-30T11:54:48+08:00","updated_at":"2026-03-30T11:54:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890","variant_ids":[44088196989027]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-ANP15","featured_media":{"alt":null,"id":27095032528995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088197120099,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561469411427,"product_id":7987489112163,"position":16,"created_at":"2026-03-30T11:54:50+08:00","updated_at":"2026-03-30T11:54:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892","variant_ids":[44088197120099]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-ANP15","featured_media":{"alt":null,"id":27095033708643,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d.webp?v=1774839258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c.webp?v=1774839258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7.webp?v=1774839259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4.webp?v=1774839259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65.webp?v=1774839260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908.webp?v=1774839260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28.webp?v=1774839261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3.webp?v=1774839262","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d_76266a54-10ca-4093-b0ae-10acec4e9597.webp?v=1774842887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28_0259f425-1a9e-4004-887f-1821483aae43.webp?v=1774842888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c_c96ed4cf-e6a4-4098-a722-1fd2335f167e.webp?v=1774842888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4_e36d9122-2068-40a0-a3b1-2bb4ad9b7c1d.webp?v=1774842889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7_fba88a94-ffb4-42c6-842d-95efe17d64f6.webp?v=1774842891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d.webp?v=1774839258","options":["color"],"media":[{"alt":null,"id":27094121381987,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d.webp?v=1774839258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d.webp?v=1774839258","width":2000},{"alt":null,"id":27094121545827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c.webp?v=1774839258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c.webp?v=1774839258","width":2000},{"alt":null,"id":27094121676899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7.webp?v=1774839259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7.webp?v=1774839259","width":2000},{"alt":null,"id":27094121742435,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4.webp?v=1774839259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4.webp?v=1774839259","width":2000},{"alt":null,"id":27094121807971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65.webp?v=1774839260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65.webp?v=1774839260","width":2000},{"alt":null,"id":27094121906275,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908.webp?v=1774839260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908.webp?v=1774839260","width":2000},{"alt":null,"id":27094122037347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28.webp?v=1774839261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28.webp?v=1774839261","width":2000},{"alt":null,"id":27094122365027,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3.webp?v=1774839262"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3.webp?v=1774839262","width":2000},{"alt":null,"id":27095031808099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d_76266a54-10ca-4093-b0ae-10acec4e9597.webp?v=1774842887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fa7c23d61c7e223f7972f850e5d5747d7c06a7d_76266a54-10ca-4093-b0ae-10acec4e9597.webp?v=1774842887","width":2000},{"alt":null,"id":27095032004707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28_0259f425-1a9e-4004-887f-1821483aae43.webp?v=1774842888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23e1d4f6a5c3a868bd1437b11de4688fdce8ba28_0259f425-1a9e-4004-887f-1821483aae43.webp?v=1774842888","width":2000},{"alt":null,"id":27095032135779,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c_c96ed4cf-e6a4-4098-a722-1fd2335f167e.webp?v=1774842888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7283aa1e1e91bacfd0f6f9bf477ff5a2e860c72c_c96ed4cf-e6a4-4098-a722-1fd2335f167e.webp?v=1774842888","width":2000},{"alt":null,"id":27095032332387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4_e36d9122-2068-40a0-a3b1-2bb4ad9b7c1d.webp?v=1774842889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a06f25bcd2e2d4da48c5f9db2e984f6f48f97c4_e36d9122-2068-40a0-a3b1-2bb4ad9b7c1d.webp?v=1774842889","width":2000},{"alt":null,"id":27095032528995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890","width":2000},{"alt":null,"id":27095033315427,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891","width":2000},{"alt":null,"id":27095033577571,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7_fba88a94-ffb4-42c6-842d-95efe17d64f6.webp?v=1774842891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92b56cfecd03ca904357e14ce1fc7710cba7bbc7_fba88a94-ffb4-42c6-842d-95efe17d64f6.webp?v=1774842891","width":2000},{"alt":null,"id":27095033708643,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088195383395,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561469018211,"product_id":7987489112163,"position":14,"created_at":"2026-03-30T11:54:49+08:00","updated_at":"2026-03-30T11:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891","variant_ids":[44088195383395]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-ANP15","featured_media":{"alt":null,"id":27095033315427,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088196989027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561468231779,"product_id":7987489112163,"position":13,"created_at":"2026-03-30T11:54:48+08:00","updated_at":"2026-03-30T11:54:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890","variant_ids":[44088196989027]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-ANP15","featured_media":{"alt":null,"id":27095032528995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78fb8d0d2eae2a495abfb4be252cb4fa7fc3b1f3_1d9b75ca-cde8-4bd0-a5c4-eb1c6172488d.webp?v=1774842890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088197120099,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561469411427,"product_id":7987489112163,"position":16,"created_at":"2026-03-30T11:54:50+08:00","updated_at":"2026-03-30T11:54:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892","variant_ids":[44088197120099]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01296O8-ANP15","featured_media":{"alt":null,"id":27095033708643,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09015e19d93a5d88432c61ff419474d293d26b65_327d0fbe-bf32-4d38-b415-c0618e4db9ef.webp?v=1774842892"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088195383395,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP15","requires_shipping":true,"taxable":true,"featured_image":{"id":35561469018211,"product_id":7987489112163,"position":14,"created_at":"2026-03-30T11:54:49+08:00","updated_at":"2026-03-30T11:54:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891","variant_ids":[44088195383395]},"available":true,"name":"iPhone 15 Plus SolidX 麵包超人Anpanman 精靈女孩日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-ANP15","featured_media":{"alt":null,"id":27095033315427,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8eb652c528ffd97ca2a0a64737b084aa078c908_ffa5c308-d0df-4d76-b24d-70b86695664b.webp?v=1774842891"}},"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: "停產" }