$product = {"id":7809360429155,"title":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達","handle":"iphone-11-pro-max-solidsuit-classic-pb147","description":null,"published_at":"2025-06-06T17:49:41+08:00","created_at":"2025-06-03T17:00:21+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區迪士尼-星際大戰 Star Wars","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-star-wars","device-iPhone 11 Pro Max","merge","reseller-star-wars"],"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":43420814671971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0114952-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35083185160291,"product_id":7809360429155,"position":19,"created_at":"2026-01-09T15:01:09+08:00","updated_at":"2026-01-09T15:01:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070","variant_ids":[43420814671971]},"available":true,"name":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0114952-PB147","featured_media":{"alt":null,"id":26640116908131,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43420816932963,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01149O8-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35083184898147,"product_id":7809360429155,"position":18,"created_at":"2026-01-09T15:01:08+08:00","updated_at":"2026-01-09T15:01:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070","variant_ids":[43420816932963]},"available":true,"name":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01149O8-PB147","featured_media":{"alt":null,"id":26640116645987,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2e20b092a82184b5df728852264d7f19db492c.webp?v=1748941226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345.webp?v=1767858191","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58.webp?v=1767858191","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2.webp?v=1767858192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_65c6d02c-bcc0-4d10-9bb9-c8d090ea4a0b.webp?v=1767860472","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b784dd95-893a-42db-a0db-5e8b895e1ca5.webp?v=1767860473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_640431bd-f400-46eb-81a2-1eb981288ffd.webp?v=1767860474","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_4db9e82a-ae03-46ca-bcfd-18aed0b5eb95.webp?v=1767861062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b8f9def7-e323-4844-aa6a-1d9388ce5505.webp?v=1767861063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_6af1f263-ddb2-40fa-b890-0a9240b85dfc.webp?v=1767861064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_590b54e2-db29-449e-b3d6-8053104e1d81.webp?v=1767861359","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_bcf38188-9b0b-4dcf-ac53-fb2aad3867d9.webp?v=1767861360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_894bf15a-0378-4f9a-aa7d-618a7187784e.webp?v=1767861360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_d3bd119d-b956-4ecc-b011-dba8586244e2.webp?v=1767924953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_529a293d-a6b3-4673-8e68-1ec6386c2888.webp?v=1767924953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_f92d3c8a-2be7-4a01-9879-7c1568412d58.webp?v=1767924954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_30a2c89e-2ab0-4df4-8009-ffbad4d79f43.webp?v=1767942070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2e20b092a82184b5df728852264d7f19db492c.webp?v=1748941226","options":["color"],"media":[{"alt":null,"id":25662250156131,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2e20b092a82184b5df728852264d7f19db492c.webp?v=1748941226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd2e20b092a82184b5df728852264d7f19db492c.webp?v=1748941226","width":2000},{"alt":null,"id":26636200869987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345.webp?v=1767858191"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345.webp?v=1767858191","width":2000},{"alt":null,"id":26636201066595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58.webp?v=1767858191"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58.webp?v=1767858191","width":2000},{"alt":null,"id":26636201197667,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2.webp?v=1767858192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2.webp?v=1767858192","width":2000},{"alt":null,"id":26636267487331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_65c6d02c-bcc0-4d10-9bb9-c8d090ea4a0b.webp?v=1767860472"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_65c6d02c-bcc0-4d10-9bb9-c8d090ea4a0b.webp?v=1767860472","width":2000},{"alt":null,"id":26636267782243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b784dd95-893a-42db-a0db-5e8b895e1ca5.webp?v=1767860473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b784dd95-893a-42db-a0db-5e8b895e1ca5.webp?v=1767860473","width":2000},{"alt":null,"id":26636267946083,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_640431bd-f400-46eb-81a2-1eb981288ffd.webp?v=1767860474"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_640431bd-f400-46eb-81a2-1eb981288ffd.webp?v=1767860474","width":2000},{"alt":null,"id":26636311036003,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_4db9e82a-ae03-46ca-bcfd-18aed0b5eb95.webp?v=1767861062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_4db9e82a-ae03-46ca-bcfd-18aed0b5eb95.webp?v=1767861062","width":2000},{"alt":null,"id":26636311265379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b8f9def7-e323-4844-aa6a-1d9388ce5505.webp?v=1767861063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_b8f9def7-e323-4844-aa6a-1d9388ce5505.webp?v=1767861063","width":2000},{"alt":null,"id":26636311429219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_6af1f263-ddb2-40fa-b890-0a9240b85dfc.webp?v=1767861064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_6af1f263-ddb2-40fa-b890-0a9240b85dfc.webp?v=1767861064","width":2000},{"alt":null,"id":26636350849123,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_590b54e2-db29-449e-b3d6-8053104e1d81.webp?v=1767861359"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_590b54e2-db29-449e-b3d6-8053104e1d81.webp?v=1767861359","width":2000},{"alt":null,"id":26636351242339,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_bcf38188-9b0b-4dcf-ac53-fb2aad3867d9.webp?v=1767861360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_bcf38188-9b0b-4dcf-ac53-fb2aad3867d9.webp?v=1767861360","width":2000},{"alt":null,"id":26636351373411,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_894bf15a-0378-4f9a-aa7d-618a7187784e.webp?v=1767861360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_894bf15a-0378-4f9a-aa7d-618a7187784e.webp?v=1767861360","width":2000},{"alt":null,"id":26639851421795,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_d3bd119d-b956-4ecc-b011-dba8586244e2.webp?v=1767924953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_d3bd119d-b956-4ecc-b011-dba8586244e2.webp?v=1767924953","width":2000},{"alt":null,"id":26639851651171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_529a293d-a6b3-4673-8e68-1ec6386c2888.webp?v=1767924953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_529a293d-a6b3-4673-8e68-1ec6386c2888.webp?v=1767924953","width":2000},{"alt":null,"id":26639851782243,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_f92d3c8a-2be7-4a01-9879-7c1568412d58.webp?v=1767924954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_f92d3c8a-2be7-4a01-9879-7c1568412d58.webp?v=1767924954","width":2000},{"alt":null,"id":26640116220003,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_30a2c89e-2ab0-4df4-8009-ffbad4d79f43.webp?v=1767942070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4486150b91d6739f828e11f97482f3857a23345_30a2c89e-2ab0-4df4-8009-ffbad4d79f43.webp?v=1767942070","width":2000},{"alt":null,"id":26640116645987,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070","width":2000},{"alt":null,"id":26640116908131,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43420814671971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0114952-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35083185160291,"product_id":7809360429155,"position":19,"created_at":"2026-01-09T15:01:09+08:00","updated_at":"2026-01-09T15:01:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070","variant_ids":[43420814671971]},"available":true,"name":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0114952-PB147","featured_media":{"alt":null,"id":26640116908131,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43420816932963,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01149O8-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35083184898147,"product_id":7809360429155,"position":18,"created_at":"2026-01-09T15:01:08+08:00","updated_at":"2026-01-09T15:01:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070","variant_ids":[43420816932963]},"available":true,"name":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01149O8-PB147","featured_media":{"alt":null,"id":26640116645987,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4398fdce94a358bc6efb8d72e82a002dc223d58_8e5d1127-6e00-4012-bdd5-3cafeb59202e.webp?v=1767942070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43420814671971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0114952-PB147","requires_shipping":true,"taxable":true,"featured_image":{"id":35083185160291,"product_id":7809360429155,"position":19,"created_at":"2026-01-09T15:01:09+08:00","updated_at":"2026-01-09T15:01:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070","variant_ids":[43420814671971]},"available":true,"name":"iPhone 11 Pro Max SolidSuit StarWars 星際大戰 星際大戰 – 達斯·維達 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0114952-PB147","featured_media":{"alt":null,"id":26640116908131,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b5109a1a08a23cc98d1335338f53bd65e16ea2_3d75a51d-7263-48a3-9319-8aa8429ec9b1.webp?v=1767942070"}},"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: "停產" }