I'm using the shortcode [product_category category="jacuzzis" columns="3"] to show some amazon affiliate products on my website. The issue is that I don't want the user going to the product page under my domain but instead going to the amazon affiliate link. In order to do that I'm trying first eliminating the link on the products. I'm using this code remove_action( 'woocommerce_before_shop_loop_item',...
Originally asked by Sebastian Caicedo Alfonso on Stack Exchange (stackoverflow) (CC BY-SA 4.0).