Features

Add Html Block between Products rows on Archive Page

7mo agoIn Review

Good morning,

I hope you're doing well. Thank you for your quality work on this theme.

I would like to add reassurance blocks (HTML Block) every 2 lines on the product category pages.

I tried with the woocommerce hook for category pages, but it doesn't work on your theme. I saw in the documentation the hooks for single product pages but not for category pages. Woocommerce hooks are non-functional on the Xstore theme.

4 comments

  1. Anonymous7mo ago

    Hello @Ben,
    Could you please, provide us an example of the result you want to achive ? Maybe you have real web-site where we could check it ? What hooks did you try ? Did you contact with the support previosly ? You should know that if the "future request" is not popular among others we take time to wait until it takes few more voices rather than 1-2 max.
    Note: if you need this feature being implemented ASAP you can always submit a request for additional customization -> https://www.8theme.com/account/#etheme_customization_panel.
    Kind regards, Jack Richardson

    1. Ben7mo ago

      Hello Jack,
      Thank you for this feedback.
      So all the questions were actually raised with the support who suggested I submit it here.

      Here is the link to my support request :

      https://www.8theme.com/topic/add-content-after-the-second-row-of-products-in-the-archive-view/

      I have just requested an implementation of my proposal. I received your email. I will detail this project to get an idea of ​​the extra to pay.
      THANKS.

    2. Anonymous7mo ago

      Hello @Ben
      As you know, we implement the first most-voted requests, so we should wait until your request becomes more popular among others. For this time I will mark your request with 'under review' badge so it will be more "attractive" among others.
      If you need to have such feature being implemented ASAP you may submit a request for additional customization -> https://www.8theme.com/account/#etheme_customization_panel.
      Kind regards, Jack Richardson

    3. Anonymous7mo ago

      Hello @Ben,
      Sorry for the delay in answering, did you figure our your request ? If not yet, you can try to add next custom php snippet in your child-theme/functions.php
      add_action('etheme_product_grid_list_after_product_item', function() {
      global $woocommerce_loop;
      $repeat_banner_each_x_product = 5; // after each 5 product banner be shown
      if ( ($woocommerce_loop['loop'] % $repeat_banner_each_x_product) == 0) {
      if ( is_shop() )
      echo 'Custom text after each 5th product item on shop page';
      elseif ( is_product_category() )
      echo ''.do_shortcode('[block id="375"]').'';
      }
      });

      Frontend results: https://gyazo.com/7e9c5870fedcd52cd3bf2fc026462808 (Product category), https://gyazo.com/088799293ff0f13ed8338280d3e13595 (Shop page)