Title: Dynamically calculate cost based on php variable
Last modified: October 21, 2021

---

# Dynamically calculate cost based on php variable

 *  Resolved [RED_Android](https://wordpress.org/support/users/red_android/)
 * (@red_android)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/dynamically-calculate-cost-based-on-php-variable/)
 * Hi there,
 * I am adding a cost calculator to my woocommecre product pages. Is there anyway
   to calculate a payment plan based on the product price?
 * Is it possible to insert a php variable for the regular price and have the calculator
   use that to calculate the monthly installments based on the selected payment 
   term?
 * I do not want to affect the actual product price or integrate with the purchasing
   at all, I just want to give customers an indication of the monthly installments
   for their selected payment term
    -  This topic was modified 4 years, 7 months ago by [RED_Android](https://wordpress.org/support/users/red_android/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamically-calculate-cost-based-on-php-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [dianastylemixthemes](https://wordpress.org/support/users/dianastylemixthemes/)
 * (@dianastylemixthemes)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/dynamically-calculate-cost-based-on-php-variable/#post-15003411)
 * Hi [@red_android](https://wordpress.org/support/users/red_android/) ,
 * Please be informed that the required feature currently is not supported by the
   plugin.
    If you really need this feature, it will be a customization of the plugins
   itself, and also it should be an integration with the plugin which supports monthly
   installments.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Dynamically calculate cost based on php variable’ is closed to new replies.

 * ![](https://ps.w.org/cost-calculator-builder/assets/icon-256x256.png?rev=3525305)
 * [Cost Calculator Builder](https://wordpress.org/plugins/cost-calculator-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cost-calculator-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cost-calculator-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/cost-calculator-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cost-calculator-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cost-calculator-builder/reviews/)

## Tags

 * [product price](https://wordpress.org/support/topic-tag/product-price/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [dianastylemixthemes](https://wordpress.org/support/users/dianastylemixthemes/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/dynamically-calculate-cost-based-on-php-variable/#post-15003411)
 * Status: resolved