1

I have 100 products and all products have different tax rule and i also do settings from backend to display tax inclusive price display in catalog product list now when i do the price filter its doing filter on normal price and shows the product above the price filter so how can i add tax value in my price filter for better understanding i attach the image. enter image description here

8
  • you checked this link --- magento.stackexchange.com/questions/278551/… May 18, 2020 at 18:38
  • @MohitPatel I add the my Tax class in the price filer phtml file but i dont get any reflection in frontend. May 19, 2020 at 9:14
  • Please answer this question May 22, 2020 at 11:38
  • You should locate the class that shows the filter.And you add the tax rule class that you have created. May 23, 2020 at 9:47
  • I add my tax rule class in the filter.phtml file but not result May 23, 2020 at 14:41

1 Answer 1

0

Please look into the below files if customizing them will help in your case!

  1. Filter Processor used for applying filtering by Price
/Magento2.3.4/vendor/magento/module-catalog-search/Model/Adapter/Mysql/Filter/Preprocessor.php   
  1. Dynamic Pirce Layered Navigation data provider
/Magento2.3.4/vendor/magento/module-catalog-search/Model/Adapter/Mysql/Dynamic/DataProvider.php

I hope this helps!

1
  • Can you please help me to changes in code May 24, 2020 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.