Go to the new card page of the selected product in the IdoSell panel and on the tab Prices set, so that the Price calculation mode shows the option Formulas calculating the price. You will then be able to edit and enter the prepared formula code.
After completing it, you will also be able to check whether your formula is working properly and that its execution time does not exceed the allowed standards. All you need to do is to use the Editable Check the entered formula button. As a result, the system will show you a preview of the form of the available attributes you specified in the formula, where after selecting the values appropriate for them, the system will calculate the final price of the product and check whether the calculation time does not exceed the acceptable standard for 2 seconds.
In order to protect you from dishonest customers who would like to modify the price calculated for them before placing their order, we have introduced a security feature consisting in the fact that the code of the prepared formula is not executed on the browser side but directly on the shop's server.
In addition, in order to ensure smooth operation of the shop, two restrictions have been introduced: