QTpro

Prevent text from beeing displayed in dropdown - QTpro

Prevent text from beeing displayed in dropdown

by Vaddalapam » Sun Sep 27, 2026 8:48 am

Hello, if both "qtpro" and "prices with tax info" are installed, is it possible to prevent the text from appearing in the drop-down menu—so that only the price is displayed? Does anyone have any ideas?
Vaddalapam
Member
Posts: 78
Joined: Sat Feb 03, 2024 6:34 pm
Phoenix Version: v1.1.0.8
Contact:

Re: Prevent text from beeing displayed in dropdown

by raiwa » Tue Sep 29, 2026 6:59 am

Hi,

In the hook:
templates\override\includes\hooks\shop\siteWide\priceTax.php line 111
change:

Code: Select all

          if (in_array($caller_class, ['pi_options_attributes', 'cm_pi_options_attributes'], true)) {
to:

Code: Select all

          if (in_array($caller_class, ['pi_options_attributes', 'cm_pi_options_attributes', 'pad_base'], true)) {
This is for the latest DisplayTaxInfo Version: 5.2
I'll apply this fix in the next update.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
raiwa
Certified Developer
Posts: 1665
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact: