Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello!
    I am experiencing the same issue: Logged off redirection only works for wp-admin, wp-login.php does not change the url and instead just displays the theme’s default 404 page (not the intended redirect page).
    I’ve been reading the code and trying to understand where it might be happening but I’m still unable to.

    This issue is the same as the one reported in this post, as you can tell in the video it recreates the situation by testing without Elementor enabled first, which in my case I am using too.

    I have used it with ‘above-compatible’ versions but not with the latest latest.
    The solution I found was to push filters last, since it seems it was being formatted before Woocommerce finished doing its stuff.

    This is inside includes/class-wcqu-filters.php:

    class WC_Quantities_and_Units_Filters {
    		
    	public function __construct() {
    		
    		// Bumped priority to 100 to fix issues
    
    		// Cart input box variable filters
    		add_filter( 'woocommerce_quantity_input_min', array( $this, 'input_min_value' ), 100, 2);
    		add_filter( 'woocommerce_quantity_input_max', array( $this, 'input_max_value' ), 100, 2);
    		add_filter( 'woocommerce_quantity_input_step', array( $this, 'input_step_value' ), 100, 2);
    		
    		// Product input box argument filter
    		add_filter( 'woocommerce_quantity_input_args', array( $this, 'input_set_all_values' ), 100, 2 );
    
    		add_filter( 'woocommerce_loop_add_to_cart_args', array( $this, 'woocommerce_loop_add_to_cart_args' ), 100, 2 );
    	}

    This worked for me, but of course, make a backup before trying.

    Thread Starter karmaral

    (@karmaral)

    Well… I’m not sure. Now it works. I was having conflict with another plugin but ended up pushing its filters to run last. Everything seems to have normalized.

    I mean, I didn’t change the code much. The total weight was what was being read to calculate the shipping, and now it seems to be modified accordingly.

    Usual working with outdated versions of things, I guess. I might have bumped a few versions of WP, I can’t remember.

    Anyways. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)