Jump to content

Edit History

Kami Solutions

Kami Solutions

On 6/15/2022 at 7:23 PM, Mehrshad Zakerian said:

Well today I received some reports from clients which were using PS1.7.8.x that when they click on Add To Cart button it needs a manual refresh to update the quantity inside Cart module. Also there was the same issue for deleting a product from cart. It seems that there are some changes on "core.js" file which prevent themes developed by other developers (not default theme) to auto refresh cart changes.

I searched for the solution which I found this topic and one from Stack Overflow. Here is the solution which worked for me finally:

(Please make sure you have backed up everything before any changes)

  1. I replaced the core.js file from PS1.7.7.8 with my current file inside themes folder (thanks to @dimtsef)
  2. I reseted the ps_shoppingcart module (thanks to AuRum for their answer at Stack Overflow)
  3. I cleared PS cache (you can do it manually by removing prod and dev folders inside var/cache directory)

And it is working fine now!

Works like a charm, what a legend!

This works on PS 1.7.8.7 with the core.js provided by @dimtsef (Path to change this file is /themes/core.js)

Remember to clean cache on boths sides

Kami Solutions

Kami Solutions

On 6/15/2022 at 7:23 PM, Mehrshad Zakerian said:

Well today I received some reports from clients which were using PS1.7.8.x that when they click on Add To Cart button it needs a manual refresh to update the quantity inside Cart module. Also there was the same issue for deleting a product from cart. It seems that there are some changes on "core.js" file which prevent themes developed by other developers (not default theme) to auto refresh cart changes.

I searched for the solution which I found this topic and one from Stack Overflow. Here is the solution which worked for me finally:

(Please make sure you have backed up everything before any changes)

  1. I replaced the core.js file from PS1.7.7.8 with my current file inside themes folder (thanks to @dimtsef)
  2. I reseted the ps_shoppingcart module (thanks to AuRum for their answer at Stack Overflow)
  3. I cleared PS cache (you can do it manually by removing prod and dev folders inside var/cache directory)

And it is working fine now!

Works like a charm, what a legend!

×
×
  • Create New...