How can I custom order the product display?

You can use woocommerce_shortcode_products_query filter to change orderby argument. it will set orderby as post__in in [products] shortcode query. I have tested and it is working fine for me. you can take reference from below code and adjust code as per your need. Let me know if this works for you! add_filter( ‘woocommerce_shortcode_products_query’, ‘woocommerce_shortcode_products_orderby_post_in’ ); … Read more

Redirect customer to login page (with other signup plugin) if user not logged in when proceeding to checkout

I find and use below code for when user in cart page and cart not empty: add_filter(‘woocommerce_get_checkout_url’, ‘dj_redirect_checkout’); function dj_redirect_checkout($url) { global $woocommerce; if(is_cart() && !is_user_logged_in() ){ $checkout_url=”digits login url”; } else{ $checkout_url=”https://yoursite.com/checkout/”; } return $checkout_url; }