I have recently made a custom feature using html, css and javascript. The feature is bassicly a canvas that you can change the size of with two sliders. I am saving the dimensions and calculating a price in the js. I have managed to have a button that saves the dimensions for the canvas and adds it as ‘notes’ to the order. However is there a way to use my calculated price form js to change the price at checkout?
I have tried using some apps but they have not worked with my custom feature. Is there any good solution to this?
Hi @Williamtidana ,
Yes, you can use two methods for the same.
- Create range bound price variants which will store the cost of specific range of dimension, search for matched variant and you have your price.
- Assuming the price is same keep the lowest dimension value and increase the quantity as per dimension and you will have your amount.
Second logic we have use to create product Donate any amount.
Request you to refer the video below for reference.
Hope this will helps, let me know if we can help you in implementing the same.
Hi @Williamtidana 
It seems like you’re having some trouble customizing your product using HTML, CSS, and JavaScript. If you’d like a simple solution, try our app Easify Product Options!
First, it allows you to add dimension fields directly on your product page so customers can easily enter their own measurements - no coding needed.
- Second, it supports flexible pricing based on customer selections, making it easy to create a smooth and dynamic shopping experience.
This app is super easy to use and works perfectly for customizable products. If you need any help, feel free to reach out to the Easify team — we’re always happy to assist! 