$product = {"id":7769877020771,"title":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶","handle":"iphone-14-pro-jellytint-xf14","description":null,"published_at":"2025-04-16T13:50:41+08:00","created_at":"2025-04-15T21:35:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14 Pro","merge","reseller-ilovedoodle"],"price":108000,"price_min":108000,"price_max":108000,"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":43304364900451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581662101603,"product_id":7769877020771,"position":8,"created_at":"2026-04-02T14:52:34+08:00","updated_at":"2026-04-02T14:52:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756","variant_ids":[43304364900451]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-XF14","featured_media":{"alt":null,"id":27114282221667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368734307,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581661544547,"product_id":7769877020771,"position":6,"created_at":"2026-04-02T14:52:33+08:00","updated_at":"2026-04-02T14:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755","variant_ids":[43304368734307]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-XF14","featured_media":{"alt":null,"id":27114281631843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368767075,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581661839459,"product_id":7769877020771,"position":7,"created_at":"2026-04-02T14:52:34+08:00","updated_at":"2026-04-02T14:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755","variant_ids":[43304368767075]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-XF14","featured_media":{"alt":null,"id":27114281959523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368799843,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581662363747,"product_id":7769877020771,"position":9,"created_at":"2026-04-02T14:52:35+08:00","updated_at":"2026-04-02T14:52:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757","variant_ids":[43304368799843]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-XF14","featured_media":{"alt":null,"id":27114282483811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba222978b69fa4f02b3dac20f33eb7bdd2c3ee4.webp?v=1744724164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4.webp?v=1774938146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55.webp?v=1774938146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d.webp?v=1774938148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00.webp?v=1774938148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba222978b69fa4f02b3dac20f33eb7bdd2c3ee4.webp?v=1744724164","options":["color"],"media":[{"alt":null,"id":25496402853987,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba222978b69fa4f02b3dac20f33eb7bdd2c3ee4.webp?v=1744724164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba222978b69fa4f02b3dac20f33eb7bdd2c3ee4.webp?v=1744724164","width":2000},{"alt":null,"id":27101920821347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4.webp?v=1774938146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4.webp?v=1774938146","width":2000},{"alt":null,"id":27101921247331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55.webp?v=1774938146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55.webp?v=1774938146","width":2000},{"alt":null,"id":27101921673315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d.webp?v=1774938148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d.webp?v=1774938148","width":2000},{"alt":null,"id":27101922033763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00.webp?v=1774938148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00.webp?v=1774938148","width":2000},{"alt":null,"id":27114281631843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755","width":2000},{"alt":null,"id":27114281959523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755","width":2000},{"alt":null,"id":27114282221667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756","width":2000},{"alt":null,"id":27114282483811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43304364900451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581662101603,"product_id":7769877020771,"position":8,"created_at":"2026-04-02T14:52:34+08:00","updated_at":"2026-04-02T14:52:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756","variant_ids":[43304364900451]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-XF14","featured_media":{"alt":null,"id":27114282221667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368734307,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"CCN012620H-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581661544547,"product_id":7769877020771,"position":6,"created_at":"2026-04-02T14:52:33+08:00","updated_at":"2026-04-02T14:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755","variant_ids":[43304368734307]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620H-XF14","featured_media":{"alt":null,"id":27114281631843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8f9aac8468b4b2c60e439993a4785096429cda4_9f5a8023-8f3e-4a3e-bc8a-ac4d36134025.webp?v=1775112755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368767075,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012620J-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581661839459,"product_id":7769877020771,"position":7,"created_at":"2026-04-02T14:52:34+08:00","updated_at":"2026-04-02T14:52:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755","variant_ids":[43304368767075]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620J-XF14","featured_media":{"alt":null,"id":27114281959523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/affd33f96fdeceffd08a635d550b7b0907d13a00_ddaff782-773e-4593-9268-5a3ebbba2675.webp?v=1775112755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43304368799843,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012620I-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581662363747,"product_id":7769877020771,"position":9,"created_at":"2026-04-02T14:52:35+08:00","updated_at":"2026-04-02T14:52:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757","variant_ids":[43304368799843]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620I-XF14","featured_media":{"alt":null,"id":27114282483811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54989d1805cddafc4c5b2b685ca945246c0beb55_99c955c0-cd0c-455e-b9b5-df0566ac7ba1.webp?v=1775112757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43304364900451,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012620G-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581662101603,"product_id":7769877020771,"position":8,"created_at":"2026-04-02T14:52:34+08:00","updated_at":"2026-04-02T14:52:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756","variant_ids":[43304364900451]},"available":true,"name":"iPhone 14 Pro Clear ilovedoodle Slophisticated 樹懶 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":108000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012620G-XF14","featured_media":{"alt":null,"id":27114282221667,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27dbd8ef99d60152d4a73cd8c2e91f9dfc30666d_e40bfd7f-8df9-4968-a7a9-ee0a862e7bb8.webp?v=1775112756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }