Jump to content

hostsupport

Member
  • Posts

    3
  • Joined

  • Last visited

About hostsupport

hostsupport's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hey Brian, Thanks again for all of your help. And to help others out that may have this issue in the future, I will share my code. You can use this code outside of the WHMCS directory and use an image next to the items in cart output. <a href="#(1) SOURCE TO CART IF YOU WANT LINK CLICKABLE#"><i class="#(2)image class#"><script language="javascript" src="#(3)full link to whmcs cart #"></script></i></a> (1) explanation: if you have an image and would like the entire code to be clickable put the link to your cart. IE: https://link.towhmcs.com/cart.php?a=view (2) explanation: this is the image class. You may be able to use img src "<img src="pic.jpg" , but I have not tried this so I cannot confirm that to be a substitute for i class predefined image. (3) explanation: this is the full path to your WHMCS. If you just use /path/to/whmcs/feeds/cartnumitems.php the cart will NOT update. You must use: http://link.towhmcs.com/feeds/cartnumitems.php Hope this helps someone else!
  2. Brian, Thank you for taking the time to reply. Will this also display the cart image with "view cart" next to it? or does this just display the output of cart count and cart total (ie: (1) or (2) products in cart) ?
  3. Hi WHMCS community! We are using a custom HTML template for our site design and this is separate from our billing system which is located at client.xxxxdomain.com We would like to know how to display the cart count outside of the WHMCS directory and to display it on our HTML coded template. Is there a way to call the cart function? If so, can someone please provide the code? Thank you for your help!
×
×
  • 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