Created
November 20, 2018 12:52
-
-
Save trueqap/c8ee93a038f02653c27ee6414e4c1216 to your computer and use it in GitHub Desktop.
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
add_filter('wc_szamlazz_xml', 'wc_szamlazz_megjegyzes', 10, 2); | |
function wc_szamlazz_megjegyzes($szamla, $order) { | |
if($order->get_shipping_methods()) { | |
$szamla->fejlec->megjegyzes .= 'A számla közvetített szolgáltatást tartalmaz'; | |
} | |
return $szamla; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment