Post by StationMaster » Tue Oct 15, 2019 10:24 am

I am using Chrome and Open cart 3.0.3.2 . I installed it back in may and have gotten back to start filling the rest of inventory in. None of my changes I have put through in admin board appear in the store page. Is there something wrong? I have entered four items at that time in may and they appear ok. but the new items do not show up.

Newbie

Posts

Joined
Tue Oct 15, 2019 10:08 am

Post by ADD Creative » Tue Oct 15, 2019 11:38 pm

Have you checked the obvious.

Looking at the correct store URL.
Product statuses are all set to enabled.
Product date available all in the past.
Refreshed browser or cleared its cache.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by paulfeakins » Wed Oct 16, 2019 5:57 pm

ADD Creative wrote:
Tue Oct 15, 2019 11:38 pm
Refreshed browser or cleared its cache.
https://www.antropy.co.uk/blog/how-to-c ... t-3-0-2-0/
Image

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Evilonion » Wed Oct 16, 2019 10:01 pm

this will 100% be a cache issue.
My macbook has an annoying habit of having a cache of every page i work on.
Constantly having to refresh the browser to show changes.

Active Member

Posts

Joined
Sun Oct 30, 2016 8:07 pm

Post by letxobnav » Wed Oct 16, 2019 10:31 pm

its not your macbook, it's that OC 3 does not send the correct cache headers to the browser.

in system/framework.php

change this:

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);
to this:

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);

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan
Who is online

Users browsing this forum: NicNie and 362 guests