Kennedy5020 Posted June 25, 2013 Share Posted June 25, 2013 Hi, I have added image caption fields in admin products images tab using follwing code admin/themes/default/template/controllers/products/images.tpl <td id="td_image_id" class="pointer dragHandle center positionImage"> <input type="text" name="image_caption" value=image_caption > </td> I have added image_caption field in ps_image table.I have changed some script function in that same file . imageLine({$image->id}, "{$image->getExistingImgPath()}", {$image->position}, "{if $image->cover}enabled{else}forbbiden{/if}", assoc," {$image->image_caption}"); usong above data retreive from the table .now i have stuggle with update the image_caption field.how to update that field ? Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 please don't duplicate own threads: http://www.prestashop.com/forums/topic/256665-how-to-add-image-caption/page__p__1278833?do=findComment&comment=1278833 Link to comment Share on other sites More sharing options...
Recommended Posts