[Closed] WordPress 3.5 update crash woocommerce shows twice product page

Home Support English Support [Closed] WordPress 3.5 update crash woocommerce shows twice product page

This topic contains 16 replies, has 5 voices, and was last updated by  navarro 1 year, 7 months ago. The support staff assigned to this topic is Harshad.

Viewing 15 posts - 1 through 15 (of 17 total)
Author Posts
Author Posts
December 12, 2012 at 1:00 pm #90078

Oliver

I've update my theme with woocommerce to WordPress 3.5 and all my items of woocommerce are now showed twice :(

December 12, 2012 at 1:05 pm #90081

Oliver

There is an image about my problem

December 12, 2012 at 2:06 pm #90115

Harshad
Forum moderator

Can you please paste the php code of page template which displays product?

December 12, 2012 at 2:47 pm #90137

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(); ?>

December 12, 2012 at 2:52 pm #90142

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'); ?>

December 12, 2012 at 3:36 pm #90172

Harshad
Forum moderator

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.

December 12, 2012 at 3:55 pm #90184

Florian

hi everyone,

same problem in jigoshop after the upgrade. The product displays twice.
Is there any fix ?

December 12, 2012 at 3:59 pm #90188

Gabriel

I have the same issue with … Jigoshop :-(

December 12, 2012 at 4:39 pm #90207

Oliver

No, it does not… The problem continues

December 13, 2012 at 5:12 am #90285

Harshad
Forum moderator

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.

December 13, 2012 at 7:50 am #90321

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 :(

December 13, 2012 at 7:59 am #90323

Harshad
Forum moderator

Sorry the details are not working, I have replied back to your email.

December 13, 2012 at 8:24 am #90327

Oliver

I sent my site with my pw.

Now my ftp.

December 13, 2012 at 9:40 am #90349

Harshad
Forum moderator

Dear Oliver,

Can you please check your sites product page?

December 13, 2012 at 10:28 am #90374

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 :/

Viewing 15 posts - 1 through 15 (of 17 total)

The topic ‘[Closed] WordPress 3.5 update crash woocommerce shows twice product page’ is closed to new replies.