PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, June 30, 2022

[FIXED] How do I add custom fields into the Brands page in admin back office Prestashop?

 June 30, 2022     custom-fields, hook, php, prestashop     No comments   

Issue

I'm trying to add a custom field into the Brands page in the admin back office.

Before this, I successfully added a custom dropdown box in the Category page in the admin back office with hookActionCategoryFormBuilderModifier and used hookActionAfterCreateCategoryFormHandler and hookActionAfterUpdateCategoryFormHandler to handle the form's update and create logic.

However, when I try to do the same with in the Brand page (hookActionBrandFormBuilderModifier) nothing happens. Is there another way to do this? I can't seem to find another hook related to Brands so any help is very much appreciated.


Solution

Please try to use:

hookActionManufacturerFormBuilderModifier.

Replace Brand with the Manufacturer as in reality brands, are just manufacturers and wording have changed but not a class name for example.



Answered By - Krystian Podemski
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing