QTpro

Checkout issues for products with attributes - QTpro

Checkout issues for products with attributes

by lecarlb » Thu Sep 28, 2023 9:15 am

Hello Raiwa,

I have the latest version of QTPro installed on Phoenix version 1.0.8.20 and I can add to cart but when I get to checkout_shipping and click the continue button I'm returned to shopping cart page. Everything is fine for products without attributes.

I have shipping estimator and order estimator. I also have purchase without account installed.

What should I check?
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: Checkout issues for products with attributes

by raiwa » Thu Sep 28, 2023 10:11 am

Check that your attributes combination has stock.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Checkout issues for products with attributes

by lecarlb » Thu Sep 28, 2023 2:38 pm

Thank you for your reply.

Yes. All attributes have stock.

Also, I noticed that when I remove the stock table and OTPro Options, product pages for products with attributes go blank.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: Checkout issues for products with attributes

by raiwa » Thu Sep 28, 2023 4:10 pm

I checked in my test store and all works like expected.
Please check that in the "products_options" table the "products_options_track_stock" setting is correct set for all languages.
If you added a language after having installed qtpro modules and configured it, there may some entries be missing.
You can correct it if needed, directly in the database or switching on and off the setting in admin.

If this doesn't help, check your installation.

For the blank product info page:
The product info qtpro module is required to be installed. See instructions Point 2.
Otherwise you need to remove all files, specifically the qtpro classes in:
includes\system\override\qtpro\
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Checkout issues for products with attributes

by lecarlb » Thu Sep 28, 2023 5:01 pm

I removed QTPro and Attribute Manager now my site isn't showing I get 500 errors. So what tables and entries need to be removed from the database?
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: Checkout issues for products with attributes

by raiwa » Thu Sep 28, 2023 5:06 pm

If you uninstalled the qtpro modules you should not need to remove anything from the database. Check your error log for concrete errors.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Checkout issues for products with attributes

by lecarlb » Thu Sep 28, 2023 5:35 pm

I checked the database and it's showing things from QTPro.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: Checkout issues for products with attributes

by raiwa » Thu Sep 28, 2023 5:48 pm

lecarlb wrote:I checked the database and it's showing things from QTPro.
which should not produce errors. Please check your error log and post concrete errors.

If you want to remove the database entries, use the "Uninstall Removes Database entries" option when uninstalling the QtPro module.
Otherwise you could restore the database backup you hopefully made before you installed QtPro.

Make sure to remove ALL QtPro files from your shop. The QtPro doc includes a list of all files.

Another advise:
Remove addons one by one and check to know which exact produces problems.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Checkout issues for products with attributes

by lecarlb » Thu Sep 28, 2023 5:58 pm

raiwa wrote:
lecarlb wrote:I checked the database and it's showing things from QTPro.
which should not produce errors. Please check your error log and post concrete errors.

If you want to remove the database entries, use the "Uninstall Removes Database entries" option when uninstalling the QtPro module.
Otherwise you could recover your database backup you hopefully made before you installed QtPro.

Another advise:
Remove addons one by one and check to know which exact produces problems.
I have another site with similar setup same Phoenix version. I don't understand what I did wrong. The site was working before installing QTPro. here's the errors as requested

Code: Select all

[Thu Sep 28 17:47:48.352845 2023] [proxy_fcgi:error] [pid 1408741:tid 140203670877760] [client 51.222.253.12:0] AH01071: Got error 'nction has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 123PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_image function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/image.php on line 24PHP message: PHP Deprecated:  The phoenix_normalize function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 26PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_get_tax_rate function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 123PHP message: PHP Deprecated:  The tep_get_all_get_params function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 62PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_draw_button function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 181PHP message: PHP Deprecated:  The tep_has_product_attributes function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 238PHP message: PHP Deprecated:  The tep_get_all_get_params function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 62PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_draw_button function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 181PHP message: PHP Deprecated:  The phoenix_normalize function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 26PHP message: PHP Deprecated:  The tep_db_fetch_array function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/database.php on line 45PHP message: PHP Deprecated:  The tep_get_tax_rate function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 123PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_image function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/image.php on line 24PHP message: PHP Deprecated:  The phoenix_normalize function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 26PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_get_tax_rate function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 123PHP message: PHP Deprecated:  The tep_get_all_get_params function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 62PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_draw_button function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 181PHP message: PHP Deprecated:  The tep_has_product_attributes function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 238PHP message: PHP Deprecated:  The tep_get_all_get_params function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/general.php on line 62PHP message: PHP Deprecated:  The tep_href_link function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/href_link.php on line 14PHP message: PHP Deprecated:  The tep_draw_button function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 181PHP message: PHP Deprecated:  The phoenix_normalize function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/html_output.php on line 26PHP message: PHP Deprecated:  The tep_db_fetch_array function has been deprecated. in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/functions/database.php on line 45'
[Thu Sep 28 17:49:54.277484 2023] [proxy_fcgi:error] [pid 1408735:tid 140204820121152] [client 216.244.66.240:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Class "pi_qtpro_options" not found in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/modules/content/product_info/cm_pi_modular.php:38\nStack trace:\n#0 [internal function]: cm_pi_modular->{closure}()\n#1 /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/modules/content/product_info/cm_pi_modular.php(39): array_map()\n#2 /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/system/versioned/1.0.8.4/template.php(106): cm_pi_modular->execute()\n#3 /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/templates/default/includes/pages/product_info.php(26): Template->get_content()\n#4 /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/product_info.php(25): require('...')\n#5 {main}\n  thrown in /var/www/vhosts/XXXXXXXXXXX.com/httpdocs/includes/modules/content/product_info/cm_pi_modular.php on line 38'
Thank you.
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Contact:

Re: Checkout issues for products with attributes

by raiwa » Thu Sep 28, 2023 6:08 pm

The first error Line ist unrelated to qt pro. The second shows because you didn't uninstall the module before removing files and/or you didn’t remove all files.
Please read again my previous post. I edited it.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact: