$product = {"id":7927224205411,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向","handle":"iphone-13-mini-solidsuit-classic-magsafe-hik64","description":null,"published_at":"2025-11-25T09:38:52+08:00","created_at":"2025-11-24T16:44:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","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":43851192893539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041438167139,"product_id":7927224205411,"position":14,"created_at":"2026-06-22T17:04:25+08:00","updated_at":"2026-06-22T17:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067","variant_ids":[43851192893539]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK64","featured_media":{"alt":null,"id":27557975031907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43851193057379,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041435742307,"product_id":7927224205411,"position":10,"created_at":"2026-06-22T17:04:22+08:00","updated_at":"2026-06-22T17:04:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064","variant_ids":[43851193057379]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-HIK64","featured_media":{"alt":null,"id":27557972607075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43851193090147,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041437577315,"product_id":7927224205411,"position":13,"created_at":"2026-06-22T17:04:25+08:00","updated_at":"2026-06-22T17:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067","variant_ids":[43851193090147]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-HIK64","featured_media":{"alt":null,"id":27557974474851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aab59cfe4a27cee8cdd3d66d3d1f28cae8b27bd.webp?v=1763973881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e.webp?v=1763973882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be.webp?v=1763973883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035.webp?v=1763973883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d25583e0f9a353ed290c9374d6a3c651bc35466.webp?v=1763973883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f.webp?v=1763973884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bca9b2ba3db74cccda7f80d5736ca1c609615e4e.webp?v=1763973884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49654a5bf3a6641ff4eb34fad25c149f81d5513e.webp?v=1763973885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f.webp?v=1763973885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be_033ff139-7510-4cef-a84b-03fa7019a1f3.webp?v=1782119065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f_084241e7-4359-4a80-8218-07d6bac2a480.webp?v=1782119066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aab59cfe4a27cee8cdd3d66d3d1f28cae8b27bd.webp?v=1763973881","options":["color"],"media":[{"alt":null,"id":26398814273635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aab59cfe4a27cee8cdd3d66d3d1f28cae8b27bd.webp?v=1763973881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aab59cfe4a27cee8cdd3d66d3d1f28cae8b27bd.webp?v=1763973881","width":2000},{"alt":null,"id":26398814371939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e.webp?v=1763973882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e.webp?v=1763973882","width":2000},{"alt":null,"id":26398814470243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be.webp?v=1763973883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be.webp?v=1763973883","width":2000},{"alt":null,"id":26398814568547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035.webp?v=1763973883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035.webp?v=1763973883","width":2000},{"alt":null,"id":26398814666851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d25583e0f9a353ed290c9374d6a3c651bc35466.webp?v=1763973883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d25583e0f9a353ed290c9374d6a3c651bc35466.webp?v=1763973883","width":2000},{"alt":null,"id":26398814863459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f.webp?v=1763973884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f.webp?v=1763973884","width":2000},{"alt":null,"id":26398815060067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bca9b2ba3db74cccda7f80d5736ca1c609615e4e.webp?v=1763973884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bca9b2ba3db74cccda7f80d5736ca1c609615e4e.webp?v=1763973884","width":2000},{"alt":null,"id":26398815191139,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49654a5bf3a6641ff4eb34fad25c149f81d5513e.webp?v=1763973885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49654a5bf3a6641ff4eb34fad25c149f81d5513e.webp?v=1763973885","width":2000},{"alt":null,"id":26398815420515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f.webp?v=1763973885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f.webp?v=1763973885","width":2000},{"alt":null,"id":27557972607075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064","width":2000},{"alt":null,"id":27557973000291,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be_033ff139-7510-4cef-a84b-03fa7019a1f3.webp?v=1782119065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f2f54a5db78eefc16668ada3ce1df4c190c5be_033ff139-7510-4cef-a84b-03fa7019a1f3.webp?v=1782119065","width":2000},{"alt":null,"id":27557974048867,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f_084241e7-4359-4a80-8218-07d6bac2a480.webp?v=1782119066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50687006c20cb244b259f379f93d948171602e6f_084241e7-4359-4a80-8218-07d6bac2a480.webp?v=1782119066","width":2000},{"alt":null,"id":27557974474851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067","width":2000},{"alt":null,"id":27557975031907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43851192893539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041438167139,"product_id":7927224205411,"position":14,"created_at":"2026-06-22T17:04:25+08:00","updated_at":"2026-06-22T17:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067","variant_ids":[43851192893539]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK64","featured_media":{"alt":null,"id":27557975031907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43851193057379,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041435742307,"product_id":7927224205411,"position":10,"created_at":"2026-06-22T17:04:22+08:00","updated_at":"2026-06-22T17:04:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064","variant_ids":[43851193057379]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-HIK64","featured_media":{"alt":null,"id":27557972607075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3410183392c76d12f1c321234034ef131a226d8e_f7acff37-45d0-4174-a74a-57a750aecf13.webp?v=1782119064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43851193090147,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041437577315,"product_id":7927224205411,"position":13,"created_at":"2026-06-22T17:04:25+08:00","updated_at":"2026-06-22T17:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067","variant_ids":[43851193090147]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-HIK64","featured_media":{"alt":null,"id":27557974474851,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3fb33ded81410902f023167b5f5dd6ca65f6f0f_1fbf0778-45f3-4658-b8b4-497f2a4080bd.webp?v=1782119067"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43851192893539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-HIK64","requires_shipping":true,"taxable":true,"featured_image":{"id":36041438167139,"product_id":7927224205411,"position":14,"created_at":"2026-06-22T17:04:25+08:00","updated_at":"2026-06-22T17:04:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067","variant_ids":[43851192893539]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 排球少年!! 球場上的日向 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-HIK64","featured_media":{"alt":null,"id":27557975031907,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4d87baef9d1547ab0416dfb30389be659b69035_e55b468b-fb91-4b67-98ce-12adfe5b711a.webp?v=1782119067"}},"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: "停產" }