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

    greetings

    pllease see http://www.noochibeads.com/shop 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).

    thx!!!

    #67651

    i figured out how to update the text on the show details button..it 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 http://www.noochibeads.com/wp-content/uploads/2012/02/DSC_3886.jpg this is the large lightbox image that opens up within the individual product page, such as http://www.noochibeads.com/shop/bracelet-9 )

    thx!

    #67652

    please help :) need to get this sorted before monday

    #67653

    In abundancewoocommerce-configconfig.php replace:

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

    with:

    $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>";

    #67663

    THANK YOU

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

    #67664

    Hey!

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

    Regards,

    Kriesi

    #67665

    http://imageshack.us/f/855/lookatbottomleftcorner.jpg/

    thx!

    oh, and chrome

    17.0.963.79 m

    #67666

    happens in ie8/9 and ff as well

    #67667

    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.

    #67668

    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 http://www.noochibeads.com

    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!

    #67669

    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 :)

    Regards,

    Devin

    #67670

    thx. standing by.

    #67671

    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): https://github.com/scaron/prettyphoto/issues

    #67672

    ty..

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

    #67673

    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!!

    #67674

    i done did fixed it momma

    https://github.com/toszcze/prettyphoto/commit/1aa271d58f9faf2e7ef321b106d5c9383c8088fb

    ty! topic can be closed..id 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.