dimaps Posted May 23, 2013 Share Posted May 23, 2013 I have been trying to figure out why add to cart is not working in my website. It has been working ok. www.specialorderflowers.com PrestaShop™ 1.5.4.0 Tried turning off the modules.. turning them back on. No change at all. 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 Hi dimaps, do you have catalog mode on in preferences>products 1 Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 (edited) I did not find catalog mode under preferences>general. I found it under preferences>products and the setting is disabled/off. Edited May 23, 2013 by dimaps (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 I went through your Add to Cart process and I saw this on your Error Console. Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 wow.. so how can I fix this? I am not that good with coding. Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 It may be an issue with the Module Attribute Wizard Pro. Have you turned PrestaShop Error reporting on through the FTP? Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 I tried turning it off and it still does not allow for add to cart.. How do I turn on error reporting through FTP? Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 First make sure that you have a backup ready of your PrestaShop files and Database, next up.. config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 I can see that you have turned it on...... Disable the Pinterest module and the "blocknewproducts2" module. I wonder why it has a "2" at the end. Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 When I enabled the ps mode to true I got many errors on the admin panel and did not allow me to go into modules.. so that I turned that back to off.. and I have disabled the pinterest and blocknewproducts2.. still not working add to cart.. can I give you backpanel access and Cpanel access to see what else you can find? Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 How customizable is the shopping cart? The way standard prestashop stuff is it does not work correctly for my flowershop service. I want to give customers the ability to select pick up from our store or deliver to their address.. per item. all on the same invoice. Calendar is on my site with specific rules already configured.. But then if it's pick up, customers can get directions to our store. We may have another store soon, so they should be able to pick from the store that they like.. and if delivery then it should be allowed to only for a list of specific zip codes which are now stored in a table and different delivery fee applies per product based on the delievery zip code.. And I have some rules that I want to apply for delivery fee.. for example if product is over $99, delivery is free. and if someone orders two products for delivery to the same location and zip code only 1 delivery fee should be charged.. I have not been able to find a module that does exactly this. There is extra fields for checkout and 1 page checkout module. but they don't necessarily do this exactly.. And then summary, confirmation emails and PDF's should be formatted the same way like checkout. Multishipping that prestashop has does not really work because it splits the order in two and creates two invoices and separates everything.. I want to still have the same invoice. I have created a word document with how I was thinking the checkout summary page should look like. This kind of functionality already exists in www.proflowers.com and done somewhat differently in www.adelaides.com I have tried to find a developer that can do this, but so far has not been successful. Also proflowers has the reminders service/module. which I want also and its part of the reason to ask for occasion and who the gift is for on the product page.. so that it can be stored into a reminder with the date. for next occasion (email with a coupon) Link to comment Share on other sites More sharing options...
benjamin utterback Posted May 23, 2013 Share Posted May 23, 2013 If you can not access the modules tab after turning error reporting on, then there is a high chance that the problem is coming from a module. You mentioned that it worked recently? Have you installed or configured any modules since the last time you knew it was working? If so, try and disable or delete them, but always make sure to have a back up. Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 if I turn on the PS DEV to true I can't access the backpanel at all. not just the modules tab. Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 this is what happened recently.. I have worked with a developer originally who has been working on building this website for nearly 6 months. He asked me to buy the Attributes Wizard Pro from presto-changeo and Paypal Payments Advanced from EGrove Systems because this was his suggestion on the solution to add "extras's to products and offer selections for vases and baloons.. And I wanted to use the paypal payments advanced as I have already signed up with them and have been paying $5 a month for that service. I wanted to keep customers on my site for checkout. He has also wanted me to sign up with godaddy hosting because he knows them best and so on. He has also asked me to buy the SSL certificate which I did.. He has never connected the SSL certificate.. He found I think a solution on the calendar through a module company ecommy. And finally he had a family situation and left and have not been heard from in more than 1 month.. Then he emailed me that I should find another developer to complete the project. At that time I have started learning what prestashop is and what it does.. I don't really have a preference in what system the site is built in. I just want to have the features that we need for our flowershop business. I was wondering and contacted godaddy hosting several times about the slowness of the site.. They told me that there are coding and image issues on my site and I need to fix them. But as I learned more and more their servers are just very slow.. With them unless I go to a dedicated service I can't use cache or anything else and so I have decided to move my hosting to siteground.com I have used them before and did a test to copy the files and database and their response time from servers is super fast even without the cache on. and they allow 4 different cache options on their shared hosting accounts.. However I tried to locate someone to move the site over and correct the shopping cart customizations.. So far it's been again unsuccessful and a lot of time went by. This is a live site that my customers can and should use. He seemed to FTP a newer version of the prestashop software and these issues have now started. I do have the site still with godaddy accessible by IP only. 50.62.224.182 and the shopping cart works there.. but ecommy date picker does not, because the developer of the module said that it's only certified with specialorderflowers.com domain. One of the reasons I think the developer uploaded the newer or cleaner version of my site is because he wants to work on the shopping cart modifications in a clean environment. I am not sure.. I prefer that all the development work is done on a copy of the site and then deployed to live site once ready and tested. but it has not been a good process for me at all. Very frustrating. Link to comment Share on other sites More sharing options...
dimaps Posted May 23, 2013 Author Share Posted May 23, 2013 so now I don't have a live site working. I don't know what the developer(freelancer) is doing if anything. Link to comment Share on other sites More sharing options...
vekia Posted May 23, 2013 Share Posted May 23, 2013 if I turn on the PS DEV to true I can't access the backpanel at all. not just the modules tab. how it's possible? have you got an access to the php error log? if so, check it for errors 1 Link to comment Share on other sites More sharing options...
YanK1973 Posted August 18, 2013 Share Posted August 18, 2013 (edited) Suddenly i have the same "add to cart not working" issue with a 1.5.4.1 installation. - In Firefox i cannot even add product to cart i get a "Impossible to add the product to the cart. textStatus: 'error' errorThrown: '' responseText:..." pop up error. - In Chrome & IE product is added but cart empties on any next click i make. I have disabled Paypal module, no luck. Enable error reporting but no error logs are created. I could use some help, shop is not working... Edited August 18, 2013 by yanc (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 Suddenly i have the same "add to cart not working" issue with a 1.5.4.1 installation. - In Firefox i cannot even add product to cart i get a "Impossible to add the product to the cart. textStatus: 'error' errorThrown: '' responseText:..." pop up error. - In Chrome & IE product is added but cart empties on any next click i make. I have disabled Paypal module, no luck. Enable error reporting but no error logs are created. I could use some help, shop is not working... is there any chance to check your website? im interested in logs from browser console, it looks like javascript parse error (ajax query) Link to comment Share on other sites More sharing options...
vekia Posted August 19, 2013 Share Posted August 19, 2013 turn off error reporting and everytihng will work well. it's because ajax query can't "run" function because of warning message that you've got Warning: Division by zero in /home/www/yan73/XXXX/www/blog/wp-config.php on line 28 Warning: Function 1 Link to comment Share on other sites More sharing options...
YanK1973 Posted August 19, 2013 Share Posted August 19, 2013 Thank you, it works. It's strange though because i enabled error reporting after the problem appeared.. Link to comment Share on other sites More sharing options...
YanK1973 Posted August 23, 2013 Share Posted August 23, 2013 Now the problem is back again, i'm frustrated, it is completely random since i haven't done any change to anything.. Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2013 Share Posted August 23, 2013 sorry but i can't find url to your websute here, can you share it once again? thanks in advance Link to comment Share on other sites More sharing options...
YanK1973 Posted August 23, 2013 Share Posted August 23, 2013 sorry but i can't find url to your websute here, can you share it once again? thanks in advance I've send you pm, thanks! Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2013 Share Posted August 23, 2013 thanks i checked your website once again, i can add products to the cart (no errors appear) but after every page refresh all products disappear from the cart. I think that this issue may be related to the "varnish cache", are you sure that your hoster didn't change that server setting? Link to comment Share on other sites More sharing options...
YanK1973 Posted August 26, 2013 Share Posted August 26, 2013 (edited) thanks i checked your website once again, i can add products to the cart (no errors appear) but after every page refresh all products disappear from the cart. I think that this issue may be related to the "varnish cache", are you sure that your hoster didn't change that server setting? My hosting company said no varnish is used. Also the problem doesn't exist for registered users, if that helps. edit :plus, i cannot logout unless i clear cookies. SOLVED. In my case the problem was that i made a Wordpress blog like this www.domain.com/blog which apparently messed things up and when it moved to www.blog.domain.com everything worked again...note that the problem insisted with AND without rewrites enabled..what can i say.. Edited August 28, 2013 by yanc (see edit history) Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 I am having the same problem when the website is on the server, but it does not happend when is on the localhost. can someone throw some light on the issues cuz this does not make sense for me at all. thanks kenko Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 I am having the same problem when the website is on the server, but it does not happend when is on the localhost. can someone throw some light on the issues cuz this does not make sense for me at all. thanks kenko it is possible to check your website? it's hard to say what's going on there without an access to it Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 (edited) yeah vekia http://spanishfinewine.co.uk/ thats sho9ld be up now for checking thanks IMPORTANT!! just installed chrome and it adds it to the cart but not in mozilla Edited September 5, 2013 by kenkokafe (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 i added stuff to cart without problems :/ Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 on firefox? Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 nope it was chrome, but im going to check it on ffox Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 nope it was chrome, but im going to check it on ffox thanks you. also if you dont mind please try to register and pay because it does not allow me at all. i tried to pm you but i cant find the way to do so. thnks Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 hmm i tried to open your website one again and i've got 404 error loading loading and finally die: Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 could you please try again now? Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2013 Share Posted September 5, 2013 still the same, load load and die Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 Wait! I was able to add to cart and check out on firefox! Firefox 23.0.1 Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 i dont know why! http://spanishfinewine.co.uk/ i am getting frustrated about this cuz it is working with chrome and ie, the adding of items to cart. but for me opens on all browsers. just out of interest, is usual to have so much issues to creat a simple online shop? cuz i am just finding everithing very difficult to be working. could it be the server or thats just not be the issue at all thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 Are you using the latest version of Firefox? Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 (edited) Wait! I was able to add to cart and check out on firefox! Firefox 23.0.1 is that on my site? yes that is my version, and i have cleared cache several times Edited September 5, 2013 by kenkokafe (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 Yes! It is I was able to register, add to cart and checkout. I registered as [email protected] Sorry I wanted to get the post out there before you changed anything else, because it is working for me. 1 Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 Yes! It is I was able to register, add to cart and checkout. I registered as [email protected] Sorry I wanted to get the post out there before you changed anything else, because it is working for me. ok many thanks. just one more thing to clarify have you tried to pay using paypal and it works? i appreciate your help Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 No, I got to a blankpage. What version of PayPal are you using? Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 (edited) i use 3.5.8 i believe is the one it was updated. it seams all well configured It only takes a few minutes to get started with PayPal Your country : Spain change Already have a PayPal Business account ? No Yes Need help? Give us a call on 0844 338 0470 1 Select your solution Learn moreNeed PayPal to process all your card payments ? Choose Website Payments StandardStart accepting payments immediately.No subscription fees, only a small transaction fee when you get paid. Choose Website Payments Pro HostedA professional platform that enables you to accept debit card, credit card and PayPal payments. Customised payment pages.Monthly subscription of £20. Need PayPal in addition to your existing card processor ? Choose Express CheckoutBoost your online sales by 30%* with a simple 3-click checkout process. 2 Sign up for your free PayPal Business account 3 Process payments on your online shop Provide your PayPal API credentials to PrestaShopGet my PayPal API credentials API username : API password : API signature : Please check that you have copied in all the characters. To finalize setting up your PayPal account, you need to :1. Confirm your email address : check the email sent by PayPal when you created your account 2. Link your PayPal account to a bank account or a credit card : log into your PayPal account and go to “My business setup”Configuration options Express Checkout shortcut Offer your customers a 3-click checkout experience-> YesNo Use a Sandbox Activate a test environment in your PayPal account (developer only). Learn more-> Live mode (recommended)Test modePayment type Choose your way of processing payments (automatically vs.manual authorization).-> Direct sales (recommended)Authorization/Manual capture (payment shipping) Edited September 5, 2013 by kenkokafe (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 The problem is that you are trying to load PayPal in a separate frame. This is not allowed by PayPal security. They do not allow for cross-origin framing. Are you loading it in a Iframe? Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 I dont know i have not changed anything from the actual prestashop 1.5.4.1. i just installed the module configured the api and the password and other things and... well nothing else. I cud change it or check it, but could you clue me up on how to do it. thanks Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 Well, actually somebody must have, because you are actually loading your website in an Iframe. The original website is here http://decobal.com/vtienda2013/gb/ Did you not know this? hmm Well the fact is, PayPal does not allow payments to be done through an Iframe so you would need to find an alternative solution. I just tried with your "other" main URL and everything worked fine. 2 Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 you are a saviour!! must admit i did know about the "redirectioning" to the server. i did not know that was iframe. you cant imagine how much i apreciate your help. i will have to contact the server and demand to have the dns´s changed to the actual domain. is that right? imany thanks again Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 5, 2013 Share Posted September 5, 2013 Talk to your hosting provider but did you have a Developer work on your site as well? Link to comment Share on other sites More sharing options...
kenkokafe Posted September 5, 2013 Share Posted September 5, 2013 Talk to your hosting provider but did you have a Developer work on your site as well? If you mean as in changing tpl files or things like that.just a bit changes due to the need to make age restrictions. Otherwise,I have no changed anything. Why are you asking? Talk to your hosting provider but did you have a Developer work on your site as well? If you mean as in changing tpl files or things like that.just a bit changes due to the need to make age restrictions. Otherwise,I have no changed anything. Why are you asking? Link to comment Share on other sites More sharing options...
bocane Posted January 27, 2014 Share Posted January 27, 2014 Hi, I also have a Prestashop 1.5.4.1 running on a test site (bocane.com) but after I complete the work on it it will be on bocane.ro. Only every once in a while I cannot add to cart (i get the usual message that I added to cart, but the product is not actually added). I tested mostly on Chrome. This only happens if the cart is empty (never happened for the second product added to cart) and I cannot manage to understand why it happens. I have deleted PayPal. I have a custom checkout module installed, but the error appeared before that. The friendly url is activated, the server suppports is as I have a live Prestashop 1.4 running on it with friendly url activated, The Shop domain and SSL domain set in the backoffice are both bocane.com (without www) Any thoughts would be highly appreciated. Thank you! Link to comment Share on other sites More sharing options...
vekia Posted January 27, 2014 Share Posted January 27, 2014 added product to cart without any problem (chrome latest release) Link to comment Share on other sites More sharing options...
_Sergiy_ Posted March 1, 2014 Share Posted March 1, 2014 I have this problem too. Link to comment Share on other sites More sharing options...
vekia Posted March 1, 2014 Share Posted March 1, 2014 I have this problem too. share url please to your website Link to comment Share on other sites More sharing options...
_Sergiy_ Posted March 3, 2014 Share Posted March 3, 2014 Hi did you check? Link to comment Share on other sites More sharing options...
_Sergiy_ Posted March 4, 2014 Share Posted March 4, 2014 had to disable ajax Link to comment Share on other sites More sharing options...
maxcon Posted March 26, 2014 Share Posted March 26, 2014 Hi, I have also the same problem on www.marvib.com (Prestashop 1.5.4.1). Could someone help me? Thanks, Max. Link to comment Share on other sites More sharing options...
wingnut007 Posted April 15, 2014 Share Posted April 15, 2014 I have had the same issue as above Initial problem which has been fixed by updating my PHP on hosting "Impossible to add the product to the cart.textStatus: 'error'errorThrown: ''responseText:..." pop up error. However I am now getting this error when trying to pay. PayPal response:TIMESTAMP -> 2014-04-15T16:32:27Z L_ERRORCODE0 -> 11800 L_SHORTMESSAGE0 -> Invalid Data L_LONGMESSAGE0 -> Your request is too long. Check URLs and other long strings. L_SEVERITYCODE0 -> Error Now It is a Paypal error message.... after speaking to Paypal they have said: I found a new SetExpressCheckout call for item "BLUESKY SHELLAC UV STARTER PACK" in your flow logs page whose quantity is "1" repeated about 500 times which is causing the same error message.You should use the variableL_PAYMENTREQUEST_0_QTY0= "10" or "20" or "200" etc.You can use the format "1" "1" "1" only for different items being sold (with the variable paymentrequest_0_name to specify the name of each single item) and not for bigger quantity of the same item. My site has not been able to take payment for 5 days now I am pulling my hair out with this... any help would be great. Link to comment Share on other sites More sharing options...
shoppiz Posted May 1, 2014 Share Posted May 1, 2014 Hi dimaps, do you have catalog mode on in preferences>products This was a real quick fix mate...thanks Link to comment Share on other sites More sharing options...
bovario Posted August 15, 2014 Share Posted August 15, 2014 This was a real quick fix mate...thanks share url please to your website On my website bargains-zone.com cart module not displays at all. How to fix it? Errors display on but not show any errors. Link to comment Share on other sites More sharing options...
eurosdubidu Posted December 12, 2014 Share Posted December 12, 2014 Hi I need your help www.eurosdubidu.com my shoping cart dont works... I dont know how to do Thanks Link to comment Share on other sites More sharing options...
_Sergiy_ Posted December 12, 2014 Share Posted December 12, 2014 do not delite order, just change status Link to comment Share on other sites More sharing options...
El Patron Posted December 12, 2014 Share Posted December 12, 2014 I am closing this topic. if the solution could not be found in this topic, please open a new topic. Link to comment Share on other sites More sharing options...
Recommended Posts