Fix lightbox Closes #2451.

This commit is contained in:
Mike Jolley 2013-02-14 17:12:21 +00:00
parent 1ccd60d2cf
commit 858465b991
3 changed files with 4 additions and 4 deletions

View File

@ -454,7 +454,7 @@ jQuery( function($){
// Tax
if (woocommerce_writepanel_params.round_at_subtotal=='yes') {
cart_tax = parseFloat( accounting.toFixed( cart_tax, 2 ) );
}
// Total

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@ global $post, $woocommerce;
<?php if ( has_post_thumbnail() ) : ?>
<a itemprop="image" href="<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>" rel="prettyPhoto[product-gallery]" title="<?php echo get_the_title( get_post_thumbnail_id() ); ?>"><?php echo get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) ?></a>
<a class="woocommerce-main-image zoom" itemprop="image" href="<?php echo wp_get_attachment_url( get_post_thumbnail_id() ); ?>" rel="prettyPhoto[product-gallery]" title="<?php echo get_the_title( get_post_thumbnail_id() ); ?>"><?php echo get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) ) ?></a>
<?php else : ?>