esupply
Forum Replies Created
-
Hello Arosoft,
The cookie plugin indeed had Google maps blocked for some reason. I have no idea why this plugin even has this functionality!
This fixed the problem! Thank you so much.
Best,
AndreaForum: Plugins
In reply to: [WooCommerce] Add to cart error message without reloading page.Hello Joey,
Thank you for your explination, I found what’s causing the redirect and its the following snippet:
/* DISABLE SINGLE PRODUCT PAGE */ // remove single product page link remove_action( 'woocommerce_before_shop_loop_item','woocommerce_template_loop_product_link_open', 10 ); remove_action( 'woocommerce_after_shop_loop_item','woocommerce_template_loop_product_link_close', 5 ); // hide single product page completely add_filter( 'woocommerce_register_post_type_product','hide_product_page',12,1); function hide_product_page($args){ $args["publicly_queryable"]=false; $args["public"]=false; return $args; } function e12_remove_product_image_link( $html, $post_id ) { return preg_replace( "!<(a|/a).*?>!", '', $html ); } add_filter( 'woocommerce_single_product_image_thumbnail_html', 'e12_remove_product_image_link', 10, 2 );
This snippet disables the single product page (which I want and need), but also puts a redirect so it seems..
Can we edit this snippet so the redirect goes to the same page instead of the home page?
Best,
Forum: Plugins
In reply to: [XT Floating Cart for WooCommerce] Cart not clearing items for new userHi Georges,
It was indeed a caching plugin that was causing this issue. I’ve fixed it now!
Thank you for your help.Forum: Fixing WordPress
In reply to: Login/Register form not showing in IEHello James,
Thank you for your reply. It seems to be related to the AnyWhere Elementor shortcode that i’m using inside the Advanced tab plugin. When I put this shortcode outside this tab it works..
I found it! You can ignore this question above ??