Skip Navigation

[Resolved] How to add to a product image in shop page a link to a single product page

This support ticket is created 7 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Diego Walter Ricciardi 7 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#420351

I am trying to: Link a product image from Woocommerce Shop Page to the Single Product Page of the product

I visited this URL: hidden link

I expected to see: Click the image and go to the Single Product Page of the product

Instead, I got: Nothing.

I found this code in the forum but i dont know how to use it.

This is the code i am using right now:

<tr>
	<td><center>[wpv-post-featured-image size='tiny-thumb']</center></td>
	<td><center><h4>[wpv-post-link]</h4></center></td>
	<td><center>[wpv-post-taxonomy type="pa_marca-de-vehiculo" separator=", " format="text" show="name" order="asc"]</center></td>
	<td><center>[wpv-post-taxonomy type="pa_modelo-de-vehiculo" separator=", " format="text" show="name" order="asc"]</center></td>
	<td><center>[wpv-post-taxonomy type="pa_descripcion" separator=", " format="text" show="name" order="asc"]</center></td>
	<td><center>[wpv-post-taxonomy type="pa_medida" separator=", " format="text" show="name" order="asc"]</center></td>
	<td><center>[wpv-post-taxonomy type="pa_proveedor" separator=", " format="text" show="name" order="asc"]</center></td>
	<td><center><h5>[wpv-woo-product-price]</h5></center></br>
	[wpv-woo-buy-or-select add_to_cart_text="Agregar al pedido" link_to_product_text="" group_add_to_cart_text="" external_add_to_cart_text="" show_quantity_in_button="no" 		show_variation_options="no"]</td>
</tr>

#420381

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Could you please try following code:

<tr>
    <td><center>
<a class="item featured-item" href="[wpv-post-url]" title="[wpv-post-title output='raw' ]">      
[wpv-post-featured-image size='tiny-thumb']
</a>
</center></td>
    <td><center><h4>[wpv-post-link]</h4></center></td>
    <td><center>[wpv-post-taxonomy type="pa_marca-de-vehiculo" separator=", " format="text" show="name" order="asc"]</center></td>
    <td><center>[wpv-post-taxonomy type="pa_modelo-de-vehiculo" separator=", " format="text" show="name" order="asc"]</center></td>
    <td><center>[wpv-post-taxonomy type="pa_descripcion" separator=", " format="text" show="name" order="asc"]</center></td>
    <td><center>[wpv-post-taxonomy type="pa_medida" separator=", " format="text" show="name" order="asc"]</center></td>
    <td><center>[wpv-post-taxonomy type="pa_proveedor" separator=", " format="text" show="name" order="asc"]</center></td>
    <td><center><h5>[wpv-woo-product-price]</h5></center></br>
    [wpv-woo-buy-or-select add_to_cart_text="Agregar al pedido" link_to_product_text="" group_add_to_cart_text="" external_add_to_cart_text="" show_quantity_in_button="no"         show_variation_options="no"]</td>
</tr>

I hope above solution will help you to resolve your issue.

#420395

Hello Minesh, It works perfect, thank you very much.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.