$product = {"id":7189368045667,"title":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠","handle":"iphone-12-mini-solidsuit-classic-sb12","description":null,"published_at":"2024-02-27T15:41:07+08:00","created_at":"2024-02-23T17:42:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區Batman","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-batman","device-iPhone 12 Mini","merge","reseller-batman"],"price":83000,"price_min":83000,"price_max":83000,"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":41311981764707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318885904483,"product_id":7189368045667,"position":16,"created_at":"2026-07-20T12:26:42+08:00","updated_at":"2026-07-20T12:26:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604","variant_ids":[41311981764707]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB12","featured_media":{"alt":null,"id":27822838251619,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311981895779,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887051363,"product_id":7189368045667,"position":19,"created_at":"2026-07-20T12:26:44+08:00","updated_at":"2026-07-20T12:26:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606","variant_ids":[41311981895779]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB12","featured_media":{"alt":null,"id":27822839365731,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311982125155,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887379043,"product_id":7189368045667,"position":20,"created_at":"2026-07-20T12:26:45+08:00","updated_at":"2026-07-20T12:26:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607","variant_ids":[41311982125155]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB12","featured_media":{"alt":null,"id":27822839726179,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283fafe0c704423dc53a07fa6267670df955d626.webp?v=1708921679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17aebe8084d4b23302e9ab33ad29b694e7af86ec.webp?v=1708921682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c5a630e12eca6d525fdbdd5ac9c7011997da42.webp?v=1708921684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d39b228f45ccbe885b160fb4f5c0e171611d6a.webp?v=1708921686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b593623367eea4c298b6e552acaf6c373efaada.webp?v=1708921688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44b8fe4fa6d6db3094d4dfce6c8961541d61069.webp?v=1708921691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadf1c99df02acec47b4dc3be0578b54c690f8b7.webp?v=1708921693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a1be10fe7a9f11522c7531f19075973b757598.webp?v=1708921697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f8f1d228915e19b96b9fdfde76639d731f0069.webp?v=1708921699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2cd38ff88d61caade97650041af1231cb0719f5.webp?v=1708921702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e69bf86e19839f764e4f863343ebfaf83a2250.webp?v=1708921706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ced7a453edc32c099776c31e1d3ba4f47b9028.webp?v=1708921708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474e61722a2895529f0d8708f22fe74cce026a84.webp?v=1708921710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a31a4367eac55208f36d41566546175d250ccb69.webp?v=1708921713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f838f3ee0ca524f81f8d64705e36238d5470606.webp?v=1784521603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ed5deb48f7e58310b3b87eb0c095ccc07a664.webp?v=1784521605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a702ea092f884094400446d359f3859a5659057.webp?v=1784521606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283fafe0c704423dc53a07fa6267670df955d626.webp?v=1708921679","options":["color"],"media":[{"alt":null,"id":23353569476707,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283fafe0c704423dc53a07fa6267670df955d626.webp?v=1708921679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283fafe0c704423dc53a07fa6267670df955d626.webp?v=1708921679","width":2000},{"alt":null,"id":23353570230371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17aebe8084d4b23302e9ab33ad29b694e7af86ec.webp?v=1708921682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17aebe8084d4b23302e9ab33ad29b694e7af86ec.webp?v=1708921682","width":2000},{"alt":null,"id":23353570984035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c5a630e12eca6d525fdbdd5ac9c7011997da42.webp?v=1708921684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c5a630e12eca6d525fdbdd5ac9c7011997da42.webp?v=1708921684","width":2000},{"alt":null,"id":23353571770467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d39b228f45ccbe885b160fb4f5c0e171611d6a.webp?v=1708921686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d39b228f45ccbe885b160fb4f5c0e171611d6a.webp?v=1708921686","width":2000},{"alt":null,"id":23353572425827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b593623367eea4c298b6e552acaf6c373efaada.webp?v=1708921688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b593623367eea4c298b6e552acaf6c373efaada.webp?v=1708921688","width":2000},{"alt":null,"id":23353573146723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44b8fe4fa6d6db3094d4dfce6c8961541d61069.webp?v=1708921691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f44b8fe4fa6d6db3094d4dfce6c8961541d61069.webp?v=1708921691","width":2000},{"alt":null,"id":23353573736547,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadf1c99df02acec47b4dc3be0578b54c690f8b7.webp?v=1708921693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dadf1c99df02acec47b4dc3be0578b54c690f8b7.webp?v=1708921693","width":2000},{"alt":null,"id":23353575342179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a1be10fe7a9f11522c7531f19075973b757598.webp?v=1708921697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8a1be10fe7a9f11522c7531f19075973b757598.webp?v=1708921697","width":2000},{"alt":null,"id":23353576194147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f8f1d228915e19b96b9fdfde76639d731f0069.webp?v=1708921699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1f8f1d228915e19b96b9fdfde76639d731f0069.webp?v=1708921699","width":2000},{"alt":null,"id":23353577013347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2cd38ff88d61caade97650041af1231cb0719f5.webp?v=1708921702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2cd38ff88d61caade97650041af1231cb0719f5.webp?v=1708921702","width":2000},{"alt":null,"id":23353578848355,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e69bf86e19839f764e4f863343ebfaf83a2250.webp?v=1708921706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e69bf86e19839f764e4f863343ebfaf83a2250.webp?v=1708921706","width":2000},{"alt":null,"id":23353579864163,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ced7a453edc32c099776c31e1d3ba4f47b9028.webp?v=1708921708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ced7a453edc32c099776c31e1d3ba4f47b9028.webp?v=1708921708","width":2000},{"alt":null,"id":23353580814435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474e61722a2895529f0d8708f22fe74cce026a84.webp?v=1708921710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/474e61722a2895529f0d8708f22fe74cce026a84.webp?v=1708921710","width":2000},{"alt":null,"id":23353581633635,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a31a4367eac55208f36d41566546175d250ccb69.webp?v=1708921713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a31a4367eac55208f36d41566546175d250ccb69.webp?v=1708921713","width":2000},{"alt":null,"id":27822837891171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f838f3ee0ca524f81f8d64705e36238d5470606.webp?v=1784521603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f838f3ee0ca524f81f8d64705e36238d5470606.webp?v=1784521603","width":2000},{"alt":null,"id":27822838251619,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604","width":2000},{"alt":null,"id":27822838644835,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ed5deb48f7e58310b3b87eb0c095ccc07a664.webp?v=1784521605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0ed5deb48f7e58310b3b87eb0c095ccc07a664.webp?v=1784521605","width":2000},{"alt":null,"id":27822838906979,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a702ea092f884094400446d359f3859a5659057.webp?v=1784521606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a702ea092f884094400446d359f3859a5659057.webp?v=1784521606","width":2000},{"alt":null,"id":27822839365731,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606","width":2000},{"alt":null,"id":27822839726179,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41311981764707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318885904483,"product_id":7189368045667,"position":16,"created_at":"2026-07-20T12:26:42+08:00","updated_at":"2026-07-20T12:26:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604","variant_ids":[41311981764707]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB12","featured_media":{"alt":null,"id":27822838251619,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311981895779,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887051363,"product_id":7189368045667,"position":19,"created_at":"2026-07-20T12:26:44+08:00","updated_at":"2026-07-20T12:26:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606","variant_ids":[41311981895779]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB12","featured_media":{"alt":null,"id":27822839365731,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad958cd7e52e83f85cefb28b249244eff8a232d0.webp?v=1784521606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41311982125155,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887379043,"product_id":7189368045667,"position":20,"created_at":"2026-07-20T12:26:45+08:00","updated_at":"2026-07-20T12:26:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607","variant_ids":[41311982125155]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB12","featured_media":{"alt":null,"id":27822839726179,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bbd73ff9f7f493b3c8ed6cd875b1a66c72dfba4.webp?v=1784521607"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41311981764707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":36318885904483,"product_id":7189368045667,"position":16,"created_at":"2026-07-20T12:26:42+08:00","updated_at":"2026-07-20T12:26:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604","variant_ids":[41311981764707]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-蝙蝠俠 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB12","featured_media":{"alt":null,"id":27822838251619,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c01b7620fbd1ec941d6622e8a37f4ebe22a8f5fb.webp?v=1784521604"}},"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: "停產"
}