kwr2022 Posted October 17, 2022 Share Posted October 17, 2022 Site URL: https://www.clearexteriors.com/shop/p/gutter-guard-5 Hello, I'd like to use the slider calculator on my product page to update the Product Quantity automatically when the calculator is used. In the image below, the Quantity would automatically update to '41' Is this possible? Link to comment
Ziggy Posted October 17, 2022 Share Posted October 17, 2022 This is very likely not possible, the quantity field won't be able to read the result of the calculator after loading. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
creedon Posted October 17, 2022 Share Posted October 17, 2022 It may be possible. slide quantity.mp4 This is not a solution and I don't know for sure if I can get all the way there. The code is not bi-directional. In other words changing the quantity does not update the slider. I need more info on how you intend to use this potential code. Is there only going to be one product with the slider? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
kwr2022 Posted November 4, 2022 Author Share Posted November 4, 2022 On 10/17/2022 at 7:54 PM, creedon said: Is there only going to be one product with the slider? Thank you for the responses - Sorry I missed them until now! To answer @creedon, I would like to have the slider on two different products. I actually have a solution working right now with JSON but only on Desktops and Tablets - it does not work on mobile. Calconic offered these two options as solutions: Basically, the desktop/tablet website breakpoint and the mobile website breakpoint use separate quantity input fields by the same name. Value output apparently prioritizes the desktop/tablet website breakpoint quantity field. You would need to either a) use multi-output JSON and output the same value to both quantity fields, but both fields should have different names. b) use the same quantity field for both website breakpoints. Is there a way to 'override' the Quantity input name reference with unique names that can be referenced by the JSON? Thanks for all the input Link to comment
alex320 Posted November 30, 2023 Share Posted November 30, 2023 On 10/17/2022 at 7:54 PM, creedon said: It may be possible. slide quantity.mp4 97.75 kB · 24 downloads This is not a solution and I don't know for sure if I can get all the way there. The code is not bi-directional. In other words changing the quantity does not update the slider. I need more info on how you intend to use this potential code. Is there only going to be one product with the slider? Hi there, Can I get the code to make this posible? no matter if is linear as u mention. Link to comment
creedon Posted November 30, 2023 Share Posted November 30, 2023 3 hours ago, alex320 said: Can I get the code to make this posible? No. No solution was ever created so no code exists. The video I provided was based on some minimal test code. I can't find the test code as the original SS site I tested on is no longer an SS site, which might clue me into how I went about it. For us to provide a potential solution now, please post the URL for a page on your site where we can see your issue. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. We can then take a look at your issue. You may find How to post a forum question post useful. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
alex320 Posted November 30, 2023 Share Posted November 30, 2023 25 minutes ago, creedon said: No. No solution was ever created so no code exists. The video I provided was based on some minimal test code. I can't find the test code as the original SS site I tested on is no longer an SS site, which might clue me into how I went about it. For us to provide a potential solution now, please post the URL for a page on your site where we can see your issue. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. We can then take a look at your issue. You may find How to post a forum question post useful. There it is the thing, https://www.novaswood.com/store/p/brazil-thin-6j7h7-w8l7m Pass: Novas2023woodweb As you've seen in the calculator, it determines the panels quantity needed for my project. I'd like the result of ('Quantity required (+ Wastage %) NUMBER') to be automatically displayed in the Quantity box up there, just like in your video. Thanks!! 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