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 |
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. |
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 |
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.