Jump to content

[solved]how to add image caption


Recommended Posts

by default it isn't possible to define image caption in back office

 

Thanks vekia.

 

I have added caption field in the table Table: ps_image and then added below code in admin/themes/default/template/controllers/products/images.tpl

 

 

<td class="center">
<input type="text"   name="caption"      >
</td>

 

i have tried some code to retrieve caption field from database but i cant get it.

 

can you please help,in which contollere i have to add the code to retrieve and edit/add caption field

Link to comment
Share on other sites

but when you save caption in the back office - you've got it in the database field that yu created?

 

there is no caption option in deafult.I have created own caption fields in backoffice and databse table.

 

But i cannot save the fields in DB.

Link to comment
Share on other sites

to be honest, i don't know why PrestaTeam remove image captions from prestashop 1.5

i suppose that many merchants don't fill this field, so it was bad for seo.

Now caption is generated automatically - it is based on produt name.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...
×
×
  • Create New...