$product = {"id":7888506355811,"title":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶","handle":"iphone-17-pro-max-jellytint-magsafe-with-capture-button-es02","description":null,"published_at":"2025-09-22T17:17:43+08:00","created_at":"2025-09-22T15:58:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-annnbrownie","device-iPhone 17 Pro Max","merge","reseller-annnbrownie"],"price":148000,"price_min":148000,"price_max":148000,"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":43743382208611,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-ES02","requires_shipping":true,"taxable":true,"featured_image":{"id":36347137065059,"product_id":7888506355811,"position":13,"created_at":"2026-07-22T17:08:50+08:00","updated_at":"2026-07-22T17:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332","variant_ids":[43743382208611]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-ES02","featured_media":{"alt":null,"id":27850993467491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743383486563,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-ES02","requires_shipping":true,"taxable":true,"featured_image":{"id":36347137392739,"product_id":7888506355811,"position":14,"created_at":"2026-07-22T17:08:52+08:00","updated_at":"2026-07-22T17:08:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334","variant_ids":[43743383486563]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534L-ES02","featured_media":{"alt":null,"id":27850993795171,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5.webp?v=1758527935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103.webp?v=1758527936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37.webp?v=1758527936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_99d2ebea-b1cf-42d3-af55-5edc1435b85e.webp?v=1784706991","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_36871181-3189-4857-8b92-1aeb17d27ba9.webp?v=1784706992","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_e116a573-72ad-4664-aecd-a1af3bdd749a.webp?v=1784706993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_1a65e421-e5ae-4336-be59-2cdb4798159b.webp?v=1784709851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_74e8b550-2a60-4326-b04a-c1c2a9fca3bb.webp?v=1784709852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_57540da0-6d23-4d7c-9661-172c95fa752e.webp?v=1784709853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_f8a942a2-778a-4801-920f-feee17132113.webp?v=1784710629","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_41d9b6e5-3260-4176-aff3-bdca633eb97c.webp?v=1784710630","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_7de57135-abd1-47b2-8d80-51d421e92e9d.webp?v=1784710632","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_29d22f73-81d5-461d-8723-290c2a2ec481.webp?v=1784711335"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5.webp?v=1758527935","options":["color"],"media":[{"alt":null,"id":26085134663779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5.webp?v=1758527935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5.webp?v=1758527935","width":2000},{"alt":null,"id":26085134794851,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103.webp?v=1758527936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103.webp?v=1758527936","width":2000},{"alt":null,"id":26085134860387,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37.webp?v=1758527936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37.webp?v=1758527936","width":2000},{"alt":null,"id":27849591980131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_99d2ebea-b1cf-42d3-af55-5edc1435b85e.webp?v=1784706991"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_99d2ebea-b1cf-42d3-af55-5edc1435b85e.webp?v=1784706991","width":2000},{"alt":null,"id":27849592242275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_36871181-3189-4857-8b92-1aeb17d27ba9.webp?v=1784706992"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_36871181-3189-4857-8b92-1aeb17d27ba9.webp?v=1784706992","width":2000},{"alt":null,"id":27849592995939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_e116a573-72ad-4664-aecd-a1af3bdd749a.webp?v=1784706993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_e116a573-72ad-4664-aecd-a1af3bdd749a.webp?v=1784706993","width":2000},{"alt":null,"id":27850381721699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_1a65e421-e5ae-4336-be59-2cdb4798159b.webp?v=1784709851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_1a65e421-e5ae-4336-be59-2cdb4798159b.webp?v=1784709851","width":2000},{"alt":null,"id":27850381885539,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_74e8b550-2a60-4326-b04a-c1c2a9fca3bb.webp?v=1784709852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_74e8b550-2a60-4326-b04a-c1c2a9fca3bb.webp?v=1784709852","width":2000},{"alt":null,"id":27850382049379,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_57540da0-6d23-4d7c-9661-172c95fa752e.webp?v=1784709853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_57540da0-6d23-4d7c-9661-172c95fa752e.webp?v=1784709853","width":2000},{"alt":null,"id":27850687316067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_f8a942a2-778a-4801-920f-feee17132113.webp?v=1784710629"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_f8a942a2-778a-4801-920f-feee17132113.webp?v=1784710629","width":2000},{"alt":null,"id":27850687578211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_41d9b6e5-3260-4176-aff3-bdca633eb97c.webp?v=1784710630"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_41d9b6e5-3260-4176-aff3-bdca633eb97c.webp?v=1784710630","width":2000},{"alt":null,"id":27850688036963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_7de57135-abd1-47b2-8d80-51d421e92e9d.webp?v=1784710632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_7de57135-abd1-47b2-8d80-51d421e92e9d.webp?v=1784710632","width":2000},{"alt":null,"id":27850993467491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332","width":2000},{"alt":null,"id":27850993795171,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334","width":2000},{"alt":null,"id":27850993860707,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_29d22f73-81d5-461d-8723-290c2a2ec481.webp?v=1784711335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92963d9f344ddbe17d8dbbc3d2c490b5dbf2f1b5_29d22f73-81d5-461d-8723-290c2a2ec481.webp?v=1784711335","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43743382208611,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-ES02","requires_shipping":true,"taxable":true,"featured_image":{"id":36347137065059,"product_id":7888506355811,"position":13,"created_at":"2026-07-22T17:08:50+08:00","updated_at":"2026-07-22T17:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332","variant_ids":[43743382208611]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-ES02","featured_media":{"alt":null,"id":27850993467491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743383486563,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-ES02","requires_shipping":true,"taxable":true,"featured_image":{"id":36347137392739,"product_id":7888506355811,"position":14,"created_at":"2026-07-22T17:08:52+08:00","updated_at":"2026-07-22T17:08:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334","variant_ids":[43743383486563]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534L-ES02","featured_media":{"alt":null,"id":27850993795171,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fc90f4a4433675b5a155755f45d3970335a8103_a76492fe-5f15-43dc-a7af-a8a024b6cff0.webp?v=1784711334"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43743382208611,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-ES02","requires_shipping":true,"taxable":true,"featured_image":{"id":36347137065059,"product_id":7888506355811,"position":13,"created_at":"2026-07-22T17:08:50+08:00","updated_at":"2026-07-22T17:08:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332","variant_ids":[43743382208611]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) 布朗尼 annnbrownie 來杯下午茶 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-ES02","featured_media":{"alt":null,"id":27850993467491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46f7043771a195e9c9cdf93caeb775aaaaa2f37_ad41b14e-0e43-4fd8-9cd1-96311ab86661.webp?v=1784711332"}},"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: "停產" }