Jump to content

Add Extra Text Field To Category Pages


jayp1
 Share

Recommended Posts

Hi

 

As standard in prestashop category pages you can :

 

1. Add a category banner

2. Category description via text/wysiwyg mode - this will generally show below the banner image at the top of the site.

 

I am wanting to add another text box within a category page. This text will be different for each category within my shop.

 

I will be using this to add a video & a small banner and hence would want it in a wysiwyg mode.

 

Please help?

 

Thank you for you time.

Share this post


Link to post
Share on other sites

in this case you have to:

 

1) create new field in category_lang table (TEXT)

2) modify object definition in category class

3) modify AdminCategoryController to save / edit / remove this field

4) modify template file to display field in catalog > catagory > edit /add page

  • Like 2

Share this post


Link to post
Share on other sites

  • 7 months later...
  • 1 month later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More