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

Get parrent category name

You could have a category description. For example the Cat 4 will have the category description as : From Cat3 in Cat 1. You add the category description when you edit the category inside of WP > Posts > Categories Then to display the category description use this PHP code inside of your archive.php theme … Read more