$product = {"id":7959973789795,"title":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World","handle":"iphone-12-pro-mod-nx-en08","description":null,"published_at":"2026-02-09T11:21:29+08:00","created_at":"2026-02-06T17:32:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-knockknockatoz","device-iPhone 12 Pro","merge","reseller-knockknockatoz"],"price":90000,"price_min":90000,"price_max":90000,"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":43988857585763,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538885731,"product_id":7959973789795,"position":9,"created_at":"2026-02-09T09:32:34+08:00","updated_at":"2026-02-09T09:32:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756","variant_ids":[43988857585763]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118569-EN08","featured_media":{"alt":null,"id":26765750304867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988861976675,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01185C1-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538623587,"product_id":7959973789795,"position":7,"created_at":"2026-02-09T09:32:33+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755","variant_ids":[43988861976675]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01185C1-EN08","featured_media":{"alt":null,"id":26765750042723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862074979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01185J5-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538754659,"product_id":7959973789795,"position":8,"created_at":"2026-02-09T09:32:33+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755","variant_ids":[43988862074979]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01185J5-EN08","featured_media":{"alt":null,"id":26765750173795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862206051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118524-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538459747,"product_id":7959973789795,"position":6,"created_at":"2026-02-09T09:32:32+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755","variant_ids":[43988862206051]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118524-EN08","featured_media":{"alt":null,"id":26765749878883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862304355,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0118504-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213539049571,"product_id":7959973789795,"position":10,"created_at":"2026-02-09T09:32:34+08:00","updated_at":"2026-02-09T09:32:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756","variant_ids":[43988862304355]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118504-EN08","featured_media":{"alt":null,"id":26765750468707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58.webp?v=1770370391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c.webp?v=1770370392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9.webp?v=1770370392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f.webp?v=1770370393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1.webp?v=1770370393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58.webp?v=1770370391","options":["color"],"media":[{"alt":null,"id":26750014128227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58.webp?v=1770370391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58.webp?v=1770370391","width":2000},{"alt":null,"id":26750014193763,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c.webp?v=1770370392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c.webp?v=1770370392","width":2000},{"alt":null,"id":26750014259299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9.webp?v=1770370392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9.webp?v=1770370392","width":2000},{"alt":null,"id":26750014521443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f.webp?v=1770370393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f.webp?v=1770370393","width":2000},{"alt":null,"id":26750014652515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1.webp?v=1770370393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1.webp?v=1770370393","width":2000},{"alt":null,"id":26765749878883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755","width":2000},{"alt":null,"id":26765750042723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755","width":2000},{"alt":null,"id":26765750173795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755","width":2000},{"alt":null,"id":26765750304867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756","width":2000},{"alt":null,"id":26765750468707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43988857585763,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538885731,"product_id":7959973789795,"position":9,"created_at":"2026-02-09T09:32:34+08:00","updated_at":"2026-02-09T09:32:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756","variant_ids":[43988857585763]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118569-EN08","featured_media":{"alt":null,"id":26765750304867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988861976675,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01185C1-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538623587,"product_id":7959973789795,"position":7,"created_at":"2026-02-09T09:32:33+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755","variant_ids":[43988861976675]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01185C1-EN08","featured_media":{"alt":null,"id":26765750042723,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8031629a33aa3f7f1a83d61aa22ea02ffb8b349f_cbfded42-2274-4277-bad9-b59c6c72566d.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862074979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01185J5-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538754659,"product_id":7959973789795,"position":8,"created_at":"2026-02-09T09:32:33+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755","variant_ids":[43988862074979]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01185J5-EN08","featured_media":{"alt":null,"id":26765750173795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7da04db923a16a67eed05659ab1e72af04c9ac58_58f33553-494b-4427-91a7-8f6c2c357fae.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862206051,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118524-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538459747,"product_id":7959973789795,"position":6,"created_at":"2026-02-09T09:32:32+08:00","updated_at":"2026-02-09T09:32:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755","variant_ids":[43988862206051]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118524-EN08","featured_media":{"alt":null,"id":26765749878883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb18f271e5969c858d64e4e588da9ed3e4ec27d9_0978e66d-b7a6-4904-9149-2d9c66fada73.webp?v=1770600755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862304355,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0118504-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213539049571,"product_id":7959973789795,"position":10,"created_at":"2026-02-09T09:32:34+08:00","updated_at":"2026-02-09T09:32:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756","variant_ids":[43988862304355]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118504-EN08","featured_media":{"alt":null,"id":26765750468707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fafe35f93a03e04087491e8dabd4fa3b781b7d4c_1dc85d2c-6bf8-4b54-999e-df1deb207417.webp?v=1770600756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43988857585763,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN08","requires_shipping":true,"taxable":true,"featured_image":{"id":35213538885731,"product_id":7959973789795,"position":9,"created_at":"2026-02-09T09:32:34+08:00","updated_at":"2026-02-09T09:32:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756","variant_ids":[43988857585763]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Wonderful World - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118569-EN08","featured_media":{"alt":null,"id":26765750304867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce834433d66606c0b343b828e99d36643a50eef1_6db611d5-005d-480d-b22f-9d05b6937181.webp?v=1770600756"}},"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: "停產" }