Forum

Thread tagged as: Question, Shop

Show price with Tax

Is there a template tag to show prices Tax inclusive even if in admin entered as Tax exclusive? Or is there a way to calculate numbers in templates?

I need to use this within perch_shop_products(), perch_shop_product() and perch_shop_cart();

Thanks!

Jiri Zavadil

Jiri Zavadil 0 points

  • 5 years ago

Hi Jiri,

There definitely is but I can't think what the exact ID is and am out of the office. If you add:

<perch:showall />

to your template, it will list all the available information at the bottom of the template. From there you should be able to get the ID you need.

Hope this helps!

Hello Mike,

it's not there :/ just the base price entered in admin and tax_group

Hi, Did you solve this? I have the same problem.

Unfortunately not, I've switched the whole system to be tax inclusive

OK thanks. I am trying to avoid doing that. At the moment I'm using Javascript to display the inclusive price which is the best I can come up with so far.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, inclusive and exclusive prices should be there.

I can access it on a from the cart functions but I'm trying to use it on my product detail page with perch_shop_product() I don't think it's available from there?