Skip to main content

Allow custom frontend javascript to calculate options

We run a sticker website and would like to show the user a set of prices for varying quantities based on the other options (size, paper type, etc) already selected. We are willing to write custom themeing and frontend code to do this, but the Options Calculator doesn’t have a supported way to provide an arbitrary set of option values and run the calculation on them directly.
We are requesting an officially documented way to execute the configured formula for the current product with an arbitrary set of option values so we could call the calculation with different quantity values than currently selected to create a UI element that looks like the following:

Log in to comment and vote

No comments yet

Be the first to share your thoughts.