♥raiwa 1,472 Posted February 21, 2020 Related Products Phoenix 7.2r1 tested and working error free with Phoenix 1.0.5.1 3 valquiria23, mhsuffolk and domiosc reacted to this 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 Share this post Link to post Share on other sites
valquiria23 240 Posted February 21, 2020 Thank you very much Rainer for your contributions to the community !!! Community Oscommerce fan You'll find the latest osC community version here. Share this post Link to post Share on other sites
♥raiwa 1,472 Posted July 3, 2020 Uploaded Version Phoenix 7.3 for Phoenix 1.0.5.4+: Related Products Phoenix 7.3 - Updated for CE Phoenix 1.0.5.4+ - Updated content modules to abstract executable modules - bootstrapped admin page 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 Share this post Link to post Share on other sites
rupruprup 41 Posted July 12, 2020 cm_pi_related_products.php cannot find the language file -------------------------------------------------------------------------------------- if Use Random Display Order is set 'false" I get this 1054 - Unknown column 'pop_order_id' in 'order clause' SELECT .................... 3'order by pop_order_id, pop_id limit 8 Share this post Link to post Share on other sites
♥raiwa 1,472 Posted July 12, 2020 31 minutes ago, rupruprup said: cm_pi_related_products.php cannot find the language file I don't see anything wrong. It works for me and the 3 language files are included. Check if it is inplace for your language. 33 minutes ago, rupruprup said: if Use Random Display Order is set 'false" I get this 1054 - Unknown column 'pop_order_id' in 'order clause' SELECT .................... 3'order by pop_order_id, pop_id limit 8 I can't reproduce this error. But you can try the following, line 42 change to: $orderBy .= (MODULE_CONTENT_PI_RELATED_PRODUCTS_RANDOMIZE == 'True')?'rand()':'prp.pop_order_id, prp.pop_id'; Anyway, the Phonix version info is wrong, it should say 1.0.7.4, but it breaks in 1.0.7.5. I'll update ASAP 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 Share this post Link to post Share on other sites
rupruprup 41 Posted July 12, 2020 4 minutes ago, raiwa said: I don't see anything wrong. It works for me and the 3 language files are included. Check if it is inplace for your language. it was in place and I can't find anything wrong too, but the module did not find the 'defines' I moved back to the old version, this works well with 1075 . The next tests have to wait a few days now ... Share this post Link to post Share on other sites
♥raiwa 1,472 Posted July 12, 2020 (edited) It's not the same "cannot find the language files" and "did not find the definitions". Which definitions? Please be precise and post the error messages. EDIT: I believe you got the errors for these missing constants: IS_PRODUCT_PRODUCTS_DISPLAY_ROW_SM IS_PRODUCT_PRODUCTS_DISPLAY_ROW_MD IS_PRODUCT_PRODUCTS_DISPLAY_ROW_LG IS_PRODUCT_PRODUCTS_DISPLAY_ROW_XL This happens in Phoenix 1.0.7.5 and is what I meant when I said it breaks. They are not language definitions. Edited July 12, 2020 by raiwa 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 Share this post Link to post Share on other sites
rupruprup 41 Posted July 12, 2020 I really meant language 'defines' , and I know what breaks in 1075, otherwise I could not run the older version on 1075 MODULE_CONTENT_PI_RELATED_PRODUCTS_TITLE MODULE_CONTENT_PI_RELATED_PRODUCTS_DESCRIPTION were not found, although the file was in place Share this post Link to post Share on other sites
rupruprup 41 Posted July 12, 2020 1 hour ago, rupruprup said: if Use Random Display Order is set 'false" I get this 1054 - Unknown column 'pop_order_id' in 'order clause' SELECT .................... 3'order by pop_order_id, pop_id limit 8 the happens when the product has no defined related products only Share this post Link to post Share on other sites
♥raiwa 1,472 Posted July 12, 2020 39 minutes ago, rupruprup said: I really meant language 'defines' , and I know what breaks in 1075, otherwise I could not run the older version on 1075 MODULE_CONTENT_PI_RELATED_PRODUCTS_TITLE MODULE_CONTENT_PI_RELATED_PRODUCTS_DESCRIPTION were not found, although the file was in place Do you mean in admin? MODULE_CONTENT_PI_RELATED_PRODUCTS_DESCRIPTION is only used in admin. NO idea then. In my store it works. 52 minutes ago, rupruprup said: the happens when the product has no defined related products only Doesn't show any error in my test store even without prelated products. 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 Share this post Link to post Share on other sites
rupruprup 41 Posted July 12, 2020 I will try it again in a few days ... Share this post Link to post Share on other sites
♥raiwa 1,472 Posted July 19, 2020 Updated: Related Products Phoenix 7.3.1 - Updated for CE Phoenix 1.0.7.5+ - fixed admin/related_products.php delete not working if confirmation switched on. - Updated tpl files 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 Share this post Link to post Share on other sites
artfulweb 26 Posted September 27, 2020 Hi Rainer, Thanks for the update. Just installed the above on Phoenix 1.0.7.9 and get the following error : PHP Fatal error: Uncaught Error: Call to a member function get_product_id_list() on null in /xx/xx/xx/xx/includes/modules/content/shopping_cart/cm_sc_related_products.php:130 Stack trace: #0 /xx/xx/xx/xx/includes/modules/content/shopping_cart/cm_sc_related_products.php(40): cm_sc_related_products->products_in_cart() #1 /xx/xx/xx/xx/includes/system/versioned/1.0.7.6/osc_template.php(106): cm_sc_related_products->execute() #2 /xx/xx/xx/xx/templates/default/includes/pages/shopping_cart.php(13): oscTemplate->getContent('shopping_cart') #3 /xx/xx/xx/xx/shopping_cart.php(17): require('/homepages/11/d...') #4 {main} thrown in /xx/xx/xx/xx/includes/modules/content/shopping_cart/cm_sc_related_products.php on line 130 line 130 is: // Get a list of the products in the cart from the cart class $ids_in_cart = $cart->get_product_id_list(); Share this post Link to post Share on other sites
♥raiwa 1,472 Posted September 27, 2020 (edited) Thanks. Added to my update list. Is this only showing in an empty cart? Edited September 27, 2020 by raiwa 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 Share this post Link to post Share on other sites
artfulweb 26 Posted September 27, 2020 1 hour ago, raiwa said: Thanks. Added to my update list. Is this only showing in an empty cart? No, had it show up going to checkout too Share this post Link to post Share on other sites
♥raiwa 1,472 Posted September 27, 2020 @artfulweb, I updated my develop store to 1.0.7.9 and do not see this error. I tried all combinations. It might be something with your store. Check your update. 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 Share this post Link to post Share on other sites