Woocommerce: Show Products in Alphabetic order

后端 未结 5 605
轮回少年
轮回少年 2021-02-06 19:40

Ok I know it\'s might be a silly question or you may think it was asked dozen times. but either I am desperate and missed something or this is some unique problem. Anyway, I nee

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 20:09

    $catalog_orderby_options = apply_filters( 'woocommerce_catalog_orderby', array(
            'menu_order' => __( 'Default sorting', 'woocommerce' ),
       here   ->  'title' => __( 'Sortierung nach Titel, A–Z', 'woocommerce' ),
            'popularity' => __( 'Sort by popularity', 'woocommerce' ),
            'rating'     => __( 'Sort by average rating', 'woocommerce' ),
            'date'       => __( 'Sort by newness', 'woocommerce' ),
            'price'      => __( 'Sort by price: low to high', 'woocommerce' ),
            'price-desc' => __( 'Sort by price: high to low', 'woocommerce' )
        ) );
    

提交回复
热议问题