Home Forums Basel support forum Compatibility

Compatibility

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13098

    wantons
    Participant

    Hello.

    1. Is basel 3.1.4 Compatibile with woocommerce 3.0.5?
    2. Any update for basel theme soon?

    Thanks a lot.

    #13107

    Artem Temos
    Keymaster

    Hello,

    1. Yes, our theme is fully compatible with the latest WooCommerce version.

    2. We are going to release a new version next week.

    Regards

    #13149

    wantons
    Participant

    Thanks.
    Just two more quick question and then you can mark this topic as solved.

    i have one short php code that i get this code before woocommerce 3.0 ( in 2.6 version )
    now after woocommerce update, i dont know is there any change need for this code?

    ***** CODE: AUTO LOGIN AFTER UPDATE

    function auto_login_new_user( $user_id ) {
    wp_set_current_user($user_id);
    wp_set_auth_cookie($user_id);
    wp_redirect( ‘http://www.kenvuccy.com/account’ );
    exit;
    }
    add_action( ‘user_register’, ‘auto_login_new_user’ );

    —————————————————————————-

    and, one code that you send me to limit woocommerce related product ..
    but in this case, i just want to know which number i must change to limit the related product number

    add_filter( ‘woocommerce_output_related_products_args’, ‘basel_woocommerce_output_related_products_args’, 10, 1 );
    function basel_woocommerce_output_related_products_args( $args ) {

    $args[‘posts_per_page’] = 20;

    return $args;

    }

    Thanks.

    #13151

    Artem Temos
    Keymaster

    Hi,

    1. We can’t help you with this code since it is not related to our theme.

    2. As for related products number, you can change in Theme Settings -> Product Page.

    Regards

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