$product = {"id":7862700441699,"title":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue","handle":"iphone-17-jellytint-with-capture-button-mj56","description":"","published_at":"2025-09-11T10:13:24+08:00","created_at":"2025-08-22T17:39:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-noreason","device-iPhone 17","merge","reseller-jellytint-with-capture-button-noreason","reseller-noreason","Top50","type-jellytint-with-capture-button"],"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":43606796959843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518969955,"product_id":7862700441699,"position":12,"created_at":"2025-11-25T16:34:19+08:00","updated_at":"2025-11-25T16:34:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661","variant_ids":[43606796959843]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013500G-MJ56","featured_media":{"alt":null,"id":26404209164387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43606798237795,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518806115,"product_id":7862700441699,"position":11,"created_at":"2025-11-25T16:34:19+08:00","updated_at":"2025-11-25T16:34:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660","variant_ids":[43606798237795]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013504M-MJ56","featured_media":{"alt":null,"id":26404209033315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43606798270563,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518609507,"product_id":7862700441699,"position":10,"created_at":"2025-11-25T16:34:18+08:00","updated_at":"2025-11-25T16:34:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660","variant_ids":[43606798270563]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013504L-MJ56","featured_media":{"alt":null,"id":26404208836707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013500G-MJ56_f0f067c6-e426-4a96-bcce-774eb3b02908.webp?v=1764058900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504M-MJ56_3d73b842-0b9f-4fd5-97b1-afa55c064bb8.webp?v=1764058900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504L-MJ56_3895c8eb-6db8-4098-825b-364b567f229a.webp?v=1764058900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c.webp?v=1764059399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27.webp?v=1764059399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f.webp?v=1764059399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_0d560f98-3946-43f2-a737-b6dc14a17100.webp?v=1764059456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_0fb2486f-1997-48eb-9f20-e9041512c048.webp?v=1764059457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_15065129-efde-4cc4-99f2-11cc8804d8f8.webp?v=1764059457","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013500G-MJ56_f0f067c6-e426-4a96-bcce-774eb3b02908.webp?v=1764058900","options":["color"],"media":[{"alt":null,"id":26404156833891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013500G-MJ56_f0f067c6-e426-4a96-bcce-774eb3b02908.webp?v=1764058900"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013500G-MJ56_f0f067c6-e426-4a96-bcce-774eb3b02908.webp?v=1764058900","width":1080},{"alt":null,"id":26404156866659,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504M-MJ56_3d73b842-0b9f-4fd5-97b1-afa55c064bb8.webp?v=1764058900"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504M-MJ56_3d73b842-0b9f-4fd5-97b1-afa55c064bb8.webp?v=1764058900","width":1080},{"alt":null,"id":26404156899427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504L-MJ56_3895c8eb-6db8-4098-825b-364b567f229a.webp?v=1764058900"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/JTB013504L-MJ56_3895c8eb-6db8-4098-825b-364b567f229a.webp?v=1764058900","width":1080},{"alt":null,"id":26404191666275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c.webp?v=1764059399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c.webp?v=1764059399","width":2000},{"alt":null,"id":26404191895651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27.webp?v=1764059399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27.webp?v=1764059399","width":2000},{"alt":null,"id":26404192190563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f.webp?v=1764059399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f.webp?v=1764059399","width":2000},{"alt":null,"id":26404196057187,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_0d560f98-3946-43f2-a737-b6dc14a17100.webp?v=1764059456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_0d560f98-3946-43f2-a737-b6dc14a17100.webp?v=1764059456","width":2000},{"alt":null,"id":26404196352099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_0fb2486f-1997-48eb-9f20-e9041512c048.webp?v=1764059457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_0fb2486f-1997-48eb-9f20-e9041512c048.webp?v=1764059457","width":2000},{"alt":null,"id":26404196581475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_15065129-efde-4cc4-99f2-11cc8804d8f8.webp?v=1764059457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_15065129-efde-4cc4-99f2-11cc8804d8f8.webp?v=1764059457","width":2000},{"alt":null,"id":26404208836707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660","width":2000},{"alt":null,"id":26404209033315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660","width":2000},{"alt":null,"id":26404209164387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":43606796959843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518969955,"product_id":7862700441699,"position":12,"created_at":"2025-11-25T16:34:19+08:00","updated_at":"2025-11-25T16:34:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661","variant_ids":[43606796959843]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013500G-MJ56","featured_media":{"alt":null,"id":26404209164387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43606798237795,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"JTB013504M-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518806115,"product_id":7862700441699,"position":11,"created_at":"2025-11-25T16:34:19+08:00","updated_at":"2025-11-25T16:34:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660","variant_ids":[43606798237795]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013504M-MJ56","featured_media":{"alt":null,"id":26404209033315,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7d4cfb1187b7eb09ea56892220e0c55d3c0b3c_b797e8fa-ea0e-4420-83d2-e5979f4fda10.webp?v=1764059660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43606798270563,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"JTB013504L-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518609507,"product_id":7862700441699,"position":10,"created_at":"2025-11-25T16:34:18+08:00","updated_at":"2025-11-25T16:34:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660","variant_ids":[43606798270563]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013504L-MJ56","featured_media":{"alt":null,"id":26404208836707,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fecbde090af82284c975d9e49f41c979bb0e8b8f_e358402b-068d-4132-b711-055f69ab8dcd.webp?v=1764059660"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43606796959843,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"JTB013500G-MJ56","requires_shipping":true,"taxable":true,"featured_image":{"id":34839518969955,"product_id":7862700441699,"position":12,"created_at":"2025-11-25T16:34:19+08:00","updated_at":"2025-11-25T16:34:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661","variant_ids":[43606796959843]},"available":true,"name":"犀牛盾Clear Case (相機按鈕) 防摔背蓋手機殼 - iPhone 17 - 【聯名設計款】 - No Reason - blackblue - 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":"JTB013500G-MJ56","featured_media":{"alt":null,"id":26404209164387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84112acd4dec9ae0fdb21942625b3f174ed61e27_07d5bd07-907a-4b32-a6f1-157cce2ce7be.webp?v=1764059661"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }