Archived topic
Hook to implement some html before products in category page
4 replies · Started by johnaps on January 27, 2020
Hello!
I have created a hook to implement some html
{
<div class="owl-item active"><div class="featuredItem col_lg_3 radiusCorners">
<div class="imageArea col_6">
<img src="https://images.you.gr/ecomfiles/410/410120_150.jpg" /></div>
<div class="textArea col_6">
<h3 class="title">Laptop HP 15.6'' (i5-8265U/4GB/1TB+128SSD/MX110 2GB/win10) 15-da1005nv</h3>
<div class="price">
<span class="final-price">499,00 €</span>
<span class="old-price">698,99 €</span></div>
<div class="productTags">
<span class="specialTag bgOrange">-29%</span></div>
</div>
<a href="/ypologistes-perifereiaka/laptops/ola-ta-laptops/laptop-hp-15-6-(i5-8265u-4gb-1tb-128ssd-mx110-2gb"> </a>
</div></div>
}
before the products on one of my category pages but no matter what hook location i choose it doesnt display anything...
I tried even simple html like h2 and it didnt show...
Ηοοk locations i tried after_header, before_content, before_footer...
Can you help me as to what i am doing wrong? Because i want to do that to mane category pages...
I also tried many other woocommerce hook location with no luck...
I am selecting my page through 'product category' = 'my category of choice' in display rules
Hi there,
are you using the Product Category Archive display rule ?
thank you!
You're welcome