Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
  • #10319


    pllease see and scroll below to see the products.

    all of these are variable products..and when i changed from simple, an additional box now appears when one hovers over the picture. we now have

    select options

    View details.

    I would like to:

    1) change the words for view details on the mouse over to something else, e.g. view larger picture

    2) change the link for this button to point to the higher res picture for each product (i know what link it is for each, just need to know how to change the target for the button).



    i figured out how to update the text on the show details now says “larger image”

    just now need help with the changed code so clicking on larger image opens up the correct high res photo (contained within the product details page, such as this is the large lightbox image that opens up within the individual product page, such as )



    please help :) need to get this sorted before monday


    In abundancewoocommerce-configconfig.php replace:

    echo "<a class='button show_details_button $extraClass' href='".get_permalink($post->ID)."'>".__('Show Details','avia_framework')."</a>";


    $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), 'full' );
    echo "<a class='button show_details_button $extraClass' rel='lightbox' href='".$large_image_url[0]."'>".__('Show Details','avia_framework')."</a>";



    bottom left of zoomed pic says “undefined” for all pics..any way i can get rid of that?



    Hm I cant see that. Probably a browser issue? mind attaching a screenshot and lling us which browser you are using?





    oh, and chrome

    17.0.963.79 m


    happens in ie8/9 and ff as well


    Hey zstopa,

    Make sure you have a description set for the image. You can set it by clicking on the image in the Featured media box then selecting it under the gallery.


    hey there, this issue sat for a bit as it was lower on the priority list and just coming back to it.

    the undefined thing is still happening. i have tried to enter in alt, caption, description info everywhere for each product photo but it doesnt take.

    to reproduce the issue

    go to

    scroll down to products

    hover over any and click on enlarge

    you will see undefined bottom left corner.

    note this does not show when the image is enlarged through the product page itself for that bracelet meaning it has to be related to the code Dude supplied above.

    any thoughts? ty!


    Hey zstopa,

    I’m not sure why its not picking up the data but then again I’m not as well versed in prettyPhoto implementation. I’ll refer it to Dude and the other support crew to take a look at asap :)




    thx. standing by.


    It’s imho a lightbox bug because my code above outputs a valid image link. You can try to add an empty alt=”” parameter to the link. Maybe this fixes the error. If not I’d contact the lightbox author and ask him to fix the error (it seems like the lightbox tries to display data which doesn’t exist):



    where exactly do i put the alt=””? tried a few places but then site wouldn’t load.


    so i went splunking into the error logs and found this

    [12-Apr-2012 15:49:23] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /home3/authenx9/public_html/wp-content/themes/propulsion/config-woocommerce/config.php on line 451

    and this is relating to the code supplied to me above, which is

    $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(get_the_ID()), ‘full’ );

    echo ““.__(‘Enlarge’,’avia_framework’).”“;

    i think the undefined thingy is due to a small code format error. can you plz see if all the i’s are dotted and the t’s are crossed? looks like just missing a piece of punctuation

    thank you!!


    i done did fixed it momma

    ty! topic can be add this one to the support knowledge base though

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘seeking assistance with mouse over effects on pictures on products page’ is closed to new replies.