Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Categories in Sidebar & Grid Display

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Categories in Sidebar & Grid Display

Tagged: categories, Category Grid View, grid display, product view, sidebar

  • This topic has 32 replies, 9 voices, and was last updated 14 years ago by amin007.
Viewing 15 posts - 16 through 30 (of 33 total)
← 1 2 3 →
  • Author
    Posts
  • March 15, 2011 at 1:01 am #22068
    amin007
    Participant

    You can tweak the extra eStore shortcodes plugin to order however you want.

    Open the “shortcode_include.php” file and search for the following line:

    $wp_eStore_cat_db = $wpdb->get_results("SELECT * FROM $cat_table_name ORDER BY cat_id ASC", OBJECT);

    The categories are ordered by category ID but you should be able to change it to something like the following to sort it by category name:

    $wp_eStore_cat_db = $wpdb->get_results("SELECT * FROM $cat_table_name ORDER BY cat_name ASC", OBJECT);

    April 26, 2011 at 8:47 pm #22069
    headmonk
    Member

    Is it possible to list the categories alphabetical in the ADMIN view in WORDPRESS? I have many categories and it’s hard to find as I think they’re listed by id number instead of title.

    thanks!

    April 27, 2011 at 3:42 am #22070
    amin007
    Participant

    I added an option to sort the category list by category name. Please get a new build of the plugin from here:

    https://support.tipsandtricks-hq.com/update-request

    You will see a clickable triangle icon next to the “Category Name” which will let you sort the list.

    April 28, 2011 at 3:09 pm #22071
    headmonk
    Member

    Fantastic! You’re awesome and so quick too!

    April 28, 2011 at 3:11 pm #22072
    headmonk
    Member

    It would also be very very helpful to have a similar way of sorting from the Manage Products window so that when I’m assigning categories, I can see them in alphabetical order. Right now it’s a mess.

    April 29, 2011 at 1:59 am #22073
    amin007
    Participant

    You can sort by product names in the “Manage Products” window.

    April 29, 2011 at 3:39 pm #22074
    headmonk
    Member

    Sorry, I meant to say that since I have over 100 categories to assign a product to, is there a way to alphabetize the listing of the categories from the Manage Products area. So when I create a new product or edit an existing one, I can easily scroll down the list to assign the products to their proper categories.

    thanks!

    April 30, 2011 at 3:30 am #22075
    amin007
    Participant

    Makes sense. I will make it so the categories are listed alphabetically when you edit a product. This will go into the next eStore build (hopefully sometime tomorrow).

    April 30, 2011 at 11:08 am #22076
    inesrodrigues
    Member

    Hello again.

    First of all, i apreciate all your help with the lightbox previous issue. I have solved it by recovering the original footer fie on my wp theme :)

    But now there s something with my sidebar categories :) that looks kinda funny.

    Maybe a mistake of mine while adding the products to the store (but i have categorized them correctly)… or should i really use a post to display the products? Or a maybe different way?

    I ask this because when i click on a store category all products appear on the post no matter what category they belong, which makes sense after all – because if we type every single product code on a post, it is supposed to be displaeyd no matter the store category it belongs.

    [http://www.amazing-canvas.com/wp-shop/]

    So, my question is:

    Is there any specific code to be writen on a post in order to display the products according to the categories they belong? (not displaying those that are not included on other store categories)

    Many thanks.

    April 30, 2011 at 11:24 am #22077
    inesrodrigues
    Member

    *update*

    I have used the following short code on a post:

    [wp_eStore_all_products_stylish:end]

    But the litte issue seems to remain…

    Any hint is more than welcome :)

    Thanks again.

    April 30, 2011 at 11:36 pm #22078
    amin007
    Participant

    If you want to display list of products from a particular category on a particular post then simply use the following shortcode:

    [wp_eStore_category_products:category_id:1:end]

    This post will explain more:

    http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-product-categorization-431

    There are more shortcodes that lets you display product from particular categories. Checkout the extra shortcodes plugin from this page:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    May 7, 2011 at 11:04 am #22079
    inesrodrigues
    Member

    Hello again.

    That was not exactly what i needed.

    I used another option: Giving a specific link to each category as we create the category itself on the back-end, but it re-loads the whole website as we select each category on the front end. I didn’t really enjoyed the result. As for my business partner, well, he simply did not accept that at all.

    I am trying to display the products according to each category but without having to link each post to a specific category.

    Basically, i am trying to display the store (like a whole) and the products would change dynamically according to each category as we select it. Is that possible…?

    Thank you :)

    May 7, 2011 at 11:59 pm #22080
    amin007
    Participant

    Nope, WP eStore does not do that. This is explained here:

    http://www.tipsandtricks-hq.com/ecommerce/wordpress-ecommerce-knowledgebase-523#wp_estore_overview

    You need a shopping cart plugin similar to Instinct’s eCommerce plugin for that. WP eStore takes a different approach to allow a greater degree of freedom in terms of customization.

    May 8, 2011 at 6:07 pm #22081
    inesrodrigues
    Member

    Hello.

    I see :) Either way, i will be using the wp estore because of the affiliates plugin ;)

    However, i will try the Instinct’s on my personal website – for the test.

    Thank you.

    May 16, 2011 at 6:04 am #22082
    Daanon
    Spectator

    How would I go about displaying the categories in a grid? I set the width to be 33% so I could fit in 3 rows, but even though the category boxes got smaller, they all stayed in one row.

  • Author
    Posts
Viewing 15 posts - 16 through 30 (of 33 total)
← 1 2 3 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ