$product = {"id":7920521609315,"title":"iPhone 17 Pro Clear (相機按鈕) 咒術迴戰 澀谷事變戰鬥系列-釘崎野薔薇","handle":"iphone-17-pro-jellytint-with-capture-button-ptt14","description":null,"published_at":"2025-11-10T16:36:33+08:00","created_at":"2025-11-10T15:01:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone 17 Pro","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":43828851933283,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583802467,"product_id":7920521609315,"position":11,"created_at":"2026-06-29T16:06:59+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421","variant_ids":[43828851933283]},"available":true,"name":"iPhone 17 Pro 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":"JTB013524M-PTT14","featured_media":{"alt":null,"id":27630825439331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828853801059,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583409251,"product_id":7920521609315,"position":10,"created_at":"2026-06-29T16:06:58+08:00","updated_at":"2026-06-29T16:07:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420","variant_ids":[43828853801059]},"available":true,"name":"iPhone 17 Pro 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":"JTB013520G-PTT14","featured_media":{"alt":null,"id":27630825013347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828853833827,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125584293987,"product_id":7920521609315,"position":12,"created_at":"2026-06-29T16:07:01+08:00","updated_at":"2026-06-29T16:07:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424","variant_ids":[43828853833827]},"available":true,"name":"iPhone 17 Pro 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":"JTB013524L-PTT14","featured_media":{"alt":null,"id":27630825865315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74.webp?v=1762758124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676.webp?v=1762758125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011.webp?v=1762758125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_615daef7-6fd2-43cf-8e3a-5641e7087c22.webp?v=1782267436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_fa2469a4-530a-4fad-b1d3-c8127a36b0e8.webp?v=1782267437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_22c7ec3a-a497-4bb5-be94-482c335cc2e0.webp?v=1782267438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_eeac3f9b-c836-4b1a-8d66-0450839f0251.webp?v=1782292325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_43c0a8f3-7942-422d-b194-3625ec7247ab.webp?v=1782292326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_cbba88e2-bd60-44a4-9a67-dcb9bbb8f6b1.webp?v=1782292327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74.webp?v=1762758124","options":["color"],"media":[{"alt":null,"id":26347761729635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74.webp?v=1762758124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74.webp?v=1762758124","width":2000},{"alt":null,"id":26347761893475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676.webp?v=1762758125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676.webp?v=1762758125","width":2000},{"alt":null,"id":26347761991779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011.webp?v=1762758125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011.webp?v=1762758125","width":2000},{"alt":null,"id":27587972268131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_615daef7-6fd2-43cf-8e3a-5641e7087c22.webp?v=1782267436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_615daef7-6fd2-43cf-8e3a-5641e7087c22.webp?v=1782267436","width":2000},{"alt":null,"id":27587972497507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_fa2469a4-530a-4fad-b1d3-c8127a36b0e8.webp?v=1782267437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_fa2469a4-530a-4fad-b1d3-c8127a36b0e8.webp?v=1782267437","width":2000},{"alt":null,"id":27587973152867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_22c7ec3a-a497-4bb5-be94-482c335cc2e0.webp?v=1782267438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_22c7ec3a-a497-4bb5-be94-482c335cc2e0.webp?v=1782267438","width":2000},{"alt":null,"id":27594876715107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_eeac3f9b-c836-4b1a-8d66-0450839f0251.webp?v=1782292325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_eeac3f9b-c836-4b1a-8d66-0450839f0251.webp?v=1782292325","width":2000},{"alt":null,"id":27594877304931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_43c0a8f3-7942-422d-b194-3625ec7247ab.webp?v=1782292326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_43c0a8f3-7942-422d-b194-3625ec7247ab.webp?v=1782292326","width":2000},{"alt":null,"id":27594877501539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_cbba88e2-bd60-44a4-9a67-dcb9bbb8f6b1.webp?v=1782292327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_cbba88e2-bd60-44a4-9a67-dcb9bbb8f6b1.webp?v=1782292327","width":2000},{"alt":null,"id":27630825013347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420","width":2000},{"alt":null,"id":27630825439331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421","width":2000},{"alt":null,"id":27630825865315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828851933283,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583802467,"product_id":7920521609315,"position":11,"created_at":"2026-06-29T16:06:59+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421","variant_ids":[43828851933283]},"available":true,"name":"iPhone 17 Pro 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":"JTB013524M-PTT14","featured_media":{"alt":null,"id":27630825439331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828853801059,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013520G-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583409251,"product_id":7920521609315,"position":10,"created_at":"2026-06-29T16:06:58+08:00","updated_at":"2026-06-29T16:07:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420","variant_ids":[43828853801059]},"available":true,"name":"iPhone 17 Pro 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":"JTB013520G-PTT14","featured_media":{"alt":null,"id":27630825013347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69787288956ba7dd27620f7bc3fa9dce471eda74_d517b0c6-6b0b-41a0-820f-644d5054694d.webp?v=1782720420"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828853833827,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013524L-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125584293987,"product_id":7920521609315,"position":12,"created_at":"2026-06-29T16:07:01+08:00","updated_at":"2026-06-29T16:07:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424","variant_ids":[43828853833827]},"available":true,"name":"iPhone 17 Pro 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":"JTB013524L-PTT14","featured_media":{"alt":null,"id":27630825865315,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d85a8c34943d0a847905ffd2c9e23dfe2f488011_34f487bb-d064-4ea5-9e77-c23d15c75b1b.webp?v=1782720424"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828851933283,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013524M-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125583802467,"product_id":7920521609315,"position":11,"created_at":"2026-06-29T16:06:59+08:00","updated_at":"2026-06-29T16:07:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421","variant_ids":[43828851933283]},"available":true,"name":"iPhone 17 Pro 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":"JTB013524M-PTT14","featured_media":{"alt":null,"id":27630825439331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cabe98328429d6134ff0166e1f645c9027ee9676_1117b439-e8e9-4bd4-8c84-86924e9e6e28.webp?v=1782720421"}},"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: "停產" }