Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
December 4, 2013 at 10:27 pm in reply to: Issues: Add to cart; Improvements: Already added, wishlist #35374
Ok, thanks.
I hope you can solve ASAP number one, and improve 2 and 3.
Best,
OSCAR
ok, perfect.
Thanks.
OSCAR
It works perfectly for me changing in functions.js:
jQuery(‘.variations_form’).find(‘select’).each( function()
for
jQuery(‘.variations_form cart’).find(‘select’).each( function()
and that is because “variations_form cart” is the correct class name in variable.php.
That said (and I have been struggling for a while) I can´t understand why swift support says nothing in an issue like this (our clients are confused with this selection problem, of course). If it would be a difficult issue they must say something; if it is something to solve in just seconds they must say something in seconds. I don´t understand.
Sorry Beinmahesh, but I think this post doesn´t allows me to write the code properly (I don´t know why).
Give me your e-mail if you are interested in the wholñe code.OSCAR
HI, in line 61 I have changed:
echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<li itemprop="image">%s<a href="%s" title="%s" rel="prettyPhoto[product-gallery]"><i class="icon-resize-full"></i></a></li>', $image_html, $image_link, $image_title ), $post->ID );
for:
echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<li itemprop="image"><a href="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a></li>', $image_link, $image_title, $image_html ), $post->ID );
In line 100:
echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '<li>%s<a href="%s" title="%s" rel="prettyPhoto[product-gallery]"><i class="icon-resize-full"></i></a></li>', $image_html, $image_link, $image_class, $image_title ), $attachment_id, $post->ID, $image_class );
for:
echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '<li><a href="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a></li>', $image_link, $image_class, $image_title, $image_html ), $attachment_id, $post->ID, $image_class );
in style css change the original #product-img-slider li a.zoom :
to`
#product-img-slider li a.zoom {
position: relative;
}
`
It works for me, but, of course, make your backups before…Good luck.
OSCAR
I managed to solve this question changing in product-image.php with the next code:
…
echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<li itemprop="image"><a href="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a></li>', $image_link, $image_title, $image_html ), $post->ID );
….
echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '<li><a href="%s" title="%s" rel="prettyPhoto[product-gallery]">%s</a></li>', $image_link, $image_class, $image_title, $image_html ), $attachment_id, $post->ID, $image_class );
,and in css:
#product-img-slider li a.zoom { position: relative; }
So now is working perfectly.
-
Posted in: We hit Power Elite.