Guy Posted August 13, 2018 Share Posted August 13, 2018 Hi, I have a problem with selecting combinations in font end in version 1.7.4.x. For example, I have a product AAA, it has two combinations. One is color white, quantity 100. The other is color black, quantity 200. Default combination is white 100. In the versions before 1.7.3.x, when the product page opened, default white 100 showed up. If I select black, it automatically changed the quantity to 200. However, since 1.7.4.x, when I select black, it doesn't go to quantity 200, but shows a red error message that says An error occurred while processing your request. which means there is no way to select the other combination. The error message doesn't disappear even selecting back the default or other combinations. It's very confusing. How can I correct this problem? Anybody can help? Thanks in advance! Link to comment Share on other sites More sharing options...
presta-rocks Posted August 13, 2018 Share Posted August 13, 2018 https://github.com/PrestaShop/PrestaShop/pull/9390 Link to comment Share on other sites More sharing options...
Guy Posted August 14, 2018 Author Share Posted August 14, 2018 16 hours ago, presta-rocks said: https://github.com/PrestaShop/PrestaShop/pull/9390 Found the fix. Thank you! Link to comment Share on other sites More sharing options...
abhala Posted September 26, 2018 Share Posted September 26, 2018 (edited) On 13.8.2018 at 11:02 PM, presta-rocks said: https://github.com/PrestaShop/PrestaShop/pull/9390 The bugfix at this link is for Presta 1.7.5. For those who need the bugfix for Presta 1.7.4.2 there is a part in the bug fix conversion describing a very little modification, which is working for me: Quote If you want to apply the modification for 1.7.4.2, you can try to just add the line 960 in "controllers/front/ProductController.php". You should have something like that: if (!empty($groups)) { $requestedIdProductAttribute = (int) Product::getIdProductAttributesByIdAttributes( $this->product->id, $groups, true ); } Line 960 is only the "true", you have to place the comma in the line before too. So just replace $groups ); } with $groups, true ); } and it should work. Edited September 26, 2018 by abhala (see edit history) Link to comment Share on other sites More sharing options...
adanex Posted January 18, 2019 Share Posted January 18, 2019 (edited) it's not working, i have upgraded to 1.7.5 but no change Edited January 18, 2019 by adanex (see edit history) Link to comment Share on other sites More sharing options...
adanex Posted January 18, 2019 Share Posted January 18, 2019 i have found the problem, I have uninstalled the module SEO friendly URL, the problem has been solved, now I have to buy another Friendly URL Module Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now