• Best Magento

    Marketplace Extension

  • Most Reliable

    & Dedicated Support

  • Most Reasonable

    & Flexible Price

How to add menu items to vendor dashboard?

In order to add menu items to vendor dashboard first you need to create a magento custom extension then put this xml code to config.xml of your extension.

  1. <?xml version="1.0"?>
  2. <config>
  3. <!-- Some code here -->
  4. <vendors>
  5. <menu>
  6. <credit module="vendorscredit">
  7. <title>Credit</title>
  8. <frontend_class>credit</frontend_class>
  9. <sort_order>40</sort_order>
  10. <children>
  11. <withdraw>
  12. <title>Withdraw Funds</title>
  13. <sort_order>10</sort_order>
  14. <action>vendors/credit_withdraw/</action>
  15. </withdraw>
  16. <withdrawal_history>
  17. <title>Withdrawal History</title>
  18. <sort_order>20</sort_order>
  19. <action>vendors/credit_withdraw/history</action>
  20. </withdrawal_history>
  21. </children>
  22. </credit>
  23. <sales>
  24. <children>
  25. <transaction>
  26. <title>Transactions</title>
  27. <sort_order>50</sort_order>
  28. <action>vendors/credit_transaction/</action>
  29. </transaction>
  30. </children>
  31. </sales>
  32. </menu>
  33. </vendors>
  34. <!-- Some code here -->
  35. </config>