$product = {"id":7987509035107,"title":"iPhone 15 Plus SolidX 麵包超人Anpanman 手舞足蹈的細菌人","handle":"iphone-15-plus-solidx-anp03","description":null,"published_at":"2026-03-31T11:17:56+08:00","created_at":"2026-03-30T10:58:59+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":44088256168035,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435267171,"product_id":7987509035107,"position":10,"created_at":"2026-03-30T11:52:47+08:00","updated_at":"2026-03-30T11:52:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769","variant_ids":[44088256168035]},"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-ANP03","featured_media":{"alt":null,"id":27095000088675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088257970275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435922531,"product_id":7987509035107,"position":14,"created_at":"2026-03-30T11:52:50+08:00","updated_at":"2026-03-30T11:52:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772","variant_ids":[44088257970275]},"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-ANP03","featured_media":{"alt":null,"id":27095000744035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088258101347,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435103331,"product_id":7987509035107,"position":9,"created_at":"2026-03-30T11:52:47+08:00","updated_at":"2026-03-30T11:52:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769","variant_ids":[44088258101347]},"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-ANP03","featured_media":{"alt":null,"id":27094999924835,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97.webp?v=1774839547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e.webp?v=1774839547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708.webp?v=1774839549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d.webp?v=1774839549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701.webp?v=1774839550","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1.webp?v=1774839550","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a.webp?v=1774839551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d.webp?v=1774839551","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708_a19b7afd-d249-47e3-8fcd-ae12bcb24cba.webp?v=1774842770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d_b6b7ff85-5a9d-4545-9d69-e0a8c402f59c.webp?v=1774842771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701_a7ab3a1d-af18-48c3-974d-3e322b874ef9.webp?v=1774842771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1_3e57621d-65a0-4293-a55d-1fc187e3e4e4.webp?v=1774842773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e_0cb148ba-ab46-4832-9bb6-9cae03a6c499.webp?v=1774842773"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97.webp?v=1774839547","options":["color"],"media":[{"alt":null,"id":27094182953059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97.webp?v=1774839547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97.webp?v=1774839547","width":2000},{"alt":null,"id":27094183215203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e.webp?v=1774839547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e.webp?v=1774839547","width":2000},{"alt":null,"id":27094183510115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708.webp?v=1774839549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708.webp?v=1774839549","width":2000},{"alt":null,"id":27094183673955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d.webp?v=1774839549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d.webp?v=1774839549","width":2000},{"alt":null,"id":27094183837795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701.webp?v=1774839550"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701.webp?v=1774839550","width":2000},{"alt":null,"id":27094184034403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1.webp?v=1774839550"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1.webp?v=1774839550","width":2000},{"alt":null,"id":27094184296547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a.webp?v=1774839551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a.webp?v=1774839551","width":2000},{"alt":null,"id":27094184460387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d.webp?v=1774839551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d.webp?v=1774839551","width":2000},{"alt":null,"id":27094999924835,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769","width":2000},{"alt":null,"id":27095000088675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769","width":2000},{"alt":null,"id":27095000219747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708_a19b7afd-d249-47e3-8fcd-ae12bcb24cba.webp?v=1774842770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ed4352425b8979d9ca56629a38b289660030708_a19b7afd-d249-47e3-8fcd-ae12bcb24cba.webp?v=1774842770","width":2000},{"alt":null,"id":27095000449123,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d_b6b7ff85-5a9d-4545-9d69-e0a8c402f59c.webp?v=1774842771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c03b8bdd8a0ef3cf688c096527b76fe587dea7d_b6b7ff85-5a9d-4545-9d69-e0a8c402f59c.webp?v=1774842771","width":2000},{"alt":null,"id":27095000580195,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701_a7ab3a1d-af18-48c3-974d-3e322b874ef9.webp?v=1774842771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ce666762875ddd8e45b2d6ad16d020289894701_a7ab3a1d-af18-48c3-974d-3e322b874ef9.webp?v=1774842771","width":2000},{"alt":null,"id":27095000744035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772","width":2000},{"alt":null,"id":27095000907875,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1_3e57621d-65a0-4293-a55d-1fc187e3e4e4.webp?v=1774842773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6896127e0b8a92f457a081f647b831c5195f0fd1_3e57621d-65a0-4293-a55d-1fc187e3e4e4.webp?v=1774842773","width":2000},{"alt":null,"id":27095001137251,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e_0cb148ba-ab46-4832-9bb6-9cae03a6c499.webp?v=1774842773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c789a752d85dc9972ecb3cb68978ba98e179dd8e_0cb148ba-ab46-4832-9bb6-9cae03a6c499.webp?v=1774842773","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088256168035,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435267171,"product_id":7987509035107,"position":10,"created_at":"2026-03-30T11:52:47+08:00","updated_at":"2026-03-30T11:52:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769","variant_ids":[44088256168035]},"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-ANP03","featured_media":{"alt":null,"id":27095000088675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088257970275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435922531,"product_id":7987509035107,"position":14,"created_at":"2026-03-30T11:52:50+08:00","updated_at":"2026-03-30T11:52:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772","variant_ids":[44088257970275]},"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-ANP03","featured_media":{"alt":null,"id":27095000744035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eca1e9ece6936e068693f135be0de928eec4c30d_54799f79-24f7-46d3-a880-2fb8b3552927.webp?v=1774842772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088258101347,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435103331,"product_id":7987509035107,"position":9,"created_at":"2026-03-30T11:52:47+08:00","updated_at":"2026-03-30T11:52:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769","variant_ids":[44088258101347]},"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-ANP03","featured_media":{"alt":null,"id":27094999924835,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a4cd5c6619ffd64e52dbf17f245ebca157a0f97_677e76db-89a4-4d99-818d-6df39afebfbb.webp?v=1774842769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088256168035,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-ANP03","requires_shipping":true,"taxable":true,"featured_image":{"id":35561435267171,"product_id":7987509035107,"position":10,"created_at":"2026-03-30T11:52:47+08:00","updated_at":"2026-03-30T11:52:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769","variant_ids":[44088256168035]},"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-ANP03","featured_media":{"alt":null,"id":27095000088675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9dd49fc82fdc28e9fead4b970a4cc9dc52e6b7a_0e149853-2a7d-401f-a62b-a7b252904a0b.webp?v=1774842769"}},"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: "停產" }