$product = {"id":7815635435619,"title":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍","handle":"iphone-16-pro-max-jellytint-bumper-crossover-design-eg10","description":null,"published_at":"2025-06-11T15:22:27+08:00","created_at":"2025-06-11T14:28:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlepopcorn","device-iPhone 16 Pro Max","merge","reseller-littlepopcorn"],"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":43444894171235,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012209840227,"product_id":7815635435619,"position":13,"created_at":"2025-06-12T10:07:57+08:00","updated_at":"2025-06-12T10:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079","variant_ids":[43444894171235]},"available":true,"name":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-EG10","featured_media":{"alt":null,"id":25692826763363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444894236771,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211740771,"product_id":7815635435619,"position":15,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080","variant_ids":[43444894236771]},"available":true,"name":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍 - 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":"CCN013280J-EG10","featured_media":{"alt":null,"id":25692827517027,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f.webp?v=1749623293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a.webp?v=1749623294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44.webp?v=1749623294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969.webp?v=1749623295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_a8545e7a-8fb4-4acf-9f58-79adecb2b653.webp?v=1749624559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_fde4c8a9-15d5-477a-a1e4-d7a5854bd5cd.webp?v=1749624559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_9446b42f-f5b7-4af9-a757-3cc8d9b85de8.webp?v=1749624560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_8699fe2b-60df-41f9-b120-b78e4199a705.webp?v=1749624560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_b3df5e59-37b2-4680-b732-156535f17cf4.webp?v=1749625225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_a340a0da-e8d2-4b43-be7a-b110ca84ec02.webp?v=1749625225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_9375c626-64eb-4e1f-b9ed-86f2c2b0d1f4.webp?v=1749625226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_e51f7da1-57d1-4f57-95a8-ad9e1777a535.webp?v=1749625226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_6fe2a170-f431-4176-8876-49ecdefa7d18.webp?v=1749694079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_c36c5d8c-4947-4e7d-a226-b0e435ad8afd.webp?v=1749694081"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f.webp?v=1749623293","options":["color"],"media":[{"alt":null,"id":25689555370083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f.webp?v=1749623293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f.webp?v=1749623293","width":2000},{"alt":null,"id":25689555468387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a.webp?v=1749623294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a.webp?v=1749623294","width":2000},{"alt":null,"id":25689555927139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44.webp?v=1749623294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44.webp?v=1749623294","width":2000},{"alt":null,"id":25689556156515,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969.webp?v=1749623295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969.webp?v=1749623295","width":2000},{"alt":null,"id":25689766461539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_a8545e7a-8fb4-4acf-9f58-79adecb2b653.webp?v=1749624559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_a8545e7a-8fb4-4acf-9f58-79adecb2b653.webp?v=1749624559","width":2000},{"alt":null,"id":25689766690915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_fde4c8a9-15d5-477a-a1e4-d7a5854bd5cd.webp?v=1749624559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_fde4c8a9-15d5-477a-a1e4-d7a5854bd5cd.webp?v=1749624559","width":2000},{"alt":null,"id":25689766887523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_9446b42f-f5b7-4af9-a757-3cc8d9b85de8.webp?v=1749624560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_9446b42f-f5b7-4af9-a757-3cc8d9b85de8.webp?v=1749624560","width":2000},{"alt":null,"id":25689767182435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_8699fe2b-60df-41f9-b120-b78e4199a705.webp?v=1749624560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_8699fe2b-60df-41f9-b120-b78e4199a705.webp?v=1749624560","width":2000},{"alt":null,"id":25689900744803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_b3df5e59-37b2-4680-b732-156535f17cf4.webp?v=1749625225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_b3df5e59-37b2-4680-b732-156535f17cf4.webp?v=1749625225","width":2000},{"alt":null,"id":25689900941411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_a340a0da-e8d2-4b43-be7a-b110ca84ec02.webp?v=1749625225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_a340a0da-e8d2-4b43-be7a-b110ca84ec02.webp?v=1749625225","width":2000},{"alt":null,"id":25689901138019,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_9375c626-64eb-4e1f-b9ed-86f2c2b0d1f4.webp?v=1749625226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_9375c626-64eb-4e1f-b9ed-86f2c2b0d1f4.webp?v=1749625226","width":2000},{"alt":null,"id":25689901498467,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_e51f7da1-57d1-4f57-95a8-ad9e1777a535.webp?v=1749625226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_e51f7da1-57d1-4f57-95a8-ad9e1777a535.webp?v=1749625226","width":2000},{"alt":null,"id":25692826763363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079","width":2000},{"alt":null,"id":25692826959971,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_6fe2a170-f431-4176-8876-49ecdefa7d18.webp?v=1749694079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3444c533429c517f4ffa6a2ea5b273fcef4c791f_6fe2a170-f431-4176-8876-49ecdefa7d18.webp?v=1749694079","width":2000},{"alt":null,"id":25692827517027,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080","width":2000},{"alt":null,"id":25692827746403,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_c36c5d8c-4947-4e7d-a226-b0e435ad8afd.webp?v=1749694081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd991ebef6ea1e41eb2bf0224e9d2a76e25d6d44_c36c5d8c-4947-4e7d-a226-b0e435ad8afd.webp?v=1749694081","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43444894171235,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012209840227,"product_id":7815635435619,"position":13,"created_at":"2025-06-12T10:07:57+08:00","updated_at":"2025-06-12T10:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079","variant_ids":[43444894171235]},"available":true,"name":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-EG10","featured_media":{"alt":null,"id":25692826763363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43444894236771,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN013280J-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012211740771,"product_id":7815635435619,"position":15,"created_at":"2025-06-12T10:07:58+08:00","updated_at":"2025-06-12T10:08:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080","variant_ids":[43444894236771]},"available":true,"name":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍 - 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":"CCN013280J-EG10","featured_media":{"alt":null,"id":25692827517027,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5438180c752402a26efaa5912ce89325e3db0969_2546a3e1-dcea-4714-86fe-08e481fa7285.webp?v=1749694080"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43444894171235,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN013280H-EG10","requires_shipping":true,"taxable":true,"featured_image":{"id":34012209840227,"product_id":7815635435619,"position":13,"created_at":"2025-06-12T10:07:57+08:00","updated_at":"2025-06-12T10:07:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079","variant_ids":[43444894171235]},"available":true,"name":"iPhone 16 Pro Max Clear 小玉米花 新年恐龍 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN013280H-EG10","featured_media":{"alt":null,"id":25692826763363,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5922161f1b22980e1a7e18af7e753cc0aeb5467a_d2620fc3-de39-4d75-95e9-02d40dad3151.webp?v=1749694079"}},"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: "停產" }