$product = {"id":7599206006883,"title":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫","handle":"iphone-12-mini-solidsuit-classic-magsafe-om125","description":null,"published_at":"2024-08-09T09:22:42+08:00","created_at":"2024-08-08T14:47:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-航海王 One Piece","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-one-piece","device-iPhone 12 Mini","merge","reseller-one-piece"],"price":135000,"price_min":135000,"price_max":135000,"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":42637077708899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322999574627,"product_id":7599206006883,"position":9,"created_at":"2025-08-13T14:39:54+08:00","updated_at":"2025-08-13T14:39:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196","variant_ids":[42637077708899]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-OM125","featured_media":{"alt":null,"id":25908206829667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637077971043,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322999017571,"product_id":7599206006883,"position":7,"created_at":"2025-08-13T14:39:53+08:00","updated_at":"2025-08-13T14:39:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195","variant_ids":[42637077971043]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-OM125","featured_media":{"alt":null,"id":25908206534755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078003811,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322998919267,"product_id":7599206006883,"position":6,"created_at":"2025-08-13T14:39:52+08:00","updated_at":"2025-08-13T14:39:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194","variant_ids":[42637078003811]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-OM125","featured_media":{"alt":null,"id":25908206403683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078036579,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34323000197219,"product_id":7599206006883,"position":11,"created_at":"2025-08-13T14:39:55+08:00","updated_at":"2025-08-13T14:39:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197","variant_ids":[42637078036579]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-OM125","featured_media":{"alt":null,"id":25908207059043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078102115,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322998231139,"product_id":7599206006883,"position":4,"created_at":"2025-08-13T14:39:51+08:00","updated_at":"2025-08-13T14:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193","variant_ids":[42637078102115]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-OM125","featured_media":{"alt":null,"id":25908206108771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078200419,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322997739619,"product_id":7599206006883,"position":2,"created_at":"2025-08-13T14:39:50+08:00","updated_at":"2025-08-13T14:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193","variant_ids":[42637078200419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-OM125","featured_media":{"alt":null,"id":25908205813859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02e73e83e6f96a41fa27ac82b131dbf475d1a36.webp?v=1723099646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7fc281275f0b5b0e9127353c94432bf3c35cc0.webp?v=1755067193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb297292c706281879b2a437ffdb55f71a2bec5d.webp?v=1755067194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c9a72f2fe385509c843a21640eecd8496a482f.webp?v=1755067195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0310e4fcdf73a5946e7eac7f0b44af715f312d3b.webp?v=1755067197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02e73e83e6f96a41fa27ac82b131dbf475d1a36.webp?v=1723099646","options":["color"],"media":[{"alt":null,"id":24508105883747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02e73e83e6f96a41fa27ac82b131dbf475d1a36.webp?v=1723099646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c02e73e83e6f96a41fa27ac82b131dbf475d1a36.webp?v=1723099646","width":2000},{"alt":null,"id":25908205813859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193","width":2000},{"alt":null,"id":25908205944931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7fc281275f0b5b0e9127353c94432bf3c35cc0.webp?v=1755067193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a7fc281275f0b5b0e9127353c94432bf3c35cc0.webp?v=1755067193","width":2000},{"alt":null,"id":25908206108771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193","width":2000},{"alt":null,"id":25908206305379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb297292c706281879b2a437ffdb55f71a2bec5d.webp?v=1755067194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb297292c706281879b2a437ffdb55f71a2bec5d.webp?v=1755067194","width":2000},{"alt":null,"id":25908206403683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194","width":2000},{"alt":null,"id":25908206534755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195","width":2000},{"alt":null,"id":25908206600291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c9a72f2fe385509c843a21640eecd8496a482f.webp?v=1755067195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15c9a72f2fe385509c843a21640eecd8496a482f.webp?v=1755067195","width":2000},{"alt":null,"id":25908206829667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196","width":2000},{"alt":null,"id":25908206960739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0310e4fcdf73a5946e7eac7f0b44af715f312d3b.webp?v=1755067197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0310e4fcdf73a5946e7eac7f0b44af715f312d3b.webp?v=1755067197","width":2000},{"alt":null,"id":25908207059043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":42637077708899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322999574627,"product_id":7599206006883,"position":9,"created_at":"2025-08-13T14:39:54+08:00","updated_at":"2025-08-13T14:39:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196","variant_ids":[42637077708899]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-OM125","featured_media":{"alt":null,"id":25908206829667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637077971043,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322999017571,"product_id":7599206006883,"position":7,"created_at":"2025-08-13T14:39:53+08:00","updated_at":"2025-08-13T14:39:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195","variant_ids":[42637077971043]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-OM125","featured_media":{"alt":null,"id":25908206534755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf2f4d40337133448bca3b8376b552d6b94a0b6e.webp?v=1755067195"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078003811,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322998919267,"product_id":7599206006883,"position":6,"created_at":"2025-08-13T14:39:52+08:00","updated_at":"2025-08-13T14:39:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194","variant_ids":[42637078003811]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-OM125","featured_media":{"alt":null,"id":25908206403683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c58420328d1649e353424b64b9b75221afe99af2.webp?v=1755067194"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078036579,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34323000197219,"product_id":7599206006883,"position":11,"created_at":"2025-08-13T14:39:55+08:00","updated_at":"2025-08-13T14:39:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197","variant_ids":[42637078036579]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-OM125","featured_media":{"alt":null,"id":25908207059043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c442eba7be266172cf0aa8089d285037039100.webp?v=1755067197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078102115,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322998231139,"product_id":7599206006883,"position":4,"created_at":"2025-08-13T14:39:51+08:00","updated_at":"2025-08-13T14:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193","variant_ids":[42637078102115]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-OM125","featured_media":{"alt":null,"id":25908206108771,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb3ff63a768ccfb778486a51d363845ec3819869.webp?v=1755067193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42637078200419,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322997739619,"product_id":7599206006883,"position":2,"created_at":"2025-08-13T14:39:50+08:00","updated_at":"2025-08-13T14:39:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193","variant_ids":[42637078200419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-OM125","featured_media":{"alt":null,"id":25908205813859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23d819eab467c6112bf8cfd1628d9f09033a4114.webp?v=1755067193"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42637077708899,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-OM125","requires_shipping":true,"taxable":true,"featured_image":{"id":34322999574627,"product_id":7599206006883,"position":9,"created_at":"2025-08-13T14:39:54+08:00","updated_at":"2025-08-13T14:39:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196","variant_ids":[42637077708899]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) One Piece 未來島蛋頭篇 - 魯夫 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-OM125","featured_media":{"alt":null,"id":25908206829667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a370587b138cc9759a366e5af5c8891613a6967.webp?v=1755067196"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }