Merge pull request #15014 from woocommerce/fix/14995
Setup postdata after grouped loop so description etc is correct
This commit is contained in:
commit
1f11f1c5a5
|
@ -80,7 +80,8 @@ do_action( 'woocommerce_before_add_to_cart_form' ); ?>
|
|||
</tr>
|
||||
<?php
|
||||
}
|
||||
$post = $previous_post;
|
||||
// Return data to original post.
|
||||
setup_postdata( $post =& $previous_post );
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue