Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @aerodinomx me interesa la integracion de oxxo, ya tengo cuenta activa en stripe

    qubitoz

    (@qubitoz)

    You can try disabling the first two fields settings “wp-members’ dealing lock pages and posts.

    Greetings.

    I had the same problem this issue is a hosting one.
    You will need to add some functions to your theme functions.php file and change the name of the files.
    First you MUST rename:

    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.js
    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.min.js

    to:

    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery_cookie.js
    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery_cookie.min.js

    Now then add this to your theme functions.php file:

    add_action( 'wp_enqueue_scripts', 'custom_frontend_scripts' );
    
    function custom_frontend_scripts() {
    
      	global $post, $woocommerce;
    
    		$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    		wp_deregister_script( 'jquery-cookie' );
    		wp_register_script( 'jquery-cookie', $woocommerce->plugin_url() . '/assets/js/jquery-cookie/jquery_cookie' . $suffix . '.js', array( 'jquery' ), '1.3.1', true );
    
    }

    Take care!

    This issue is a hosting one. Contact your hosting provider for assistance with MOD_SECURITY.
    If you can not do that then you will need to add some functions to your theme functions.php file and change the name of the files.
    First First First! You MUST rename:

    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.js
    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.min.js

    to:

    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery_cookie.js
    wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery_cookie.min.js

    Now then add this to your theme functions.php file:

    add_action( 'wp_enqueue_scripts', 'custom_frontend_scripts' );
    
    function custom_frontend_scripts() {
    
      	global $post, $woocommerce;
    
    		$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    		wp_deregister_script( 'jquery-cookie' );
    		wp_register_script( 'jquery-cookie', $woocommerce->plugin_url() . '/assets/js/jquery-cookie/jquery_cookie' . $suffix . '.js', array( 'jquery' ), '1.3.1', true );
    
    }

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