[Resolved] Hook to implement some html before products in category page

Home Forums Support Hook to implement some html before products in category page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1145379
    johnaps

    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">&nbsp;</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…

    #1145403
    johnaps

    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

    #1145828
    David
    Staff
    Customer Support

    Hi there,

    are you using the Product Category Archive display rule ?

    #1145981
    johnaps

    thank you!

    #1146660
    David
    Staff
    Customer Support
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.