I would like to integrate a banner in the top of category product page (sales category) (see screenshot: http://jmpsave.free.fr/img/how-can-i-add-pix.jpg )
how can I do please? Thanks !
This is not an easy fix but you can open woocommerce-config folder and look for config.php. Find this line.
You can echo a new div on top of that containing the code for the new banner. You may have to find a solution on how to upload category images.
Hi Ismael, thanks for your answer
And in the next update even if i proceed to modification in config.php page, it will disappear ?
And if i make this modification, my banner will display in all of “categories page” ?
How can i put my banner in only one” product categories pages ” ? not for all
You’ll need to do something like an: if category name, echo banner html. Its not something that we can do as support unfortunately since it requires a good bit of customization for your specific needs.
If you aren’t comfortable with php and html, I would recommend looking into a freelance web developer. I would guess the whole thing could be done in under 2 hours so it should be very expensive to have modified.
When you do future updates, you’ll just need to save copies of the file so that you can re-add in your changes.
The topic ‘add banner in top of product category page’ is closed to new replies.