Page 1 of 1

add to cart problem

Posted: Mon Apr 22, 2019 9:13 pm
by jamaakurtlar
Hi our amazing support cart

i have a problem with my store when i add product to opencart

When the customer adds the products to the Cart they are added but when open cart , no products appear, knowing that they appear to be added

maybe cache problem or missing file

also when i add edit a order status i didn't see any change only after refreshing page
same problem when i copy product to see copy i need to refresh dashboard page
please watch this video

https://www.youtube.com/watch?v=zIKBcSSPclE

any one Have same problem

thank you in advance for support

Re: add to cart problem

Posted: Mon Apr 22, 2019 11:55 pm
by IP_CAM
Well, after NOT posting any details about what you use on OC Version
and possibly Extensions and Themes, better don't expect anything of
real use either in return.
Ernie

Re: add to cart problem

Posted: Tue Apr 23, 2019 12:08 am
by letxobnav
search for browser cache issue framework.php

Re: add to cart problem

Posted: Tue Apr 23, 2019 12:33 am
by webdesires
Like IP_CAM said however a bit more friendly.

You need to give us full details of all modifications you are using, what OC version you have etc.

Also a link to your site might help... Please?

Re: add to cart problem

Posted: Tue Apr 23, 2019 4:17 am
by IP_CAM
Like IP_CAM said however a bit more friendly.
Well, reacting nicely fixes no problem, and that's, what most Newbies
expect around here. Otherways, they would already be aware of, that
it requires some details, like in a Tire-Shop or Clothing Store, to get
the right thing. In addition to the Fact, that english is not the native
language for a majority of readers, so, clear statements are easier to
be understud, in plain English, as the Radio Station 'Voice of America'
used to point out ... :D
And I also 'learned' english on the Street only, not from the Books. ;)
Ernie

Re: add to cart problem

Posted: Wed Apr 24, 2019 2:53 am
by jamaakurtlar
IP_CAM wrote:
Mon Apr 22, 2019 11:55 pm
Well, after NOT posting any details about what you use on OC Version
and possibly Extensions and Themes, better don't expect anything of
real use either in return.
Ernie
OC 3.0.2.0

Re: add to cart problem

Posted: Wed Apr 24, 2019 2:55 am
by jamaakurtlar
webdesires wrote:
Tue Apr 23, 2019 12:33 am
Like IP_CAM said however a bit more friendly.

You need to give us full details of all modifications you are using, what OC version you have etc.

Also a link to your site might help... Please?
thank you for you reply
OC 3.0.2.0 version
https://www.oqily.com

Re: add to cart problem

Posted: Wed Apr 24, 2019 6:21 am
by letxobnav
as I said, browser cache issue.

Re: add to cart problem

Posted: Wed Apr 24, 2019 9:46 am
by webdesires
letxobnav wrote:
Wed Apr 24, 2019 6:21 am
as I said, browser cache issue.
I agree, some sort of caching issue, whether its browsing or some sort of other cache plugin, well you didnt list what modifications and etc your using so cannot comment.

Re: add to cart problem

Posted: Wed Apr 24, 2019 11:59 am
by letxobnav
in system/framework.php change

Code: Select all

// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
into

Code: Select all

// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
next person with this problem better do a search like I stated before, even though searching on this forum reduces your Life expectancy by 20%.