Skip to main content
All CollectionsActive merchantIntegration
Custom Integration Widget Installment
Custom Integration Widget Installment

Widget Installment Amount Incorrect - Scalapay Widget Installment Calculation Error

Updated over 2 months ago

If you don't see the widget installment calculation correctly, it may be an issue with the amount-selectors field. You need to identify the correct price selector that points to the final product price, on which the installments should be calculated. The steps to find the correct price selector are:

  1. Open your product page and click on Inspect

  2. Go to select element and select the final product price, the one on which the installments should be calculated.

  3. Once you've identified the final price element to which we want to redirect the installment calculation of our widget, look for the corresponding span or div. In the example image, it would be .woocommerce-Price-amount_amount

    Example of amount-selectors:
    div.summary.entry-summary > div > form > table > tbody > tr:nth-child(2) > td.value > div > div > div > div.woocommerce-variation-price > span > span > bdi

  4. Once you've identified the price selector, you can assign it as the value for the amount-selectors field. Once the correct price selector is entered, the installment calculation will work correctly

Did this answer your question?