[CLOSED]2 Price Outputs

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [CLOSED]2 Price Outputs

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7485
    Michael
    Participant

    Hello.

    I already use the php filter [i](add_filter(‘woo_price_calculator_calculate_price’ … )[/i] to do calculation on the price.

    If I make the code calculate a second, discounted price; can I output that with the none-discounted price and display both on the product calculation page?

    Thanks in advance.

    #7486
    Naidi
    Participant

    Hi,

    is not a good thing to do tha same calculation on the server side different time because it will impact the performance of the page. Luckily WooPriceCalculator has another way to achieve that without loosing performance.
    You can use output fields to display in your case the non-discounted price. The steps to do that:

    1)Create an excel file with the logic you want to implement
    2)Create a calculator starting form excel file
    3) Do the right mapping to insert this time the output field

    For more information check our documentation site , you can check our videos too.

    Best regards,
    Naidi
    AT236

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.