Jump to content
jayp1

Add Extra Text Field To Category Pages

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

Hi

 

Is there a modual for this?

 

I am not 100% with coding and going into filesto edit you see

 

Thank You

Share this post


Link to post
Share on other sites

you need to create a simple module for this. you can also search for the free modules allowing to add html in specific pages .

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.


×
×
  • Create New...

Important Information

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