Home Forums Academy Some Customisation

Some Customisation

  • 229Amini

    Hello,
    Is there any option to just show the admin or editor via [“users”] short link, Also I want to hide the student’s list panel on the course page is there any option in the theme option to do it or I must change the codes manually?
    Regards

    ihor Staff

    Please sign in or register to view replies from the support staff.

    229Amini

    Thank you for anwering you mean using Id for this shortcode will use the cateogry id for example admins or editors?

    229Amini

    I just checked the shortcode section part users

    “Shows testimonials slider. Requires number and order parameters.”

    There is Only Order paramets that I can change and its “Activity,Date,Name” I just want to Filter and Show users that are Editor or Admins.

    Thanks

    ihor Staff

    Please sign in or register to view replies from the support staff.

    229Amini

    Hello again,
    I want to hide some fields on checkout only for Virtual Products or Downloadable Products Checked.
    Would you help me to do that! I tried to use this Code but It’s seems the code is not working.
    These field are checked on theme-option too


    add_filter( ‘woocommerce_checkout_fields’ , ‘bbloomer_simplify_checkout_virtual’ );

    function bbloomer_simplify_checkout_virtual( $fields ) {

    $only_virtual = true;

    foreach( WC()->cart->get_cart() as $cart_item_key => $cart_item ) {
    // Check if there are non-virtual products
    if ( ! $cart_item[‘data’]->is_virtual() ) $only_virtual = false;
    }

    if( $only_virtual ) {
    unset($fields[‘billing’][‘billing_address_1’]);
    unset($fields[‘billing’][‘billing_address_2’]);
    unset($fields[‘billing’][‘billing_city’]);
    unset($fields[‘billing’][‘billing_postcode’]);
    add_filter( ‘woocommerce_enable_order_notes_field’, ‘__return_false’ );
    }

    return $fields;
    }

    229Amini

    Prev Problem fixed, but still there is a problem with the Premium Products when we just make a success purchase to an course after payment I’ll receive the order form (billing) but still I wont have the course on my course list to get access to the lessons, Still will showing up the error that you need to take the course.

    I just Linked a product to the course via WooCommerce

    Thanks!

    ihor Staff

    Please sign in or register to view replies from the support staff.

    229Amini

    Can I just mark orders as completed automatically?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    229Amini

    Yeah With Selecting Downloadable Product It would be mark as complete, Thanks!

    229Amini

    Hello again,

    It’s seems there is no page belong to forget password, when i press the link on wp-admin page the pages show up in > my-account/lost-password/ but this page is a blank and there is no option to get the email, The only option is from login button.

    How can i have a Page for forget password, I need to give a link to my users for doing that.

    Thanks

    ihor Staff

    Please sign in or register to view replies from the support staff.

    229Amini

    Hello,

    Sorry I didn’t figure out.

    You know the problem is when I go to wp-login then click on forget password it’s goes to mydomain.com/my-account/lost-password/ and this page is a blank page and there is no field to put the email on it.

    What do you think?

    ihor Staff

    Please sign in or register to view replies from the support staff.

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in to reply to this topic.