Jump to content

Display Cart count in header


Recommended Posts

Hello,

Trying to get the amount of cart items shown in the header next to the cart icon.

Hvae had it working in the past for an older version however that now doesnt work anymore. We used to have this: https://whmcs.community/topic/225497-view-cart-icon-only-when-items-are-in-cart/

BUT doesnt work anymore (getting oops something wrong with page error now). This also seems similar: https://whmcs.community/topic/216829-if-cart-has-product-gt-show-cart-link/?tab=comments#comment-1341747 but not poasted in those threads as they are very old.

Trying to say away from switching on allow php in templates in general settings but cannot find another methord, well one that works anyways!

Can anyone one help out here? Whats the V8 way of displaying the amount of items in cart???

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated