Last active
February 19, 2018 15:10
-
-
Save mrkkr/5413cdd0cddd8fd324b061f700c5a34a to your computer and use it in GitHub Desktop.
Woocomerce - cena z podatkiem + waluta #php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo wc_price($product->get_price_including_tax()); ?> | |
/// function above is decrapated, used this: | |
<?php | |
$global; | |
$price = $product->get_regular_price(); | |
$suffix = get_woocommerce_currency_symbol(); | |
echo wc_get_price_including_tax( $product, array('price' => $price) ) . $suffix; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment