Hi YITH,
thank you for your reply. You can check the issue at http://pepeandnika.com/produkte
Thanks again,
cheers
Thomas
Hi,
thank you for replying. Turned out that indeed there was a major problem with getting terms.
get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => '0' ) );
returned a WP_Error object, while
get_terms( array( 'taxonomy' => $taxonomy ) );
did return all terms for the specific taxonomy.
We updated WordPress to the latest version, now get_terms works like it supposed to.
This does not answer the question. Still:
14.29 * 1.19 = 17.0051
=> *2 = 34.01
But the price should be 34.00, because it should be rounded for each item.
Agree, my mistake.
So it should round each products price incl. VAT and then add up the values.