Jump to content

Dwd

New Members
  • Posts

    1
  • Joined

  • Last visited

Dwd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I need support how to correctly put this php code to functions.php file on woocommerce platform, with this php, the loan amount should be displayed on the product page along with the product price, with the amount automatically being called from the wp database. if anyone can help how to connect amount to wp base i would appreciate it, thanks, Dwd Php code: <?php if ($product['price_gross'] > 8000) { $cramount = 0.01658 * -$product['price_gross'] * ((1 + 0.01658)**23) / (1 - ((1 + 0.01658)**23)); } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.