Hello,
if field oxvat in the oxarticles table is empty,
where can I found VAT value entered in admin, if I set it to some value?
Hello,
if field oxvat in the oxarticles table is empty,
where can I found VAT value entered in admin, if I set it to some value?
there is class oxVatSelector for getting vat based on configured product vat, category vat, user specific vat or default vat
But this class does not have function / method for getting default vat that is set in:
Master Setting -> Core Setting -> Settings -> VAT
There is only these functions:
getUserVat(),
_getForeignCountryUserVat(),
_getVatForArticleCategory(),
getArticleVat(),
getBasketItemVat(),
getArticleUserVat(),
_getVatCountry()
there is no particular function for that,
you can simply use $oConfig->getConfigParam('dDefaultVAT')
in your functions to get the default value
It’s working !
Thanks a lot for your help.