AlbaTroels Posted March 30 Share Posted March 30 hi all I have a Squarespace site created last year, where I am using the commerce functions to have a "webshop" where I can show used products I have for sale. Some products are difficult to set a price for, so I want to have the price say "price on request" if the price is 0 in the inventory management. Ever since the creation, I have had the following custom code injection to automatically change prices that are 0 to "Price on request". For some reason this has now stopped working. I'm not sure exactly when. Any thoughts on why it doesn't work? Thanks in advance Link to comment
Solution paul2009 Posted April 3 Solution Share Posted April 3 (edited) On 3/30/2023 at 9:24 PM, AlbaTroels said: I have had the following custom code injection to automatically change prices that are 0 to "Price on request". For some reason this has now stopped working. I'm not sure exactly when. The code you are using is a very old version of my code from my guide, How to make some prices POA on Squarespace 7.1. If you take a look at the guide, you'll see that I updated it last year when Squarespace made changes to the page markup. The most recent version should work correctly 🙂 Did this help? Please give feedback by clicking an icon below ⬇️ Edited April 4 by paul2009 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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