 Oliver
|
I've update my theme with woocommerce to WordPress 3.5 and all my items of woocommerce are now showed twice
|
 Oliver
|
There is an image about my problem
|
 Harshad
|
Can you please paste the php code of page template which displays product?
|
 Oliver
|
<?php get_header(); ?>
<?php //Display Page Header
global $wp_query;
$postid = $wp_query->post->ID;
echo page_header( get_post_meta($postid, 'qns_page_header_image', true) );
wp_reset_query();
?>
<!– BEGIN .section –>
<div class="section">
<ul class="columns-content page-content clearfix">
<!– BEGIN .col-main –>
<li class="<?php echo sidebar_position('primary-content'); ?>">
<h2 class="page-title">
<?php the_title(); ?>
</h2>
<?php load_template( get_template_directory() . '/includes/loop.php' ); ?>
<!– END .col-main –>
</li>
<?php get_sidebar(); ?>
</ul>
<!– END .section –>
</div>
<?php get_footer(); ?>
|
 Oliver
|
And here is the page template product:
<?php get_header('shop'); ?>
<?php do_action('woocommerce_before_main_content'); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php woocommerce_get_template_part( 'content', 'single-product' ); ?>
<?php endwhile; // end of the loop. ?>
<?php
/**
* woocommerce_after_main_content hook
*
* @hooked woocommerce_output_content_wrapper_end – 10 (outputs closing divs for the content)
*/
do_action('woocommerce_after_main_content');
?>
<?php
/**
* woocommerce_sidebar hook
*
* @hooked woocommerce_get_sidebar – 10
*/
do_action('woocommerce_sidebar');
?>
<?php get_footer('shop'); ?>
|
 Harshad
|
Can you please replace
<?php while ( have_posts() ) : the_post(); ?>
<?php woocommerce_get_template_part( 'content', 'single-product' ); ?>
<?php endwhile; // end of the loop. ?>
with
<?php the_post(); ?>
<?php woocommerce_get_template_part( 'content', 'single-product' ); ?>
Let me know if this works.
|
 Florian
|
hi everyone,
same problem in jigoshop after the upgrade. The product displays twice.
Is there any fix ?
|
 Gabriel
|
I have the same issue with … Jigoshop
|
 Oliver
|
No, it does not… The problem continues
|
 Harshad
|
Dear Oliver,
Can you please send me your ftp and wp-admin details to my email address?
Please include the location of file which displays the products, Also don't forget to include this forum link for reference.
|
 Oliver
|
Ive sent my site information.
Anyway you can see this problem is general to other customers. I have other themes and it happens the same
|
 Harshad
|
Sorry the details are not working, I have replied back to your email.
|
 Oliver
|
I sent my site with my pw.
Now my ftp.
|
 Harshad
|
Dear Oliver,
Can you please check your sites product page?
|
 Oliver
|
It seems working…
Anyway, I have several themes and it happens the same. What is the rule to solve this bug?
Editting the template products is no nice :/
|