Skip to content

Instantly share code, notes, and snippets.

@mrkkr
Last active February 19, 2018 15:10
Show Gist options
  • Save mrkkr/5413cdd0cddd8fd324b061f700c5a34a to your computer and use it in GitHub Desktop.
Save mrkkr/5413cdd0cddd8fd324b061f700c5a34a to your computer and use it in GitHub Desktop.
Woocomerce - cena z podatkiem + waluta #php
<?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