this.isCheckoutLayout() to also hide on view cart
I have also been searching the forums but to no avail with this as well.
We have a menu on our site that is shown on all pages - but we would not like them shown on view cart AND checkout. I found that using this PHP Code:
works to hide everything from the final check out, but we were also looking to hide everything from the view cart page as well. Any info on what the correct code would be for that? thanks! |
Re: this.isCheckoutLayout() to also hide on view cart
To check if it is the cart page you can use the following code in your View class:
PHP Code:
This way you don't need any checks in the template of your menu widget - isVisible() method will make it disappear on checkout and cart pages. |
All times are GMT -8. The time now is 05:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.