Title: Sort dropdown on shortcode based product lists
Last modified: November 30, 2017

---

# Sort dropdown on shortcode based product lists

 *  Resolved [urka](https://wordpress.org/support/users/urka/)
 * (@urka)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/sort-dropdown-on-shortcode-based-product-lists/)
 * Hi,
    I am building on a shop and I need standard WP pages where I show products
   of a category because I need description for this categories. I use the shortcode[
   product_category category=”xy” per_page=”12″ colums=”4″] for example.
 * Now I miss the sorting dropdown above the product lists, so the products cannot
   be sorted by our visitors and also there is no pagination button so I even have
   only the first 12 products.
 * What I am doing wrong? How can I fix this?
 * Sorry for my english, hope you understand my problem.
    I use woocommerce 3.2.5
   and Woo germanized 1.9.6 but I think this is not a issue of germanized

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/sort-dropdown-on-shortcode-based-product-lists/#post-9738904)
 * Shortcodes don’t produce the sorting options or pagination. That’s how they are.
 * You can use your shop page. Most themes don’t have an option to show the category
   description on the shop page. This code might be able to add it in. It works 
   for me but it may not work for your theme:
 *     ```
       // Show category description
       add_action( 'woocommerce_after_subcategory_title', 'show_cat_description', 12);
       function show_cat_description ( $category ) {
         $cat_id = $category->term_id;
         $prod_term = get_term( $cat_id, 'product_cat' );
         $description = $prod_term->description;
         echo '<div class="shop_cat_desc">'.$description.'</div>';
       }
       ```
   
 * You can use the “My Custom Functions” plugin to add code snippets.
 * When the customer clicks through to the category page which shows the products,
   usually the category description is shown at the top of the page. Again, that
   can depend on the theme.
 *  [Erina (a11n)](https://wordpress.org/support/users/eri32s98/)
 * (@eri32s98)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/sort-dropdown-on-shortcode-based-product-lists/#post-9846551)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved.
   If you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sort dropdown on shortcode based product lists’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [product shortcode](https://wordpress.org/support/topic-tag/product-shortcode/)

 * 2 replies
 * 3 participants
 * Last reply from: [Erina (a11n)](https://wordpress.org/support/users/eri32s98/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/sort-dropdown-on-shortcode-based-product-lists/#post-9846551)
 * Status: resolved