Post by synapseindia » Mon Jul 30, 2018 2:11 pm

Hi ,
I am using opencart 3.0.2.0 and facing some issues.
For instance - When we remove product from cart it is still showing in cart . We need to hard refresh page to appear cart changes.
Also, when visit on any category and there is no product assigned to that category . It is showing a message "Your shopping cart is empty" instead showing "There is no result". However i have fixed the catalog message issue but still having issue related to cart. Please suggest.
Solution to fix message on category page - comment out below lines.

Code: Select all

	 'controller/*/after'  => array(

		'event/debug/after'

	)
Thanks

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by emre.alan » Mon Jul 30, 2018 7:54 pm

hi,
if you have any code about browser caching in your .htaccess file, try delete lines about js. Clean your browser history and try it. this solved my problem hope it works with you too

Newbie

Posts

Joined
Mon Mar 13, 2017 4:21 pm

Post by sanshay » Tue Jul 31, 2018 5:50 pm

Seems an event problem.
Check if you have 33 events in admin/extensions/events.
If not check this link where i had the same event issues and fixed my mail and cart problems.

Code: Select all

https://forum.opencart.com/viewtopic.php?f=201&t=205958

Active Member

Posts

Joined
Fri Jan 25, 2013 8:49 pm

Post by synapseindia » Thu Aug 02, 2018 7:56 pm

Thanks for your response. But i have checked that Extension-> Event has 33 events in the listing .

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by straightlight » Thu Aug 02, 2018 8:39 pm

Are they all active? Did you also properly configured your admin - > systems - > settings - > edit settings - > mail tab's entire form - including the bottom?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by synapseindia » Tue Aug 21, 2018 8:53 pm

Yes, i have checked the same . Everything is fine. But did not get success.

For now i have disabled to create cache of twig file. It is temporary solution.


Thanks

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by sayahan » Mon Oct 01, 2018 11:38 pm

Hello,
I had a similar problem. Cause of my problem is browser cache. I writed meta tags for no-cache on header.twig or htaccess mod_header rules but I couldn't get rid of browser cache. At the end of this solution, it is works.
I writed to beginning of file on site root index.php:

Code: Select all

header("Cache-Control: no-cache, must-revalidate");
Normally you can control header with .htaccess but I use multiPHP and I have to use a .htaccess mime_module rule ( AddType application/x-httpd-ea-php56 .php .php5 .phtml ) for php5.6. Because of this rule, Header unset Cache-Control rule not works in .htaccess

I hope this works for you.

Newbie

Posts

Joined
Mon Oct 01, 2018 11:23 pm
Who is online

Users browsing this forum: No registered users and 416 guests