NaveenYadav Posted August 9, 2013 Share Posted August 9, 2013 Hello All, I need to add another category image in prestashop1.5 back-office. how can I add this. Please help me out of this problem. Thanks Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 9, 2013 Share Posted August 9, 2013 preferences/images/add new/name it../save ... Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 + dont forget to regenerate thumbnails for new image type, it's necessary Link to comment Share on other sites More sharing options...
NaveenYadav Posted August 9, 2013 Author Share Posted August 9, 2013 Thanks for reply but I need different. I need to add two different Images for a single category. Please reply asap. Thanks Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 by default it isn't possible, if you want to have additional field to insert second image - it is necessary to change the core (not so easy as it seems) Link to comment Share on other sites More sharing options...
NaveenYadav Posted August 9, 2013 Author Share Posted August 9, 2013 Thanks for Reply We have to do something like that so if you have any idea then please share. Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 there is also some workaround, you can modify the category.tpl file only. 1) upload your category images manually to img/cms/ directory 2) in the category.tpl file use simple if conditions: {if $smarty.get.id_cat==3} <img src="URL TO YOUR IMAGE"/> {/if} you can use as many if conditions as you want - with this you will be able to define additional image for each category without any CORE modifications Link to comment Share on other sites More sharing options...
Recommended Posts