$product = {"id":7892676837475,"title":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang","handle":"iphone-14-pro-max-mod-nx-printable-aar04","description":null,"published_at":"2025-10-03T09:41:41+08:00","created_at":"2025-10-02T10:08:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 14 Pro Max","merge","reseller-aaronchang"],"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":43756732678243,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788032099,"product_id":7892676837475,"position":10,"created_at":"2025-10-02T10:08:48+08:00","updated_at":"2025-10-02T10:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930","variant_ids":[43756732678243]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-AAR04","featured_media":{"alt":null,"id":26113542914147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735234147,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788687459,"product_id":7892676837475,"position":13,"created_at":"2025-10-02T10:08:50+08:00","updated_at":"2025-10-02T10:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932","variant_ids":[43756735234147]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - 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":"NPB01263J5-AAR04","featured_media":{"alt":null,"id":26113543569507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735266915,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788228707,"product_id":7892676837475,"position":11,"created_at":"2025-10-02T10:08:49+08:00","updated_at":"2025-10-02T10:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930","variant_ids":[43756735266915]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-AAR04","featured_media":{"alt":null,"id":26113543110755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735332451,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543787671651,"product_id":7892676837475,"position":8,"created_at":"2025-10-02T10:08:47+08:00","updated_at":"2025-10-02T10:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929","variant_ids":[43756735332451]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-AAR04","featured_media":{"alt":null,"id":26113542553699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735496291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543787212899,"product_id":7892676837475,"position":4,"created_at":"2025-10-02T10:08:43+08:00","updated_at":"2025-10-02T10:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925","variant_ids":[43756735496291]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-AAR04","featured_media":{"alt":null,"id":26113542094947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71fe89f08d72f32c7db4e5798216880e25946da6.webp?v=1759370923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd0288b561f49987271f4950af87d1b0dc0dca1.webp?v=1759370924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee39a44f5102edc2dae62fd4fc3888f32502c3e.webp?v=1759370924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1dedd5eb2de74f43f80c7dfdd450f758c1d4474.webp?v=1759370925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ce4d9cc51f497e8bfd2f40f6b0b26a0e70138.webp?v=1759370926","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31545e759966d613eb117979826b4ab701b56164.webp?v=1759370928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa548535a791f31dabf9ab0315767f9ed7b95d6e.webp?v=1759370929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e211af7c95b67156d6c9ba9d2da66ef2e40ea7.webp?v=1759370931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71fe89f08d72f32c7db4e5798216880e25946da6.webp?v=1759370923","options":["color"],"media":[{"alt":null,"id":26113541734499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71fe89f08d72f32c7db4e5798216880e25946da6.webp?v=1759370923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71fe89f08d72f32c7db4e5798216880e25946da6.webp?v=1759370923","width":2000},{"alt":null,"id":26113541865571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd0288b561f49987271f4950af87d1b0dc0dca1.webp?v=1759370924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd0288b561f49987271f4950af87d1b0dc0dca1.webp?v=1759370924","width":2000},{"alt":null,"id":26113542029411,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee39a44f5102edc2dae62fd4fc3888f32502c3e.webp?v=1759370924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ee39a44f5102edc2dae62fd4fc3888f32502c3e.webp?v=1759370924","width":2000},{"alt":null,"id":26113542094947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925","width":2000},{"alt":null,"id":26113542291555,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1dedd5eb2de74f43f80c7dfdd450f758c1d4474.webp?v=1759370925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1dedd5eb2de74f43f80c7dfdd450f758c1d4474.webp?v=1759370925","width":2000},{"alt":null,"id":26113542389859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ce4d9cc51f497e8bfd2f40f6b0b26a0e70138.webp?v=1759370926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c66ce4d9cc51f497e8bfd2f40f6b0b26a0e70138.webp?v=1759370926","width":2000},{"alt":null,"id":26113542455395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31545e759966d613eb117979826b4ab701b56164.webp?v=1759370928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31545e759966d613eb117979826b4ab701b56164.webp?v=1759370928","width":2000},{"alt":null,"id":26113542553699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929","width":2000},{"alt":null,"id":26113542717539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa548535a791f31dabf9ab0315767f9ed7b95d6e.webp?v=1759370929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa548535a791f31dabf9ab0315767f9ed7b95d6e.webp?v=1759370929","width":2000},{"alt":null,"id":26113542914147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930","width":2000},{"alt":null,"id":26113543110755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930","width":2000},{"alt":null,"id":26113543372899,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e211af7c95b67156d6c9ba9d2da66ef2e40ea7.webp?v=1759370931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89e211af7c95b67156d6c9ba9d2da66ef2e40ea7.webp?v=1759370931","width":2000},{"alt":null,"id":26113543569507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43756732678243,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788032099,"product_id":7892676837475,"position":10,"created_at":"2025-10-02T10:08:48+08:00","updated_at":"2025-10-02T10:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930","variant_ids":[43756732678243]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-AAR04","featured_media":{"alt":null,"id":26113542914147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735234147,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788687459,"product_id":7892676837475,"position":13,"created_at":"2025-10-02T10:08:50+08:00","updated_at":"2025-10-02T10:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932","variant_ids":[43756735234147]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - 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":"NPB01263J5-AAR04","featured_media":{"alt":null,"id":26113543569507,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a94cad68e96f28bc4de978a7e629de128e1678c7.webp?v=1759370932"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735266915,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788228707,"product_id":7892676837475,"position":11,"created_at":"2025-10-02T10:08:49+08:00","updated_at":"2025-10-02T10:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930","variant_ids":[43756735266915]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-AAR04","featured_media":{"alt":null,"id":26113543110755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2612a9eb927f099d35aa3d5288b6a9298f7852c5.webp?v=1759370930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735332451,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543787671651,"product_id":7892676837475,"position":8,"created_at":"2025-10-02T10:08:47+08:00","updated_at":"2025-10-02T10:08:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929","variant_ids":[43756735332451]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-AAR04","featured_media":{"alt":null,"id":26113542553699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e66eb713c709e2df167481d531010d9c4182176.webp?v=1759370929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756735496291,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543787212899,"product_id":7892676837475,"position":4,"created_at":"2025-10-02T10:08:43+08:00","updated_at":"2025-10-02T10:08:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925","variant_ids":[43756735496291]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-AAR04","featured_media":{"alt":null,"id":26113542094947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a70c05bf356f9e676785e7a7ad556e1751e4135.webp?v=1759370925"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43756732678243,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-AAR04","requires_shipping":true,"taxable":true,"featured_image":{"id":34543788032099,"product_id":7892676837475,"position":10,"created_at":"2025-10-02T10:08:48+08:00","updated_at":"2025-10-02T10:08:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930","variant_ids":[43756732678243]},"available":true,"name":"iPhone 14 Pro Max Mod NX Aaron Chang Yin\u0026Yang - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-AAR04","featured_media":{"alt":null,"id":26113542914147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eb3bc2b95a8aaa508bdefc3f20bd10b2a70f9f4.webp?v=1759370930"}},"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: "停產"
}