$product = {"id":8091454472291,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days","handle":"iphone-17-pro-solidx-magsafe-kk30","description":null,"published_at":"2026-08-06T16:45:25+08:00","created_at":"2026-07-30T11:39:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-thelittlek9s","device-iPhone 17 Pro","merge","reseller-thelittlek9s"],"price":145000,"price_min":145000,"price_max":145000,"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":44422931087459,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766266467,"product_id":8091454472291,"position":7,"created_at":"2026-07-30T11:40:56+08:00","updated_at":"2026-07-30T11:40:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858","variant_ids":[44422931087459]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK30","featured_media":{"alt":null,"id":27938242101347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948847715,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764464227,"product_id":8091454472291,"position":3,"created_at":"2026-07-30T11:40:53+08:00","updated_at":"2026-07-30T11:40:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855","variant_ids":[44422948847715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KK30","featured_media":{"alt":null,"id":27938240299107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949240931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764890211,"product_id":8091454472291,"position":4,"created_at":"2026-07-30T11:40:54+08:00","updated_at":"2026-07-30T11:40:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855","variant_ids":[44422949240931]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KK30","featured_media":{"alt":null,"id":27938240725091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949797987,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763972707,"product_id":8091454472291,"position":2,"created_at":"2026-07-30T11:40:52+08:00","updated_at":"2026-07-30T11:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854","variant_ids":[44422949797987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KK30","featured_media":{"alt":null,"id":27938239807587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950191203,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434769150051,"product_id":8091454472291,"position":13,"created_at":"2026-07-30T11:41:03+08:00","updated_at":"2026-07-30T11:41:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865","variant_ids":[44422950191203]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KK30","featured_media":{"alt":null,"id":27938244952163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950617187,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765807715,"product_id":8091454472291,"position":6,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857","variant_ids":[44422950617187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KK30","featured_media":{"alt":null,"id":27938241642595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950977635,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765316195,"product_id":8091454472291,"position":5,"created_at":"2026-07-30T11:40:54+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857","variant_ids":[44422950977635]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KK30","featured_media":{"alt":null,"id":27938241151075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951731299,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767970403,"product_id":8091454472291,"position":10,"created_at":"2026-07-30T11:40:59+08:00","updated_at":"2026-07-30T11:41:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861","variant_ids":[44422951731299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KK30","featured_media":{"alt":null,"id":27938243772515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952058979,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766823523,"product_id":8091454472291,"position":8,"created_at":"2026-07-30T11:40:57+08:00","updated_at":"2026-07-30T11:40:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859","variant_ids":[44422952058979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KK30","featured_media":{"alt":null,"id":27938242658403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952714339,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434768592995,"product_id":8091454472291,"position":12,"created_at":"2026-07-30T11:41:02+08:00","updated_at":"2026-07-30T11:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864","variant_ids":[44422952714339]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KK30","featured_media":{"alt":null,"id":27938244395107,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952943715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763317347,"product_id":8091454472291,"position":1,"created_at":"2026-07-30T11:40:51+08:00","updated_at":"2026-07-30T11:40:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853","variant_ids":[44422952943715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KK30","featured_media":{"alt":null,"id":27938239152227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422953468003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434768232547,"product_id":8091454472291,"position":11,"created_at":"2026-07-30T11:41:01+08:00","updated_at":"2026-07-30T11:41:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863","variant_ids":[44422953468003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KK30","featured_media":{"alt":null,"id":27938244100195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422954090595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767315043,"product_id":8091454472291,"position":9,"created_at":"2026-07-30T11:40:58+08:00","updated_at":"2026-07-30T11:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860","variant_ids":[44422954090595]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KK30","featured_media":{"alt":null,"id":27938243117155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853","options":["color"],"media":[{"alt":null,"id":27938239152227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853","width":2000},{"alt":null,"id":27938239807587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854","width":2000},{"alt":null,"id":27938240299107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855","width":2000},{"alt":null,"id":27938240725091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855","width":2000},{"alt":null,"id":27938241151075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857","width":2000},{"alt":null,"id":27938241642595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857","width":2000},{"alt":null,"id":27938242101347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858","width":2000},{"alt":null,"id":27938242658403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859","width":2000},{"alt":null,"id":27938243117155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860","width":2000},{"alt":null,"id":27938243772515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861","width":2000},{"alt":null,"id":27938244100195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863","width":2000},{"alt":null,"id":27938244395107,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864","width":2000},{"alt":null,"id":27938244952163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44422931087459,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766266467,"product_id":8091454472291,"position":7,"created_at":"2026-07-30T11:40:56+08:00","updated_at":"2026-07-30T11:40:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858","variant_ids":[44422931087459]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK30","featured_media":{"alt":null,"id":27938242101347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422948847715,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764464227,"product_id":8091454472291,"position":3,"created_at":"2026-07-30T11:40:53+08:00","updated_at":"2026-07-30T11:40:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855","variant_ids":[44422948847715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KK30","featured_media":{"alt":null,"id":27938240299107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/870cbfb4a68861c5d6c1b0530f87eb67cf4d5715.webp?v=1785382855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949240931,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434764890211,"product_id":8091454472291,"position":4,"created_at":"2026-07-30T11:40:54+08:00","updated_at":"2026-07-30T11:40:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855","variant_ids":[44422949240931]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KK30","featured_media":{"alt":null,"id":27938240725091,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/189de3bb38a1e1bd0314fc47b4a2e58a7ece432c.webp?v=1785382855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422949797987,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763972707,"product_id":8091454472291,"position":2,"created_at":"2026-07-30T11:40:52+08:00","updated_at":"2026-07-30T11:40:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854","variant_ids":[44422949797987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KK30","featured_media":{"alt":null,"id":27938239807587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09a8558c9ae7b62b18fc3a2a07ea96f7e7bc53e.webp?v=1785382854"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950191203,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434769150051,"product_id":8091454472291,"position":13,"created_at":"2026-07-30T11:41:03+08:00","updated_at":"2026-07-30T11:41:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865","variant_ids":[44422950191203]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KK30","featured_media":{"alt":null,"id":27938244952163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a17bac03f52d21b3bff61999986430ebaa5ff97.webp?v=1785382865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950617187,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765807715,"product_id":8091454472291,"position":6,"created_at":"2026-07-30T11:40:55+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857","variant_ids":[44422950617187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KK30","featured_media":{"alt":null,"id":27938241642595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36c7a0158a01b4fccffcf2fa91a34459a1952d0b.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422950977635,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434765316195,"product_id":8091454472291,"position":5,"created_at":"2026-07-30T11:40:54+08:00","updated_at":"2026-07-30T11:40:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857","variant_ids":[44422950977635]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KK30","featured_media":{"alt":null,"id":27938241151075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7078656967d4c7db824545efabce31a8aecc00d5.webp?v=1785382857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422951731299,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767970403,"product_id":8091454472291,"position":10,"created_at":"2026-07-30T11:40:59+08:00","updated_at":"2026-07-30T11:41:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861","variant_ids":[44422951731299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KK30","featured_media":{"alt":null,"id":27938243772515,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74b99d088009f97a520faf3777d3d83a067029a9.webp?v=1785382861"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952058979,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766823523,"product_id":8091454472291,"position":8,"created_at":"2026-07-30T11:40:57+08:00","updated_at":"2026-07-30T11:40:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859","variant_ids":[44422952058979]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KK30","featured_media":{"alt":null,"id":27938242658403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c114cdb4c09b8ba6bd306a03f718fad9ce60fb39.webp?v=1785382859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952714339,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434768592995,"product_id":8091454472291,"position":12,"created_at":"2026-07-30T11:41:02+08:00","updated_at":"2026-07-30T11:41:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864","variant_ids":[44422952714339]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KK30","featured_media":{"alt":null,"id":27938244395107,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfb9496325c524355f57267c9a97eb7d0c90a85a.webp?v=1785382864"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422952943715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434763317347,"product_id":8091454472291,"position":1,"created_at":"2026-07-30T11:40:51+08:00","updated_at":"2026-07-30T11:40:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853","variant_ids":[44422952943715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KK30","featured_media":{"alt":null,"id":27938239152227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59112dbc66124ddd6b08a990c2063439b2eb5efb.webp?v=1785382853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422953468003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434768232547,"product_id":8091454472291,"position":11,"created_at":"2026-07-30T11:41:01+08:00","updated_at":"2026-07-30T11:41:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863","variant_ids":[44422953468003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KK30","featured_media":{"alt":null,"id":27938244100195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be125e2df07987f05a5fb25fc51b9eda1c3f5302.webp?v=1785382863"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44422954090595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434767315043,"product_id":8091454472291,"position":9,"created_at":"2026-07-30T11:40:58+08:00","updated_at":"2026-07-30T11:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860","variant_ids":[44422954090595]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KK30","featured_media":{"alt":null,"id":27938243117155,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/122055a16971f5aaa39b12d32a8f549845705fc8.webp?v=1785382860"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44422931087459,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36434766266467,"product_id":8091454472291,"position":7,"created_at":"2026-07-30T11:40:56+08:00","updated_at":"2026-07-30T11:40:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858","variant_ids":[44422931087459]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 小犬工作室 Rainy Days - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KK30","featured_media":{"alt":null,"id":27938242101347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/406eaa9c4d17bf57ad0a1746837ab9c26de8a8c9.webp?v=1785382858"}},"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: "停產" }