Post by wktp76 » Thu Feb 14, 2019 2:39 am

The cart is not updated if you click the "Back" button in the browser!

Выбираем товар, кладем его в корзину, в корзине товар появляется! http://joxi.ru/D2PJQn5tqdGOWr
Но стоит вернутся на шаг назад корзина в header пуста! http://joxi.ru/p27K7YQCK0yBo2
Если вернуться на шаг вперед, корзина пуста! http://joxi.ru/MAjQl54hjv0582

Если нажать обновить (F5) козина обновляется! http://joxi.ru/EA4WvYPCoDgW52

Choose a product, put it in the cart, the product appears in the cart! http://joxi.ru/D2PJQn5tqdGOWr
But it is worth going back a step back to the cart in the header post! http://joxi.ru/p27K7YQCK0yBo2
If you go back one step, the cart is empty! http://joxi.ru/MAjQl54hjv0582

If you click update (F5) the cart is updated! http://joxi.ru/EA4WvYPCoDgW52

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by straightlight » Thu Feb 14, 2019 10:20 am

The back button should never be used since the enforcement of SSL throughout a store as it may have its flaw to update the content without refreshing the page.

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 wktp76 » Thu Feb 14, 2019 2:03 pm

SSL?

I do not use SSL, in version 2.3.0.2 cart is updated!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by straightlight » Thu Feb 14, 2019 10:47 pm

If you don't use SSL, then it is not a bug. SSL is required nowadays for your website to show up on Google's search engine. As for updating, ensure your .htaccess file is properly configured and that no extensions were installed while upgrading from OC v2.3.0.2 to OC v3.x releases.

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 wktp76 » Fri Feb 15, 2019 6:41 pm

I have a clean Opencart 3.0.2.0 installed! No add-ons .htaccess has not changed!
In Opencart version 2.3.0.2 there is no such problem, with or without SSL!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by straightlight » Fri Feb 15, 2019 10:48 pm


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 wktp76 » Sat Feb 16, 2019 10:45 pm

It became even more unclear!
Thank you!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by straightlight » Sat Feb 16, 2019 10:53 pm

If you don't know how to resolved cache issues, you can always create a new Service Request in the Commercial Support section of the forum to get this done as a custom job.

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 wktp76 » Mon Feb 18, 2019 2:07 pm

I did everything as you said, it did not solve the problem, when you go to the browser "Back" cart is not updated!(

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by letxobnav » Wed Mar 06, 2019 7:24 pm

On a back-button an SSL page is reloaded even if it is marked as a "no-cache" page.
A "no-cache" page is NOT reloaded for NON-SSL connections.
To reload a non-SSL page it should be marked as "no-store", "no-cache" does not work.

In short, sound like normal behavior, suggest you use SSL.

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

Post by wktp76 » Wed Mar 06, 2019 10:28 pm

We use SSL!
Still does not work with SSL and without SSL!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by letxobnav » Thu Mar 07, 2019 12:16 am

you said you did not 7 posts ago:
I do not use SSL, in version 2.3.0.2 cart is updated!

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

Post by ADD Creative » Thu Mar 07, 2019 1:26 am

Could be an effect of lack of cache control header in version 3. https://github.com/opencart/opencart/issues/7008

Try the changes here to see if it makes any difference.
viewtopic.php?f=201&t=207498#p737430

www.add-creative.co.uk


Expert Member

Posts

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

Post by wktp76 » Thu Mar 07, 2019 10:53 pm

letxobnav wrote:
Thu Mar 07, 2019 12:16 am
you said you did not 7 posts ago:
I do not use SSL, in version 2.3.0.2 cart is updated!
Decided to install SSL!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm

Post by wktp76 » Wed Mar 13, 2019 2:16 pm

ADD Creative wrote:
Thu Mar 07, 2019 1:26 am
Could be an effect of lack of cache control header in version 3. https://github.com/opencart/opencart/issues/7008

Try the changes here to see if it makes any difference.
viewtopic.php?f=201&t=207498#p737430
Thank you, it works!

Newbie

Posts

Joined
Wed Feb 13, 2019 7:30 pm
Who is online

Users browsing this forum: No registered users and 78 guests