spurds Posted January 27 Share Posted January 27 I have the following code which is working perfectly: <script> window.addEventListener('DOMContentLoaded', (event) => { var products = document.querySelectorAll('.product-price'), sf; for (sf=0; sf<products.length; sf++) { var price = products[sf]; if (price.innerText.replace(/[^\d]+/g , "") === '000') { price.textContent = 'A Skin Review is Needed Prior to Purchasing Skin Better Science Products'; } } }); </script> I would like to make it so that the phrase 'A Skin Review is Needed Prior to Purchasing Skin Better Science Products' is bold. I'm not sure where to add in the necessary code into this to make it happen (extreme code rookie question - apologies!) Link to comment
tuanphan Posted January 28 Share Posted January 28 Can you share link to page where you added this text? We can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment