Jump to content

Adding custom page on product details


Feree

Recommended Posts

Hi there!

I would like to add a "Modify IP" tab on the Actions sidebar when viewing a product, so the user can change the IP of the server he ordered.

I added a hook, so there is the tab item on the left, I also added a new page.

 

My questions are:

- how do I add the proper sidebars (Overview, Actions),  the example code stated: Menu::secondarySidebar('announcementList');, what are the names for the ones on the producdetails page?

- how do I get the context of the selected item, for example the id of the product?

productdetails.thumb.png.c40e2669ffc538617d86395a89041965.png

 

modifyIP.thumb.png.719d36cd3e73d72cbf15c16cfbe9576f.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated