TheCamoHut Posted July 27, 2017 Share Posted July 27, 2017 OK a few weeks ago I upgraded from PS 1.4 to now 1.6.1.15 using the one click upgrade module. I now have noticed you can not add to cart from catalog pages you have to click into the item. when you click "Add to Cart" from the home page you get the message "Product not found This product is no longer available." but if you click onto the item where you see the product descriptions you can add to cart from there. I've looked around from some topics similar but no fix. TheCamoHut.com is my site Link to comment Share on other sites More sharing options...
bellini13 Posted July 28, 2017 Share Posted July 28, 2017 When you click Add from the home page, the following is sent to the server via javascript. As you can see, the id_product field is empty. I don't know your store or what happened during the upgrade, but perhaps the blockcart module needs to be reset, or perhaps you have overrides or customizations that are interferring controller: cart add: 1 ajax: true qty: 1 id_product: token: 706741ca1e4a4070dd21980d80ee2f2b Link to comment Share on other sites More sharing options...
TheCamoHut Posted July 29, 2017 Author Share Posted July 29, 2017 (edited) I reset the cart block and it did nothing. Still having the same issue. Edited July 29, 2017 by TheCamoHut (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted July 30, 2017 Share Posted July 30, 2017 (edited) As per my investigation, I can add a product to cart when opening the product detail page first. I cannot do so, when I try to add a product from the main page or a category page. I tried to run some basic analysis but the problem is: Your page LOADS FOREVER. Example: Each of your CSS loaded 8 times until I stopped the page from loading after more than 60 seconds. There must be a majore issue with your site. See my screenshot with developer tools. If shows some CSS files. Overall the network tools showed 690 items loaded until I stopped loading. For me it looks like your module hooks are executed repeatedly. Check if you can disable and re-enable all modules. Edited July 30, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted July 31, 2017 Share Posted July 31, 2017 I've already established that the issue is that the id_product is missing when you try to add from the home page. So when you click add to cart, the product is not being sent to the server, and therefore the server does not know which product to add. Why that is happening needs to be researched, there is really now way I can tell you from here without digging into your code and module positions to see why. It could be an override or custom module that you have installed from before the upgrade that is interfering, or it could be some customization that you have made Link to comment Share on other sites More sharing options...
Scully Posted July 31, 2017 Share Posted July 31, 2017 The missing id_product is correct. But the real problems of this shop go far beyone the id_product or the following error with add to cart. The real problem is that the site is loading in an ENDLESS LOOP. My firefox crashed after appx. loading 3 minutes and way over 1'000 ressources. Other browsers might take longer until crash. But the main statement is the same. The shop isn't usable for endusers at this stage. Once the endless loop is solved, the id_product issue might be gone as well. Link to comment Share on other sites More sharing options...
TheCamoHut Posted August 1, 2017 Author Share Posted August 1, 2017 I disabled and re enabled all module and still nothing, is it worth trying to upgrade again? Link to comment Share on other sites More sharing options...
Scully Posted August 1, 2017 Share Posted August 1, 2017 I can't tell you that. Our PS 1.6.1.15 test installs all work well in that context. Link to comment Share on other sites More sharing options...
MacMaster Posted September 23, 2019 Share Posted September 23, 2019 Hi, I have identified an similar bug when using one page checkout. Likely caused when upgrading from 1.4.8 to 1.6.1.4. Bug: 1) If trying to add additional product quantity on checkout page.... 2) Or loading checkout page, and trying to continue shopping..... Will both render in a "This product is no longer available". The problem will then persist for all products until browser cache is deleted. Details can be sent in pm and compensation will be given to anyone that is able to resolve this swiftly, since it is a live webshop. 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