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

How i can dispplay popup minicart on checkout page

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-10-2015, 04:55 AM
 
dharmendralko dharmendralko is offline
 

Member
  
Join Date: Jun 2015
Location: Lucknow, India
Posts: 21
 

Smile How i can dispplay popup minicart on checkout page

Hi,

please help me.

i am using xcart version 5.2

I want to display minicart popup on checkout page as well like it display on all other pages.

please tell me what step will be for this changes

Thanks
__________________
Dharmendra Rao
PHP Developer
Lucknow, India
Reply With Quote
  #2  
Old 08-17-2015, 12:03 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How i can dispplay popup minicart on checkout page

Hello,

I'm not sure if I understand where you want the minicart be displayed on the checkout page - there seems to be no place for the minicart. Plus the checkout page already displays information on items in the cart when you click on the link in the third section.

Anyway, \XLite\View\Minicart is the "view" class that renders the minicart widget. So, you need a custom module that will decorate \XLite\View\Minicart::isVisible() method (or \XLite\Controller\Customer\ACustomer::isCheckoutLa yout()) and enable the widget on checkout pages too.
__________________
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
  #3  
Old 08-17-2015, 12:33 AM
 
dharmendralko dharmendralko is offline
 

Member
  
Join Date: Jun 2015
Location: Lucknow, India
Posts: 21
 

Default Re: How i can dispplay popup minicart on checkout page

Hi Alex,
Thank you for you response.
\XLite\View\Minicart::isVisible() this function is exactly that i want to enable minicart to checkout page

Thanks
__________________
Dharmendra Rao
PHP Developer
Lucknow, India
Reply With Quote
  #4  
Old 08-19-2015, 09:40 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: How i can dispplay popup minicart on checkout page

Just wanted to check whether you changed the function from a custom module, or by editing the original file.

You should implement all changes as custom modules (check the documentation at http://kb.x-cart.com/) and never edit original files as the next upgrade will drop your tweaks and replace them with unmodified files.
__________________
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)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:08 PM.

   

 
X-Cart forums © 2001-2020