• Resolved GIANNISCFA

    (@gianniscfa)


    what i am trying to do is to display a small image on the top right corner side of every product, and maybe some text before it

    i tried to find the thumbnail php to call it but no luck at all

    i tried to with elementor to create and put a custom img but couldnt fit it on the right top corner of the product

    keep in my mind that we would like to display it before the products page – in thumbnail img

    thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @gianniscfa, thank you for reaching out.

    I understand you are trying to display a small image in the top right corner of each product.

    For this kind of custom configuration, you may find it useful to consider hiring a professional developer or freelancer who specializes in WooCommerce. They can provide you with expert guidance to ensure your project achieves its required functionality.

    With that said, I suggest reaching out to a developer, as this involves custom coding and implementations. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    I’ll also leave this thread open in case any of the community members have suggestions on how to achieve this.

    Cheers!

    Thread Starter GIANNISCFA

    (@gianniscfa)

    thanks for the respond,

    i just need the hook php for the preview image

    before you entere to actual product page.

    thanks

    Hi @gianniscfa,

    I understand you want to display a small image and some text before the product page thumbnail, which is the image that shows up on the shop page or the product category page. There are a few ways to achieve this, depending on your preference and skill level.

    One way is to use a plugin that can add custom badges or labels to your product thumbnails. For example, you can use the WooCommerce Advanced Product Labels plugin. This plugin allows you to create and display unlimited labels for your products based on various conditions. You can also customize the appearance, position, and content of the labels.

    Another way is to use a code snippet that can hook into the product thumbnail and add your custom image and text. You can use the woocommerce_before_shop_loop_item_title hook, which is triggered before the product title on the shop page or the product category page. You can use this hook to output your custom image and text.

    Please note that writing or providing custom code is not within the scope of our support policy. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to display a small image and some text before the product page – thumbnail’ is closed to new replies.