Fix lightbox Closes #2451.
This commit is contained in:
parent
1ccd60d2cf
commit
858465b991
|
@ -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
|
@ -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 : ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue