hide hikashop view toolbar on 1 url

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
2 years 10 months ago #338551

-- HikaShop version -- : 4.4.5
-- HikaMarket version -- : 4.0.0

Hello,

We want the back button in the order view to link to a specific url (e.g. .../dashboard) OR we want to hide the complete toolbar on the url ..../account/bestellingen-restaurant/order.


Is there a way to do this??

Regards,
Michiel

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 10 months ago #338581

Hello,

You have the trigger "onHikamarketBeforeDisplayView" which is working just like the HikaShop Display View trigger :
www.hikashop.com/support/documentation/6...hopBeforeDisplayView

You can access to the " $view->toolbar " information and much more.

Otherwise, using a view override, you can retrieve the current URL of the page and change the toolbar content depending that.
You have HikaShop helpers to get the URL or read the Joomla parameters ("ctrl", "task", etc)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
2 years 10 months ago #338813

Hi,

To explain it a bit more, i made some screenshots for you..



As long as we stay on this order status it is fine but when...

Then we get the error and we can not go back to our dashboard. Hope you can help.
If we use the original code we then go back to the hikamarket vendor dashboard but we do not want that..
Really hope you can help.
Regards,
Mark

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
2 years 10 months ago #338873

Hello,

Your "ERR_CACHE_MISS" seems to be an issue with a cache component/plugin you have in your website.

Regarding the modification of the toolbar content ; my previous message contains two solutions to perform such modification.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.094 seconds
Powered by Kunena Forum