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

Display Top Menu on Checkout page

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-31-2014, 03:53 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Display Top Menu on Checkout page

Hi,
It seems theat the SimpleCMS top menu, doesn't get displayed on the checkout page .....
How can I make it so this is displayed .... I have tried setting the isVisible function to always be true with this code in my module:

Code:
class Top extends \XLite\View\Menu\Customer\Top implements \XLite\Base\IDecorator { /** * Check if widget is visible * * @return boolean */ protected function isVisible() { // return always visible (ie not hidden from checkout) return true; } }

But it doesn't seem to make any difference .... any ideas?

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
Reply With Quote
  #2  
Old 10-31-2014, 05:18 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Display Top Menu on Checkout page

It should work. In fact it works, on my local installation.
Could you please send the entire class where you have this code?

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #3  
Old 10-31-2014, 06:21 AM
 
JannieB JannieB is offline
 

Senior Member
  
Join Date: Sep 2004
Posts: 117
 

Default Re: Display Top Menu on Checkout page

Thanks Tony...

I have got it working now. I had put my revised top.php file in a subfolder in my module and for some reason it didn't like this (although other files are in sub folders and are OK?) Anyway I re-uploaded it, re-deployed and all fine now - phew!

Jan
__________________
Jan Beesley
(Currently Xcart 5
Previously XCart Gold from 3.5....)
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 08:24 PM.

   

 
X-Cart forums © 2001-2020