Inserting Image in to Product Page & Another Question

This topic has 6 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Olga Barlow

  • Avatar: West_Socks
    West Socks
    Participant
    May 12, 2020 at 16:04

    Hey, I was wondering if there is a way on my current product page to insert an image right under the add to cart button without having to rebuild my product page? I don’t mind adding something to the theme code. I would like to add an image of a testimonial before the “SKU”.

    Secondly, I was trying to update the WP visual composer plugin and was not successful. Can you help assist?

    Please, contact administrator
    for this information.
    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 13, 2020 at 08:19

    Hello,

    There are 2 ways to add the custom image to that place:
    1) Using a single product builder and use the Custom HTML block or Widget area before the product meta.
    2) Use WooCommerce visual hooks in child theme if you have PHP skills https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

    Did you try to update WPBakery manually https://www.8theme.com/documentation/xstore/plugins/plugins-update/ or using autoupdate option? Because bundled plugins do not support autoupdate https://help.market.envato.com/hc/en-us/articles/213762463-Bundled-Plugins

    Regards

    Avatar: West_Socks
    West Socks
    Participant
    May 13, 2020 at 18:29

    1) To the first point, I will use google optimize to insert the image.

    2) I keep getting an error message when trying to update WP.

    3) When you hover over a product image the title appears! How do you hide that?

    Sec

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 13, 2020 at 20:09

    Hello,

    1) I’m not sure the way you will implement this but if it’s work for you – no problem.
    2) What error message? Provide screenshot, please.
    3) When you upload images in WordPress it has titles and this title is rendered when you show images, this is normal in WordPress, theme does not have option to hide that title appearance. You can either search for third-party plugins to hide image titles or try to remove it by adding the below code before

    <script>jQuery(document).ready(function($) {
    $(‘img[title]’).each(function() { $(this).removeAttr(‘title’); });
    });</script>

    Or maybe some solution from here will help you https://stackoverflow.com/questions/11257668/is-it-possible-to-hide-title-when-hovering-image
    Anyway, it’s not related to theme.

    Regards

    Avatar: West_Socks
    West Socks
    Participant
    May 21, 2020 at 16:00

    That worked thank you. Quick question: On product pages, is there a way to recommend products in that category?

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 21, 2020 at 18:11

    Hello,

    You are welcome.
    Are you talking about single product page? You can use upsells to recommend something https://docs.woocommerce.com/document/related-products-up-sells-and-cross-sells/

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Inserting Image in to Product Page & Another Question’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.