X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   How i can dispplay popup minicart on checkout page (https://forum.x-cart.com/showthread.php?t=72559)

dharmendralko 08-10-2015 04:55 AM

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

qualiteam 08-17-2015 12:03 AM

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.

dharmendralko 08-17-2015 12:33 AM

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

qualiteam 08-19-2015 09:40 AM

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.


All times are GMT -8. The time now is 06:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.