$product = {"id":7959974084707,"title":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies","handle":"iphone-12-pro-mod-nx-en02","description":null,"published_at":"2026-02-09T11:21:26+08:00","created_at":"2026-02-06T17:32:52+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":43988858011747,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540917347,"product_id":7959974084707,"position":9,"created_at":"2026-02-09T09:32:40+08:00","updated_at":"2026-02-09T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762","variant_ids":[43988858011747]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752336483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862533731,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01185C1-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213541179491,"product_id":7959974084707,"position":10,"created_at":"2026-02-09T09:32:41+08:00","updated_at":"2026-02-09T09:32:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763","variant_ids":[43988862533731]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752598627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862730339,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01185J5-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540458595,"product_id":7959974084707,"position":7,"created_at":"2026-02-09T09:32:39+08:00","updated_at":"2026-02-09T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761","variant_ids":[43988862730339]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765751877731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988863058019,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118524-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540294755,"product_id":7959974084707,"position":6,"created_at":"2026-02-09T09:32:39+08:00","updated_at":"2026-02-09T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761","variant_ids":[43988863058019]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765751713891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988863254627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0118504-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540655203,"product_id":7959974084707,"position":8,"created_at":"2026-02-09T09:32:40+08:00","updated_at":"2026-02-09T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762","variant_ids":[43988863254627]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752074339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279.webp?v=1770370394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347.webp?v=1770370395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1.webp?v=1770370395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25.webp?v=1770370396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537.webp?v=1770370396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279.webp?v=1770370394","options":["color"],"media":[{"alt":null,"id":26750014881891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279.webp?v=1770370394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279.webp?v=1770370394","width":2000},{"alt":null,"id":26750015111267,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347.webp?v=1770370395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347.webp?v=1770370395","width":2000},{"alt":null,"id":26750015275107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1.webp?v=1770370395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1.webp?v=1770370395","width":2000},{"alt":null,"id":26750015504483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25.webp?v=1770370396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25.webp?v=1770370396","width":2000},{"alt":null,"id":26750015701091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537.webp?v=1770370396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537.webp?v=1770370396","width":2000},{"alt":null,"id":26765751713891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761","width":2000},{"alt":null,"id":26765751877731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761","width":2000},{"alt":null,"id":26765752074339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762","width":2000},{"alt":null,"id":26765752336483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762","width":2000},{"alt":null,"id":26765752598627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43988858011747,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540917347,"product_id":7959974084707,"position":9,"created_at":"2026-02-09T09:32:40+08:00","updated_at":"2026-02-09T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762","variant_ids":[43988858011747]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752336483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862533731,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01185C1-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213541179491,"product_id":7959974084707,"position":10,"created_at":"2026-02-09T09:32:41+08:00","updated_at":"2026-02-09T09:32:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763","variant_ids":[43988862533731]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752598627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31801c8224db6965bfaf5791d531444d3ea17347_2175722e-0ace-445f-812e-fd12af7594df.webp?v=1770600763"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988862730339,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01185J5-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540458595,"product_id":7959974084707,"position":7,"created_at":"2026-02-09T09:32:39+08:00","updated_at":"2026-02-09T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761","variant_ids":[43988862730339]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765751877731,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324094d060ca925d29fd5652265b56f7c87f3537_bf0fbee5-5e1b-47de-8d66-781176768f97.webp?v=1770600761"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988863058019,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118524-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540294755,"product_id":7959974084707,"position":6,"created_at":"2026-02-09T09:32:39+08:00","updated_at":"2026-02-09T09:32:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761","variant_ids":[43988863058019]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765751713891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a65f08e98e38ce96290c0f42a6fca342fcf3e25_4c7b7410-f93b-478e-a367-7dd2c8b23b5b.webp?v=1770600761"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43988863254627,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0118504-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540655203,"product_id":7959974084707,"position":8,"created_at":"2026-02-09T09:32:40+08:00","updated_at":"2026-02-09T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762","variant_ids":[43988863254627]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752074339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0fbc33aa21d5f85e6780796ab8a0ef6b47d8279_8992d88c-9cf7-45b5-ba5b-f0c37400a32d.webp?v=1770600762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43988858011747,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0118569-EN02","requires_shipping":true,"taxable":true,"featured_image":{"id":35213540917347,"product_id":7959974084707,"position":9,"created_at":"2026-02-09T09:32:40+08:00","updated_at":"2026-02-09T09:32:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762","variant_ids":[43988858011747]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX Knock Knock A2Z Good buddies - 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-EN02","featured_media":{"alt":null,"id":26765752336483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d16f40e5700c7dde78174ad43645c9ffec19db1_9df62093-b7f6-4d9b-b867-8396dadeec65.webp?v=1770600762"}},"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: "停產"
}