Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

final_price is written without decimal in orders_products


toolshop

Recommended Posts

Posted

Hi,

Iin classes/order.php i get this wrong update of the table orders_products field final_prices:

 

<?php

'final_price' => $products[$i]['price'] + $cart->attributes_price($products[$i]['id']),

?>

table order-products field final_price is filled without decimals

When you deactivate;

+ $cart->attributes_price($products[$i]['id' table is filled with decimal

 

Anyone a suggestion how to resolve this?

 

After 5 hours i can not find it.

Ronald

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...