You can use some Javascript to trigger the click. For example:
$('.product-thumb').click(function(event) {
var product_link = $(this).find('product-thumb-primary a');
// Don't trigger a click on the existing link
if(!event.target.href && product_link.length) {
document.location.href = product_link.attr('href');
}
});
Un-tested but that’s the basic logic.
Related Posts:
- Change WooCommerce Image Size in One Product CAtegory
- Wrong product thumbnail size
- Caption not showing with Woo commerce thumbnails
- How to change product thumbnail size in storefront theme
- How to tell woocommerce slider to use thumbnails
- How do I change the woocommerce product gallery to show all thumbnails instead of three at a time in a carousel?
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- How to remove an action within a class with extends
- How to disable Woocommerce password recovery and use the default WordPress password reset page?
- Display WooCommerce size product attribute on shop page
- WooCommerce add_to_cart() with custom price [closed]
- Declaring custom woocommerce product type as virtual / downloadable only [closed]
- How to remove_action inside class [duplicate]
- Redirect if current user is logged out and current page is /my-account
- woocommerce_before_calculate_totals in woocommerce 3.0
- Display a list subcategories under the main product category thumbnails?
- Unable to programmatically remove product from WooCommerce cart
- WooCommerce Apply Coupon to order AFTER taxes
- Rewriting Woocommerce Product Filters To URL Segments
- How to Change WooCommerce Variable product pricing by SKU or visible children id
- Is it possible to cache ?wc-ajax=get_variation
- echo product id and product_item_key in cart [closed]
- Redirect the single product page link to the shop page
- Is WooCommerce updates for WordPress necessary? [closed]
- How can I display *only* the child category of a product?
- Display list of categories that contain products with a specific tag
- How to display empty stars on products with woocommerce?
- Product admin page breaking with too many product variations [closed]
- WooCommerce limited role
- Skip WooCommerce 4.5.x onboarding with WP-CLI [closed]
- Automatically making a newly saved payment method default in WooCommerce
- WooCommerce update_shipping_method ajax call wipes shipping method set on non-checkout page [closed]
- Product options/variations notice displays as an Alert [closed]
- Product variation attributes does not appear as it should in the cart – woocommerce [closed]
- Hide decimal on hompage, category and product page
- Get order_id from the product_id in woocommece [closed]
- Woocommerce: how to know if the customer is canceled the order or the shop owner? [closed]
- Shipping methods in dropdown instead of radio buttons [closed]
- 600k of option_name “c_facebook_background_product_sync_job”
- Adding Buy Button to Blog Post (Woocommerce) [closed]
- Woocommerce get the Archive/Category slug of the current category page
- Woocommerce Variable Product – Please choose product options… [closed]
- How to replace WooCommerce Product Gallery Trigger icon using PHP/CSS? [closed]
- woocommerce_order_status_completed not working
- Woocommerce – auto logout after payment
- Display SKU for each Single product title in group product!
- Synchronise Renewals on existing subscriptions [closed]
- How to show the urls inside the simple product when the customer buys it?
- Custom template – query issues
- Sort downloads by most recently purchased first in my account WooCommerce [closed]
- Hide shipping method in woocommerce if custom checkbox field is selected
- how to change add to cart button to call for price button in one of product variation?
- Next/Previous Product with custom order by price & products inside the product category [closed]
- Submitting product attributes via Ninja Forms wordpress?
- apply_filter and add_filter conflict
- Migrating WordPress + WooCommerce from server to Local
- wp-cron and woocommerce subscriptions killing performance
- How to Add “parent category description” in Woocommerce sub category page if there is no description available for child category
- How to make wocommerce shop products same heigt
- Woocommerce Variation product added twice to cart
- Woocommerce product query not working in other WPML languages
- Woocommerce get attributes
- Add custom field address_3 before city in user profile
- Woocommerce Ajax add to cart redirect to homepage
- How to merge 2 accounts with same email address after merge of 2 woocommerce databases
- Get $order in wp_head
- Update WooCommerce stock status with SQL query if stock value is greater than 0
- How to find which last line executed in wordpress?
- How to save a Woocomerce metabox input as a metadata field
- Adding order details in woocommerce all booking dashboard
- woocommerce cart related issue cart not deleted
- WooCommerce – Hide price and add to cart button
- Send a different “thank you” email based on payment method
- WordPress Migration
- some products free and some product is not free for shipping
- Importing Attributes in to Woocommerce
- woocomerce products and categories don’t display fixed
- Save Woocomerce discount as percentage to database
- Woocommerce Shipping based on condition and cart value
- Update order status based on condition
- How to bypass Woocommerce checkout validation from the plugin? [closed]
- Category with description and thumbnail
- Woocommerce – Remove ‘Buy Product’ Button + Make Product Thumbnails Clickable
- Issue with Woocommerce and extra field in orders data
- Give auto discount to upsells products
- WooCommerce Table Rates not splitting up
- How can I let the user choose size of a shoe in the store? [closed]
- Hide/show specific products for backend users in woocommerce
- I’d like to add a button under the “Add to Cart” button which says “Buy on Amazon” and links to my Amazon product page [closed]
- If YITH Wishlist page is set to the WooCommerce my-account endpoint, the endpoints stop working all together. Any solution?
- WooCommerce pay per photo upload [closed]
- Making product image in woocommerce invoice linkable [closed]
- Woocommerce checkout column total too small can not get it wider [closed]
- Fetch products with filter by similar categories at same time
- Trying query woocommerce product order by menu order and stock status
- editing product page template – getting template for related products not working
- Woocommerce | I want to the button ‘Add to Cart’ on the (all) product-page changed by just ‘open product’ button
- Adding line breaks in WooCommerce order processing emails
- Woocommerce backend sorting product drag drop by menu_order to date