$product = {"id":7573702836323,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧","handle":"iphone-13-mini-solidsuit-classic-magsafe-hik01","description":null,"published_at":"2024-07-24T11:45:47+08:00","created_at":"2024-07-17T18:05:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-排球少年 Haikyu!!","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-haikyu","device-iPhone 13 Mini","merge","reseller-haikyu"],"price":125000,"price_min":125000,"price_max":125000,"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":42549976727651,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK01","requires_shipping":true,"taxable":true,"featured_image":{"id":36041430073443,"product_id":7573702836323,"position":11,"created_at":"2026-06-22T17:04:14+08:00","updated_at":"2026-06-22T17:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056","variant_ids":[42549976727651]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK01","featured_media":{"alt":null,"id":27557966970979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42549976989795,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-HIK01","requires_shipping":true,"taxable":true,"featured_image":{"id":36041430302819,"product_id":7573702836323,"position":12,"created_at":"2026-06-22T17:04:14+08:00","updated_at":"2026-06-22T17:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056","variant_ids":[42549976989795]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-HIK01","featured_media":{"alt":null,"id":27557967200355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7ca39582de835af5b348610340c1988837c37.webp?v=1721278181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313ad5b603d66d295f1bb0ce3a20e69cf6220673.webp?v=1776656117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e.webp?v=1776656117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd.webp?v=1776656118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a84a1dbfa4813ae5e33e2aab7e553f13242f5f1.webp?v=1776656119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b.webp?v=1776656119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7.webp?v=1776656120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280.webp?v=1776656121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd_a16d6f07-966d-4769-8b8f-947bb65d408f.webp?v=1782119054","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e_e026c9bc-784f-4c18-8b73-494f37a72d2f.webp?v=1782119055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7_1f66fcda-5ffa-4337-8a01-273b5c6c3e7f.webp?v=1782119057"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7ca39582de835af5b348610340c1988837c37.webp?v=1721278181","options":["color"],"media":[{"alt":null,"id":24409475383395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7ca39582de835af5b348610340c1988837c37.webp?v=1721278181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7ca39582de835af5b348610340c1988837c37.webp?v=1721278181","width":2000},{"alt":null,"id":27201731657827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313ad5b603d66d295f1bb0ce3a20e69cf6220673.webp?v=1776656117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/313ad5b603d66d295f1bb0ce3a20e69cf6220673.webp?v=1776656117","width":2000},{"alt":null,"id":27201732083811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e.webp?v=1776656117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e.webp?v=1776656117","width":2000},{"alt":null,"id":27201732804707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd.webp?v=1776656118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd.webp?v=1776656118","width":2000},{"alt":null,"id":27201733230691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a84a1dbfa4813ae5e33e2aab7e553f13242f5f1.webp?v=1776656119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a84a1dbfa4813ae5e33e2aab7e553f13242f5f1.webp?v=1776656119","width":2000},{"alt":null,"id":27201733689443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b.webp?v=1776656119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b.webp?v=1776656119","width":2000},{"alt":null,"id":27201734115427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7.webp?v=1776656120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7.webp?v=1776656120","width":2000},{"alt":null,"id":27201734541411,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280.webp?v=1776656121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280.webp?v=1776656121","width":2000},{"alt":null,"id":27557966544995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd_a16d6f07-966d-4769-8b8f-947bb65d408f.webp?v=1782119054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1c8ef9138f3547abadb36900d7bdae906ae0cd_a16d6f07-966d-4769-8b8f-947bb65d408f.webp?v=1782119054","width":2000},{"alt":null,"id":27557966741603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e_e026c9bc-784f-4c18-8b73-494f37a72d2f.webp?v=1782119055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde6fd3244e56d4035c8461a284a17d313e7371e_e026c9bc-784f-4c18-8b73-494f37a72d2f.webp?v=1782119055","width":2000},{"alt":null,"id":27557966970979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056","width":2000},{"alt":null,"id":27557967200355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056","width":2000},{"alt":null,"id":27557967757411,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7_1f66fcda-5ffa-4337-8a01-273b5c6c3e7f.webp?v=1782119057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a169d9580f4c9d921f241d1072c109d99f604ee7_1f66fcda-5ffa-4337-8a01-273b5c6c3e7f.webp?v=1782119057","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42549976727651,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK01","requires_shipping":true,"taxable":true,"featured_image":{"id":36041430073443,"product_id":7573702836323,"position":11,"created_at":"2026-06-22T17:04:14+08:00","updated_at":"2026-06-22T17:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056","variant_ids":[42549976727651]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK01","featured_media":{"alt":null,"id":27557966970979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42549976989795,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-HIK01","requires_shipping":true,"taxable":true,"featured_image":{"id":36041430302819,"product_id":7573702836323,"position":12,"created_at":"2026-06-22T17:04:14+08:00","updated_at":"2026-06-22T17:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056","variant_ids":[42549976989795]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-HIK01","featured_media":{"alt":null,"id":27557967200355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed1d8e25751e2ab3dc7077f68a2634a839bc280_ae96cfd6-8877-444d-b572-300b5cf93bfb.webp?v=1782119056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42549976727651,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK01","requires_shipping":true,"taxable":true,"featured_image":{"id":36041430073443,"product_id":7573702836323,"position":11,"created_at":"2026-06-22T17:04:14+08:00","updated_at":"2026-06-22T17:04:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056","variant_ids":[42549976727651]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 烏野高校應援標語 - 飛吧 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK01","featured_media":{"alt":null,"id":27557966970979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ce0e864f2a2ad3b50912408934ace965058ff8b_43b73171-92e5-4c30-b624-62bb77474369.webp?v=1782119056"}},"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: "停產" }