SpongeBert Posted April 19, 2011 Share Posted April 19, 2011 Hi,I have just rolled out my own prestashop: http://81.95.120.87/prestashop/How can I add a shoppingcart to this shop? At first sight it is more like a catalog without buying option.Thanks for the helpBert Link to comment Share on other sites More sharing options...
andrew b davies Posted April 19, 2011 Share Posted April 19, 2011 Hey Mate i think you have disabled your moduleGo into your backoffice and go to modules and find cart and click install please tell me if this works Link to comment Share on other sites More sharing options...
SpongeBert Posted April 19, 2011 Author Share Posted April 19, 2011 Hi,thanks for your reply.I added already a shoppingcart and also fixed the position in "top of the page" and "header of the page" and "my account" but I cannot find it :sIt seems my site has a big white header, there could be something wrong :sRegards Link to comment Share on other sites More sharing options...
andrew b davies Posted April 19, 2011 Share Posted April 19, 2011 what version of prestashop are you using and are you using the default theme? Link to comment Share on other sites More sharing options...
SpongeBert Posted April 19, 2011 Author Share Posted April 19, 2011 the lastest version 1.4.0.17 and yes default theme Link to comment Share on other sites More sharing options...
andrew b davies Posted April 19, 2011 Share Posted April 19, 2011 whats your site ill have a look and i have had problems with that one Link to comment Share on other sites More sharing options...
SpongeBert Posted April 19, 2011 Author Share Posted April 19, 2011 ok thank you http://81.95.120.87/prestashop/ Link to comment Share on other sites More sharing options...
andrew b davies Posted April 19, 2011 Share Posted April 19, 2011 i just had a look and if you have installed any other modules other then presta original modules uninstall them and see what happens Link to comment Share on other sites More sharing options...
SpongeBert Posted April 19, 2011 Author Share Posted April 19, 2011 It is a fresh install, I did not install new modules besides paypal :s Link to comment Share on other sites More sharing options...
andrew b davies Posted April 19, 2011 Share Posted April 19, 2011 im sorry i have no idea i hope you get it sorted Link to comment Share on other sites More sharing options...
web.geek Posted April 19, 2011 Share Posted April 19, 2011 Check that you aren't in Catalog mode: under the Preferences tab, click Products. The first item should be "Catalog mode:" and it should be set to "No".I just tested setting mine to "Yes," and it changed my site to look just like yours. Link to comment Share on other sites More sharing options...
web.geek Posted April 19, 2011 Share Posted April 19, 2011 Sorry for hijacking this post, but I wanted to document the problems I ran into when testing the OPs problemsWell, this will be fun. After I tested setting catalog mode on (on my test environment) and then turning it back off, I have lost my entire right column. Now I have to investigate whether this is a bug. Anyone seen this behavior before?Update: I can't even view product details. When I try to view a product, I lose the center column as well. Definitely something strange about switching between catalog modes.Update: I thought it might just be a browser cache issue, so I cleared the cache and the columns came back. I soon realized, however, that I was also logged out. When I logged in as a customer again, the same problems returned.Update: So the problem seems to only affect the existing customer. I created a new customer and everything works fine for that customer.Update: Checked the details of the non-functioning customer, and everything looked good. Ended up checking out the shopping carts, and I noticed that the person had a cart, but it wasn't displaying properly in the list of shopping carts (it was truncating the row after the customer name). This brought me to an important lesson learned...always turn on 'display_errors' and '_PS_DEBUG_SQL_' when working in a test environment. Turning on those displays, I found the following error: Warning: key_exists() [function.key-exists]: The second argument should be either an array or an object in /.../classes/Cart.php on line 1088 Fatal error: Call to a member function getOrderShippingCost() on a non-object in /.../classes/Cart.php on line 1091 Checking the database, I discovered the red herring. This customer's cart had selected a carrier that was part of the UPS module. I had removed the UPS module earlier, so the database call was producing an invalid value for the shipping costs that were being passed to the Cart.php class in the error code above. I changed the carrier id to a valid carrier, and the error disappeared and the columns all appeared.I now return you to your regularly scheduled forum post 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