cinolas Posted September 11, 2020 Share Posted September 11, 2020 I also posted this question on Stackoverflow since it's probably not osCommerce specific (but I could very well be wrong): https://stackoverflow.com/questions/63853909/how-do-i-debug-this-bit-of-php-and-sql-that-queries-for-an-array-lists-it-and-p Quote Link to comment Share on other sites More sharing options...
cinolas Posted September 13, 2020 Share Posted September 13, 2020 Well. Again. Replacing the WHILE with a FOREACH actually did solve the problem. (I still don't understand why though) I swear I tried it like 3 times, since I remembered that had fixed my problem before I guess I had not done so properly. My apologies for all the posts. Problem solved. Moving on. Thanks! Quote Link to comment Share on other sites More sharing options...
alix32 Posted November 17, 2020 Share Posted November 17, 2020 (edited) Hi @raiwa - I tested QTpro Phoenix 7.2.0 on my Phoenix store Version 1.7.6.0 and found that when you add your quantities by attributes on the product page, the summary stock resets back to 0 upon clicking the save button. QTPro Doctor detects the quantity discrepancies between summary stock and options stock, so I go back to the product page > Attributes Stock tab and then click on the "Set the summary stock to: x" the total quantity updates OK, but again when clicking on the save button, the summary stock defaults back to 0. Did you test this version of QTpro on Phoenix Version 1.7.6.0 and did you see this happen too? Thanks! Edited November 17, 2020 by alix32 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 19, 2020 Author Share Posted November 19, 2020 Hi Alix @alix32, I just checked on my Phoenix 1.0.7.4 develop store and can confirm this behaviour. I'm not sure, but I believe this was always like this. Anyway you can easy adjust the total quantity using the button: Automatic Solutions Avaliable: Set the summary stock to:XX ANd even you won't correct the total quantity, it has no effect on the correct stock showing and stock check working on the public store side. Maybe I'll address this in the next update which is planned for the Phoenix 1.0.8.0 release. regards Rainer alix32 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted November 21, 2020 Share Posted November 21, 2020 (edited) Hi Rainer, I'm on OSCOM CE Phoenix v1.0.7.10 and getting the the follwing error if editing a product that has no attributes, if I try to save. Notice: Undefined index: stockquantity in /includes/hooks/admin/categories/catQtPro.php on line 32 I disabled all other category hooks and don't know what I may be missing. Best regards Christoph Edited November 21, 2020 by beerbee Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted November 21, 2020 Author Share Posted November 21, 2020 (edited) Hi Christoph, I do not get this error in my Phoenix 1.0.7.4 develop store which is the version for which QTPro 7.2.0 is tested. However a notice error shouldn't prevent it to work, but you could try this in the mentioned line: $stockquantity = $_POST['stockquantity'] ?? ''; The next update is planned for the Phoenix 1.0.8.0 release which will address it. Edited November 21, 2020 by raiwa Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted November 21, 2020 Share Posted November 21, 2020 Ok, thanks. Quote Link to comment Share on other sites More sharing options...
artfulweb Posted December 4, 2020 Share Posted December 4, 2020 Hi Rainer, Having installed your latest version (QTpro Phoenix 7.2.0) on Phoenix 1.0.7.11 I do have this : PHP Notice: Undefined index: products_options_track_stock in /xx/xx/xx/xx/includes/hooks/admin/products_attributes/paQtPro.php on line 65 And the admin /products_attributes.php table it is thrown off by the track stock column as seen in the image below. Any ideas ? Thank you. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted December 4, 2020 Author Share Posted December 4, 2020 Please await the update which will come for the Phoenix 1.0.8.0 release. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
artfulweb Posted December 4, 2020 Share Posted December 4, 2020 2 minutes ago, raiwa said: Please await the update which will come for the Phoenix 1.0.8.0 release. Thank you Rainer. Was just hoping it was something simple! I will gladly wait. Quote Link to comment Share on other sites More sharing options...
beerbee Posted December 12, 2020 Share Posted December 12, 2020 Hi Rainer, regarding the sort order of options and values. I was stumbling over this as I was looking into pad_base.php In phoenix (v1.0.7.10) /admin/attributes.php expects the field sort_order in table products_options and products_options_values, so this seems to be the core ordering option. In cm_pi_qtpro_options.php the install process seems to look for another field: // Check if option/attributes sort order is used and add configuration entry if (tep_db_num_rows(tep_db_query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='". DB_DATABASE . "' AND TABLE_NAME='products_options' AND COLUMN_NAME LIKE 'products_options_sort_order'")) == 1 ) { So this option won'be available on vanilla phoenix if I understand correctly. There seems to be no option for sorting the values by the column sort_order in products_options_values. Or do I miss something? Best regards Christoph Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted December 12, 2020 Author Share Posted December 12, 2020 On 12/4/2020 at 1:10 PM, raiwa said: Please await the update which will come for the Phoenix 1.0.8.0 release. Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted December 12, 2020 Share Posted December 12, 2020 Ok, thanks. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted February 18, 2021 Author Share Posted February 18, 2021 Update uploaded: QTpro Phoenix 7.3.0 Compatibility: OSCOM CE Phoenix 1.0.7.15+ Tested with Phoenix 1.0.1.15/16 PHP: 7.0 - 7.4 Core changes: NONE Changes versus QTpro 7.2.0 - updated for Phoenix 1.0.7.15+ - fixed glitches in admin categories hook - moved shop hooks and template files into custom template - replaced order class extension by order process sitewide hooks - merged order process hook into order process sitewide hook - replaced alternative hopping cart content module by override template - added support for PayPal Standard IPN attributes stock deduction - modernized code to match actual core standards - added back option images support Full Package Update In structions included beerbee 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
beerbee Posted February 18, 2021 Share Posted February 18, 2021 Hi, don't know if it is only me, but if i only have products without attributes in my cart I got two define errors on checkout. changed both lines in 127 and 213 this way: $products_attributes = $order->products[$i]['attributes'] ?? ''; in templates/override/includes/hooks/shop/siteWide/qtPro.php Best regards Christoph raiwa 1 Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted February 21, 2021 Author Share Posted February 21, 2021 Update uploaded: QTpro Phoenix 7.3.1 Version: 7.3.1.: Compatibility: OSCOM CE Phoenix 1.0.7.15+ Tested with Phoenix 1.0.1.15/16 PHP: 7.0 - 7.4 Core changes: NONE Changes versus QTpro 7.3.0 - fixed non working attribute stock update to zero in Admin : Categories/Products : Attributes Stock Tab.Thanks to @Owl Sauron - fixed attrributes Price with Tax. Thanks to @Owl Sauron - fixed undefined errors in checkout for products without attributes. Thanks to @beerbee Changes versus QTpro 7.2.0 - updated for Phoenix 1.0.7.15+ - fixed glitches in admin categories hook - moved shop hooks and template files into custom template - replaced order class extension by order process sitewide hooks - merged order process hook into order process sitewide hook - replaced alternative hopping cart content module by override template - added support for PayPal Standard IPN attributes stock deduction - modernized code to match actual core standards - added back option images support beerbee and altoid 1 1 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
discxpress Posted June 7, 2021 Share Posted June 7, 2021 @raiwa I have Phoenix 1.0.7.6, there were issues that won't allow more than one to be added to cart when using the quantity input on product_info page. Has that been fixed with the latest version? Thank you. Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted June 7, 2021 Author Share Posted June 7, 2021 Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.