2. Default Theme
Did a clean install of OpenCart v4 and from there on notice issue with "Product Compare" and "Wishlist" count is off. It only updates when I refresh the page. This is not an issue for the cart as the shopping cart updates instantly when I add items to the cart. Any reason why this is the case. I notice on "http://www.bigmax.ch/shop/" from the admin it work perfectly. I am tempted to grab that version and use it instead but the v4 has some nice functionally I like.
I did notice the button code is different
v4
Code: Select all
<button type="submit" formaction="http://localhost/00000_MyProjects/XXX/index.php?route=product/compare|add&language=en-gb" data-bs-toggle="tooltip" title="" data-bs-original-title="Compare this Product" aria-label="Compare this Product"><i class="fas fa-exchange-alt"></i></button>
Code: Select all
<button type="button" data-toggle="tooltip" title="" onclick="compare.add('1521');" data-original-title="Add to Compare"><i class="fa fa-exchange"></i></button>
Code: Select all
<button type="button" data-toggle="tooltip" title="" onclick="wishlist.add('1521');" data-original-title="Add to Wish List"><i class="fa fa-heart"></i></button>
Thanks for the help!