$product = {"id":7841251557475,"title":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦","handle":"iphone-14-jellytint-hik30","description":null,"published_at":"2025-07-23T09:34:51+08:00","created_at":"2025-07-22T17:39:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-haikyu","device-iPhone 14","merge","reseller-haikyu"],"price":128000,"price_min":128000,"price_max":128000,"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":43539479429219,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550921827,"product_id":7841251557475,"position":10,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367","variant_ids":[43539479429219]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-HIK30","featured_media":{"alt":null,"id":27558087786595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539479986275,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550397539,"product_id":7841251557475,"position":9,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366","variant_ids":[43539479986275]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-HIK30","featured_media":{"alt":null,"id":27558087262307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539480019043,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041551052899,"product_id":7841251557475,"position":11,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368","variant_ids":[43539480019043]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-HIK30","featured_media":{"alt":null,"id":27558087917667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1e62e7486e248caecd095ada77c98d53ad2204e_c478032c-562e-413e-a026-759896607096.webp?v=1753177153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f235f7e515d62659dbfcb3788b45bb38c8a45c82_124512c3-1507-4130-a988-de11fa9deb5c.webp?v=1753177154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4abfba29c29e0d015fb9403d5d2d5a8dd75609_1f28b6f9-d947-4194-a757-de8590277dc3.webp?v=1753177154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a82ad680a3de9312e22555241855a536c87739f_e4aa2ac0-e6af-48bf-bb66-9d7f5b0339c5.webp?v=1753177155","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_1be3da0f-e98c-454b-a8eb-57b04ab624a6.webp?v=1776656148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8569ca636f4517d36107fe9fe1857b8fcdba3d_63ad5566-20fe-4407-93a1-763a90977b15.webp?v=1776656148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_d52b723e-fde2-417f-890a-03b908468d98.webp?v=1776656149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_a35e0ad1-ffcb-4e5d-a7bf-3907f627530b.webp?v=1776656150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1e62e7486e248caecd095ada77c98d53ad2204e_c478032c-562e-413e-a026-759896607096.webp?v=1753177153","options":["color"],"media":[{"alt":null,"id":25852671852643,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1e62e7486e248caecd095ada77c98d53ad2204e_c478032c-562e-413e-a026-759896607096.webp?v=1753177153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1e62e7486e248caecd095ada77c98d53ad2204e_c478032c-562e-413e-a026-759896607096.webp?v=1753177153","width":2000},{"alt":null,"id":25852672049251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f235f7e515d62659dbfcb3788b45bb38c8a45c82_124512c3-1507-4130-a988-de11fa9deb5c.webp?v=1753177154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f235f7e515d62659dbfcb3788b45bb38c8a45c82_124512c3-1507-4130-a988-de11fa9deb5c.webp?v=1753177154","width":2000},{"alt":null,"id":25852672245859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4abfba29c29e0d015fb9403d5d2d5a8dd75609_1f28b6f9-d947-4194-a757-de8590277dc3.webp?v=1753177154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4abfba29c29e0d015fb9403d5d2d5a8dd75609_1f28b6f9-d947-4194-a757-de8590277dc3.webp?v=1753177154","width":2000},{"alt":null,"id":25852672442467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a82ad680a3de9312e22555241855a536c87739f_e4aa2ac0-e6af-48bf-bb66-9d7f5b0339c5.webp?v=1753177155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a82ad680a3de9312e22555241855a536c87739f_e4aa2ac0-e6af-48bf-bb66-9d7f5b0339c5.webp?v=1753177155","width":2000},{"alt":null,"id":27201743847523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_1be3da0f-e98c-454b-a8eb-57b04ab624a6.webp?v=1776656148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_1be3da0f-e98c-454b-a8eb-57b04ab624a6.webp?v=1776656148","width":2000},{"alt":null,"id":27201744437347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8569ca636f4517d36107fe9fe1857b8fcdba3d_63ad5566-20fe-4407-93a1-763a90977b15.webp?v=1776656148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb8569ca636f4517d36107fe9fe1857b8fcdba3d_63ad5566-20fe-4407-93a1-763a90977b15.webp?v=1776656148","width":2000},{"alt":null,"id":27201745059939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_d52b723e-fde2-417f-890a-03b908468d98.webp?v=1776656149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_d52b723e-fde2-417f-890a-03b908468d98.webp?v=1776656149","width":2000},{"alt":null,"id":27201745518691,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_a35e0ad1-ffcb-4e5d-a7bf-3907f627530b.webp?v=1776656150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_a35e0ad1-ffcb-4e5d-a7bf-3907f627530b.webp?v=1776656150","width":2000},{"alt":null,"id":27558087262307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366","width":2000},{"alt":null,"id":27558087786595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367","width":2000},{"alt":null,"id":27558087917667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43539479429219,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550921827,"product_id":7841251557475,"position":10,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367","variant_ids":[43539479429219]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-HIK30","featured_media":{"alt":null,"id":27558087786595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539479986275,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550397539,"product_id":7841251557475,"position":9,"created_at":"2026-06-22T17:09:24+08:00","updated_at":"2026-06-22T17:09:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366","variant_ids":[43539479986275]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-HIK30","featured_media":{"alt":null,"id":27558087262307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6baacd1cada0528d4cbbf151681c02a83fcd83e0_77aba74e-3539-4343-8f24-deff579ef0cb.webp?v=1782119366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43539480019043,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041551052899,"product_id":7841251557475,"position":11,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368","variant_ids":[43539480019043]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-HIK30","featured_media":{"alt":null,"id":27558087917667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4febfa1a17e62f5b0d73c20e8941eaf148e477b4_96060e03-2653-448c-86a6-4e5819cedc01.webp?v=1782119368"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43539479429219,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-HIK30","requires_shipping":true,"taxable":true,"featured_image":{"id":36041550921827,"product_id":7841251557475,"position":10,"created_at":"2026-06-22T17:09:25+08:00","updated_at":"2026-06-22T17:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367","variant_ids":[43539479429219]},"available":true,"name":"iPhone 14 Clear 排球少年!! Q 版人物 - 及川徹 \u0026 岩泉 \u0026 黑尾 \u0026 孤爪 \u0026 木兔 \u0026 赤葦 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-HIK30","featured_media":{"alt":null,"id":27558087786595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b166bfc808e666ad6cefe02c62d1b11df71a9086_5f86c29e-c19c-417e-8a04-37c43e2685ff.webp?v=1782119367"}},"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: "停產" }