Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Shopping Cart and Counter

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-21-2016, 08:42 AM
 
RogerYork RogerYork is offline
    
Join Date: Sep 2016
Posts: 1
 

Default Shopping Cart and Counter

Where can I find the Java code that shows the shopping basket icon with the # of items in the bag?

I would like to put that code on my home page if possible.
__________________
RogerYork
Reply With Quote
  #2  
Old 09-22-2016, 10:25 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Shopping Cart and Counter

The widget that renders the cart icon and other related information is this one: \XLite\View\Minicart

When a product is added to cart, JavaScript reloads that widget from the server and replaces it on the page. The JavaScript code is located in the skins/default/en/mini_cart/minicart.js file (X-Cart 5.2.x).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:07 AM.

   

 
X-Cart forums © 2001-2020