Support

Home Forums Event Espresso Premium EE interaction with Woocommerce products archive page

EE interaction with Woocommerce products archive page

Posted: February 22, 2015 at 10:16 am

Viewing 5 reply threads


Dukes

February 22, 2015 at 10:16 am

I am using WC to sell products along with EE for seminar events. When displaying the WC product archive page only one product shows up on the first row. If I deactivate EE it displays correctly. I found the following code on the page before the product info:
<div class=”woocommerce-container”>
<div id=”content” style=”width:100%”>
<div class=”catalog-ordering clearfix”>
<ul class=”products clearfix products-4″>
<div id=”espresso-notices” style=”position: fixed; top: 258.75px; left: 381.5px; margin: 0px;”></div>
<div id=”espresso-ajax-loading” style=”display:none;”>
<div id=”espresso-ajax-notices”>

Can you tell me if there is a fix or workaround for this?

WP – 4.1.1
EE – 4.6.11.p updated
WC – 2.3.5

http://thetrainingjunction.com/?post_type=product

Thank you


Dean

February 23, 2015 at 4:24 am

Hi,

So there should be more than 5 products in total?

I installed Woocommerce alongside EE 4.6.11 and added some basic products (I didn’y change any settings) and I went to the same URL structure as you (/?post_type=product) and found no issues: http://take.ms/O9pRV

Therefore it could be a setting issue, or perhaps another plugin causing a conflict.

You could try disabling all plugins except EE and WC and see what happens.


Dukes

February 23, 2015 at 8:57 am

Hi Dean,
It seems to be Theme related. I am using Avada, which so far has been compatible with EE4. If I change to another theme (twenty-fifteeen or Enfold) the product page is structured correctly. If I disable EE4 using Avada it works correctly. I know if I contact Avada support they will say it is EE4s fault (they tend to do that a lot). Do you have any suggestions? I’m not really sure how it works but should I see EE references in the html and css on the WC product page? I really hope I don’t need to change themes. Thank you


Josh

  • Support Staff

February 23, 2015 at 2:06 pm

Hi Dukes,

You may need to contact Avada support to at least find out which template is being affected. I’m going to guess it’s the archive-product.php template, but they can confirm.

Once you have the right template, you can add the following line of code:
add_filter( 'FHEE__EE_Front_Controller__display_errors', '__return_false' );
just above where it says:
if ( have_posts() ) :


Dukes

February 23, 2015 at 2:25 pm

Wonderful…works like a charm. Thank you Josh. You guys rock!!!!


Josh

  • Support Staff

February 23, 2015 at 2:35 pm

You’re welcome Dukes.

Viewing 5 reply threads

The support post ‘EE interaction with Woocommerce products archive page’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso