homyroom
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Product Image Thumbnail to External Link in New TabHi there,
Sorry but we tried with that code and it is still not working.If this helps please note that is our website: https://www.homyroom.es/productos/
Some time ago we achieved to open affiliate product image external links with this code but not in a new tab:
add_action( 'template_redirect', 'redirect_external_products' ); function redirect_external_products() { global $post; if ( is_singular( 'product' ) && ! empty( $post ) && ( $product = wc_get_product( $post ) ) && $product->is_type( 'external' ) ) { wp_redirect( $product->get_product_url() ); exit; } }
How can we do it in a new tab?
Thanks for your help!
Forum: Plugins
In reply to: [WooCommerce] Product Image Thumbnail to External Link in New TabHi,
I inserted the code with “Code Snippets” but it could no be activated as you can see in the following screenshot:
https://ibb.co/MpSMgySThe error message said this: “The code snippet has been disabled due to an error on line 2: Cannot redeclare woocommerce_template_loop_product_link_open function”.
Any idea to solve this?
Thanks a lot for your help!
Forum: Plugins
In reply to: [Products Compare for WooCommerce] version responsiveHi @giammimosc
Not at all. Just added some custom CSS but the chart does not adapt perfectly to mobile screen.
I would like to achieve something like the compare table of this website: https://www.oracdecor.com/es_es/molduras
@razyrx Could you help both of us to get something like the website exampled above?
Thank you so much.
Best regards.
Forum: Plugins
In reply to: [Products Compare for WooCommerce] version responsiveHi Oleg,
Could you please provide us with this CSS code?
Many thanks in advance!
Homyroom.Forum: Plugins
In reply to: [Products Compare for WooCommerce] version responsiveHi Oleg,
What I meant is how can we reduce the chart to adapt it to the mobile screen so that appears in the same way than in the pc version, which is in full screen and with the first row and first column fixed.
Thanks in advance.