$product = {"id":7920537927779,"title":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合","handle":"iphone-air-jellytint-with-capture-button-ptt05","description":null,"published_at":"2025-11-10T16:34:49+08:00","created_at":"2025-11-10T15:04:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone Air","merge","reseller-jujutsu-kaisen"],"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":43828892467299,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013514M-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125818093667,"product_id":7920537927779,"position":11,"created_at":"2026-06-29T16:18:43+08:00","updated_at":"2026-06-29T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126","variant_ids":[43828892467299]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013514M-PTT05","featured_media":{"alt":null,"id":27631059927139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828894236771,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013510G-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125817765987,"product_id":7920537927779,"position":10,"created_at":"2026-06-29T16:18:43+08:00","updated_at":"2026-06-29T16:18:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125","variant_ids":[43828894236771]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - 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":"JTB013510G-PTT05","featured_media":{"alt":null,"id":27631059566691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828894269539,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013514L-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125818290275,"product_id":7920537927779,"position":12,"created_at":"2026-06-29T16:18:44+08:00","updated_at":"2026-06-29T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126","variant_ids":[43828894269539]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013514L-PTT05","featured_media":{"alt":null,"id":27631060123747,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf.webp?v=1762758295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5.webp?v=1762758295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b.webp?v=1762758296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_eb340ddf-1028-4f90-897b-b7cc4f8e6e44.webp?v=1782268149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_9edcb428-c05a-41d8-a99b-ff74677b910c.webp?v=1782268149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_edcaf397-4574-4c79-ac94-40d51584b6a6.webp?v=1782268151","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_48c0b22d-4d10-4622-98af-9ea3d31673f8.webp?v=1782292588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_ca3c20a8-b19d-4fed-91a0-c083a6d135d3.webp?v=1782292589","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_e8ac3c32-73dc-4d78-a80e-2ea7c0143482.webp?v=1782292591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf.webp?v=1762758295","options":["color"],"media":[{"alt":null,"id":26347798921315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf.webp?v=1762758295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf.webp?v=1762758295","width":2000},{"alt":null,"id":26347799085155,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5.webp?v=1762758295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5.webp?v=1762758295","width":2000},{"alt":null,"id":26347799216227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b.webp?v=1762758296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b.webp?v=1762758296","width":2000},{"alt":null,"id":27588295721059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_eb340ddf-1028-4f90-897b-b7cc4f8e6e44.webp?v=1782268149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_eb340ddf-1028-4f90-897b-b7cc4f8e6e44.webp?v=1782268149","width":2000},{"alt":null,"id":27588296212579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_9edcb428-c05a-41d8-a99b-ff74677b910c.webp?v=1782268149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_9edcb428-c05a-41d8-a99b-ff74677b910c.webp?v=1782268149","width":2000},{"alt":null,"id":27588296441955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_edcaf397-4574-4c79-ac94-40d51584b6a6.webp?v=1782268151"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_edcaf397-4574-4c79-ac94-40d51584b6a6.webp?v=1782268151","width":2000},{"alt":null,"id":27594962403427,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_48c0b22d-4d10-4622-98af-9ea3d31673f8.webp?v=1782292588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_48c0b22d-4d10-4622-98af-9ea3d31673f8.webp?v=1782292588","width":2000},{"alt":null,"id":27594962600035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_ca3c20a8-b19d-4fed-91a0-c083a6d135d3.webp?v=1782292589"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_ca3c20a8-b19d-4fed-91a0-c083a6d135d3.webp?v=1782292589","width":2000},{"alt":null,"id":27594963091555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_e8ac3c32-73dc-4d78-a80e-2ea7c0143482.webp?v=1782292591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_e8ac3c32-73dc-4d78-a80e-2ea7c0143482.webp?v=1782292591","width":2000},{"alt":null,"id":27631059566691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125","width":2000},{"alt":null,"id":27631059927139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126","width":2000},{"alt":null,"id":27631060123747,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828892467299,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013514M-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125818093667,"product_id":7920537927779,"position":11,"created_at":"2026-06-29T16:18:43+08:00","updated_at":"2026-06-29T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126","variant_ids":[43828892467299]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013514M-PTT05","featured_media":{"alt":null,"id":27631059927139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828894236771,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013510G-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125817765987,"product_id":7920537927779,"position":10,"created_at":"2026-06-29T16:18:43+08:00","updated_at":"2026-06-29T16:18:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125","variant_ids":[43828894236771]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - 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":"JTB013510G-PTT05","featured_media":{"alt":null,"id":27631059566691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eafa4116da54e4b34430c41b714ac8b8de20333b_43035bd8-a209-44d2-9f9c-586bbc5e2b2c.webp?v=1782721125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828894269539,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013514L-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125818290275,"product_id":7920537927779,"position":12,"created_at":"2026-06-29T16:18:44+08:00","updated_at":"2026-06-29T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126","variant_ids":[43828894269539]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013514L-PTT05","featured_media":{"alt":null,"id":27631060123747,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0f5b57b25eab3b5c81feb3b7adb3763b8b7dfaf_ade54312-47a5-4590-8253-8847d3ea0b19.webp?v=1782721126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828892467299,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013514M-PTT05","requires_shipping":true,"taxable":true,"featured_image":{"id":36125818093667,"product_id":7920537927779,"position":11,"created_at":"2026-06-29T16:18:43+08:00","updated_at":"2026-06-29T16:18:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126","variant_ids":[43828892467299]},"available":true,"name":"iPhone Air Clear (相機按鈕) 咒術迴戰 懷玉・玉折角色系列-最強組合 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"JTB013514M-PTT05","featured_media":{"alt":null,"id":27631059927139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38e0390e84e5f4b18c7efb41e22c69ec26fcb5_6586ad98-8e57-4220-9488-7e0bdc60a781.webp?v=1782721126"}},"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: "停產" }