I'm new to Opencart, and have been putting an e-shop together for the last few weeks. I've looked extensively in the forums, and can find nothing about what I suspect must be an issue others have experienced.
I can add products to the cart OK, both singly and in multiples. However, once I go to cart view I am unable to update the number of products in it by using the update quantity button - it just flicks back to the original number of items added to the cart from the product page. I have tried reloading the original versions of all of the set-up files that I have changed whilst putting the e-shop together, to no effect! Does anyone have any advice please? I'm guessing that it's probably a very simple glitch.
I can add products to the cart OK, both singly and in multiples. However, once I go to cart view I am unable to update the number of products in it by using the update quantity button - it just flicks back to the original number of items added to the cart from the product page. I have tried reloading the original versions of all of the set-up files that I have changed whilst putting the e-shop together, to no effect! Does anyone have any advice please? I'm guessing that it's probably a very simple glitch.
Last edited by imb on Sun Nov 17, 2013 5:44 pm, edited 1 time in total.
If you use a custom theme, enable the default one and test there, if it works in the default one might be because of the custom theme compatibility, also keep in ming that you need to click update cart in order for the new qty to apply.
Many thanks for the suggestion. I'm using the default theme, so that would seem not to be the issue. However, I have made modifications to some of the files - but, whilst trying to chase this down, replaced all of these with the original files, to no avail. Re clicking the 'update cart' button, that's the exact problem. When I change the item quantity in shopping cart view and then click 'update', the desired quantity is over-written by the original quantity (and, not surprisingly, the total due does not change to reflect the desired quantity). Interestingly, the 'remove item' button functions correctly. A possibly linked behaviour is that, when I click 'get quotes' for shipping, the correct shipping cost is displayed - but, when I then click 'apply shipping', it does not appear to do so on that page - however, if one then proceeds through the checkout process, the shipping IS applied correctly! The website is http://www.preceptscotland.org/webshop, and I'm using version 1.5.6. I hope this helps, and would be very grateful for any suggestions!!!
Try disabling the ssl and then test again or atleast disable the redirect you have to https , doesnt seem corect the way you did it.
Go back stepwise . . . first enable redirect. In this see lower pair of links on SSL, http://forum.opencart.com/viewtopic.php ... 80#p439397 .
Thank you for being there to help, but I still cannot access the admin panel. Right or wrong, I disabled ssl in the server tab in the admin panel, and now am unable to access the admin panel. I've tried the advice in http://forum.opencart.com/viewtopic.php?t=22585 but without success. And I'm afraid I do not under stand your instruction to "Go back stepwise . . . first enable redirect." Could you please spell out STEP BY STEP exactly what I should do to regain access to the admin panel? Thank you so much.
(1) SSL itself is correctly installed (http://www.sslshopper.com/ssl-checker.h ... tland.org/).
(2) You may have made the mistake of protecting admin with it. The tutorials are meant to go over basics.
(3) Florinsmith suggested turning off SSL and the redirection, I assumed you did both, so reverse would be redirection back on then SSL back on.
(4) You still can't get in. In phpMyAdmin you can force SSL back on. You an also remove all https:// from the few lines on admin in the two config.php files.
(5) If the only reason you can't get in is the password, then you can use ocreset.php (read the instructions, download it, upload it, use it, delete it as soon as you're in). READ his http://forum.opencart.com/viewtopic.php?t=15626#p76531 and THEN download his http://www.jaygilford.com/download/ocreset so that you proceed safely. It will change on the spot, no mail.
(2) You may have made the mistake of protecting admin with it. The tutorials are meant to go over basics.
(3) Florinsmith suggested turning off SSL and the redirection, I assumed you did both, so reverse would be redirection back on then SSL back on.
(4) You still can't get in. In phpMyAdmin you can force SSL back on. You an also remove all https:// from the few lines on admin in the two config.php files.
(5) If the only reason you can't get in is the password, then you can use ocreset.php (read the instructions, download it, upload it, use it, delete it as soon as you're in). READ his http://forum.opencart.com/viewtopic.php?t=15626#p76531 and THEN download his http://www.jaygilford.com/download/ocreset so that you proceed safely. It will change on the spot, no mail.
Thanks butte, I really appreciate you sticking with me. I have uploaded the ocreset ok, and can see that I can reset the password. But, before actioning it, I just want to be sure which way the two config.php files should be configured. If the ssl is now disabled (which currently it is), do I need to make the admin redirects http as opposed to https first, before actioning the ocreset?
Also, looking at your paragraph 4, please tell me precisely how to access phpMyAdmin, as that looks a really sensible way to reverse what has happened.
Thank you so much.
Also, looking at your paragraph 4, please tell me precisely how to access phpMyAdmin, as that looks a really sensible way to reverse what has happened.
Thank you so much.
You might have disable ssl from admin but you didnt disable the redirect which is why you cant access admin either(same issue as with the cart, you go to admin login page, are redirected to https, but the login info is sent to http because the ssl is now disabled so thats why it doesnt work, in the carts instance is practicly the same, except that enabling ssl doesnt solve the cart issue because the cart page is not a part of the secured pages in opencart).
If you are not familiar with phpmyadmin, edit admin/config.php file , the first line is the http server defined, change in that line the http:// to https:// , now you should be able to reaccess the admin , go and reenable ssl , then you can revert the change from admin/config.php.
Now you are back to square one, you redirected all http to https I assume in htaccess, you should remove that, and if you really want to have all your pages secured (unecessary), you can edit the root config.php and at http server also add the https in the address.
If you are not familiar with phpmyadmin, edit admin/config.php file , the first line is the http server defined, change in that line the http:// to https:// , now you should be able to reaccess the admin , go and reenable ssl , then you can revert the change from admin/config.php.
Now you are back to square one, you redirected all http to https I assume in htaccess, you should remove that, and if you really want to have all your pages secured (unecessary), you can edit the root config.php and at http server also add the https in the address.
Thank you SO VERY MUCH florinsith - editing the first line in the admin/config.php file to https did the trick. So, I'm now back to square one, so can look again at trying to take your original advice.
When you have a moment, could you please give me very specific instructions about how I should manage the redirect, given that I mucked it up first time around??!!
When you have a moment, could you please give me very specific instructions about how I should manage the redirect, given that I mucked it up first time around??!!
To test what i said, edit the main config.php and do the same like you did for admin (at http server change from http:// to https://), if youll now be able to change the qty than you can:
1. Keep the change in the config.php and remove the force ssl from htaccess and have all your pages secured
2. Revert the change in the config.php and also disable the redirect in htaccess (and have only the checkout and account pages secured in frontend as is by default).
1. Keep the change in the config.php and remove the force ssl from htaccess and have all your pages secured
2. Revert the change in the config.php and also disable the redirect in htaccess (and have only the checkout and account pages secured in frontend as is by default).
Absolutely awesome stuff - thank you again!! The quantity update and apply shipping costs now both work correctly!!
To be absolutely clear, I'll go route 1 - so, please now give precise instructions about removing the force ssl from htaccess.

To be absolutely clear, I'll go route 1 - so, please now give precise instructions about removing the force ssl from htaccess.
post content of htaccess , more precisesly the line containng word https and 3 lines below and above it. thos I dont think it hurst to leave it now since the condition cant be matched anymore as https is allready on.
You reach phpMyAdmin in your host control panel, but under the circumstances this is not a good time to tinker there with the database. The two config.php differ a little bit, but their HTTP, HTTPS, and DIR sections mustn't send the machine in different directions. Follow florinsmith's lead.
florinsmith asked you to "post content of htaccess , more precisesly the line containng word https and 3 lines below and above it" -- but now with the second admin .htaccess sitting there, too, post the foregoing (as florinsmith asked) plus the admin .htaccess content.
Who is online
Users browsing this forum: No registered users and 7 guests