Questions tagged [customtab]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
5answers
2k views

Magento 2 : How to show/Hide custom tab on product detail page based on product attribute?

I have created a product attribute like, display_custom_tab, if it is yes then show custom tab on product detail page, otherwise do not show tab. can anyone please tell me how to write condition in ...
2
votes
2answers
137 views

Condition on Custom Tab in Customer Account page

app\code\companyname\modulename\view\frontend\layout\default.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
0
votes
1answer
98 views

Magento 2.3.2 Add custom button on customer Dashboard but button not linked

Custom tab added on customer Dashboard but button not linked to my controller and not load my phtml file please check the code below and let me know if i made some mistake. Thanks Customtab/...
0
votes
0answers
20 views

How to link directly to custom customer tab in admin

I've created a custom tab that displays some information in the Customer Admin section. I'm just curious if there's a way to link directly to this tab so it's opened on page load. I don't want it the ...
0
votes
1answer
62 views

Magento 2.3 Customer My Account Custom Tab

I am trying to create a custom tab in Customer my account area and adding a link in the left bar to it, have followed the code structure similar to this article: https://www.mageplaza.com/devdocs/add-...
0
votes
0answers
14 views

Custom tab with session protection in magento 2

I have created a new tab in my account page. customer_account.xml page as below, <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
0
votes
1answer
41 views

How to save the custom tab data in the database

I am working on magento 2.4 and I added a custom tab in the edit product form in the admin panel. I want to save the data of my custom tab form. I am new to Magento and finding it hard to cop up with ...
0
votes
0answers
239 views

Magento 2 add custom tab in customer edit section and save data

I am able to add custom tab customer edit section when they click on it i am showing one form by using protected function _prepareForm() { this function form is showing but when i change data in that ...