make more link to product page

Take a look at: http://drimmersnj.wpengine.com/product-category/microwave/built-in-microwave/
I also want it when you click on the product image, it also links to the product page, how can I do this?

  • Adam Czajczyk

    Hello Jonathan,

    I hope you're well today and thank you for your question!

    In order to achieve this some customization would have to be added to your current theme. First step is to create a child-theme as all the changes should always be made to the child theme (for safety and not to be lost upon update). It seems that you already got a child theme created, though it's not active. You would however want to use that or create a new one and switch to it.

    Then, for making images clickable so clicking on product image would follow to the product page, check this handy tutorial please:

    https://slocumthemes.com/2015/10/how-to-make-woocommerce-thumbnails-clickable/

    Following that same principle explained there you could also add "More" link there. The code to add within WordPress loop (e.g. under the product name, which in a page template is displayed with "the_title()" function) would be like that:

    <a href="<?php echo get_permalink( $post->ID ); ?>">More</a>

    If you have additional questions, let me know please.

    Best regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.