Woocommerce Tax Prices in Looper?

Is it possible to show prices inclusive (or exclusive depending on Woocommerce settings) of tax together with ex. tax prices within a looper? I know this is easy enough to do with the regular template files, but what about with the dynamic content of a looper? Is there a value parameter I should add?

I’ve created another function and pulled in the data through the custom looper, but not sure if this is the ‘correct’ way of doing it? Please let me know if there is already functionaliy for this…

Hi @sguilliard,

There is no such Dynamic Content for the Tax, but you can add some custom Dynamic Content directives that you can use to get the Tax for the specific Products.
I would suggest you go through the following thread explaining how you can add your own Dynamic Content directives.

Hope it helps.
Thanks

It’s ok, I already got it working by writing a function that I’m calling from a custom looper, but I just wanted to check that there wasn’t already something else that I should have been using. It’s all good! :slight_smile:

Hi @sguilliard,

The Custom Looper is also a very good alternative solution to this.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.