QTpro
Prevent text from beeing displayed in dropdown - QTpro
Prevent text from beeing displayed in dropdown
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
Hi,
In the hook:
templates\override\includes\hooks\shop\siteWide\priceTax.php line 111
change:
to:
This is for the latest DisplayTaxInfo Version: 5.2
I'll apply this fix in the next update.
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)) {
Code: Select all
if (in_array($caller_class, ['pi_options_attributes', 'cm_pi_options_attributes', 'pad_base'], true)) {
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
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
- : Buy Me A Beverage
- Contact:
