Cart not displayed properly after Hikashop update
Joomla webshop template with CSS3-based animations, VirtueMart support and one-page checkout.
- GK User
- Mon Sep 29, 2014 11:39 am
Update to latest Hikashop resulted in different cart divs:
New:
Old:
Also clicking cart when empty does not show popup with "cart is empty".
Any advice on how to restore the behavior?
New:
- Code: Select all
<div id="gkCart">
<span id="gkCartCounter">
?<div class="hikashop_cart_module" id="hikashop_cart_module">
<div id="hikashop_cart" class="hikashop_cart">
De winkelwagen is leeg </div></div>
</span><i class="gk-icon-cart-add"></i>
</div>
</span><i class="gk-icon-cart-add"></i>
</div>
Old:
- Code: Select all
<div id="gkCart">
<span id="gkCartCounter" class="">
<div class="hikashop_cart_module" id="hikashop_cart_module">
<div id="hikashop_cart" class="hikashop_cart">
The cart is empty </div></div>
</span><i class="gk-icon-cart-add"></i>
</div>
Also clicking cart when empty does not show popup with "cart is empty".
Any advice on how to restore the behavior?
-
- Fresh Boarder
- GK User
- Mon Sep 29, 2014 11:44 am
We haven't updated our templates to the newset Hikashop code yet. Please revert to the older version and wait till template releases will contain Hikashop support update.
-
- Moderator
- GK User
- Mon Sep 29, 2014 12:32 pm
After restart the empty cart is showing properly, but there is stil an empty text node that places the counter a line lower then cart icon.
Looks trivial, but I caný find piece of code the creates the empty text.
Looks trivial, but I caný find piece of code the creates the empty text.
-
- Fresh Boarder
- GK User
- Mon Sep 29, 2014 1:45 pm
If this is just a frontend type of proglem, could you please post an url to your site? Also - please create 2 screenshot - of current layout and of desired layout.
-
- Moderator
- GK User
- Mon Sep 29, 2014 2:02 pm
You can see the difference between the cart when you compare
http://demo.octoweb.nl/bullish_original/ with
http://demo.octoweb.nl/bullish/
http://demo.octoweb.nl/bullish_original/ with
http://demo.octoweb.nl/bullish/
-
- Fresh Boarder
- GK User
- Tue Sep 30, 2014 10:37 am
Fixed it:
changed line 191 in gk.scripts.js to
changed line 191 in gk.scripts.js to
- Code: Select all
jQuery('#gkCartCounter').html(data.trim());
-
- Fresh Boarder
- GK User
- Wed Oct 01, 2014 3:34 pm
Ok, I'm glad you could solve it by yourself.
-
- Moderator
7 posts
• Page 1 of 1