March 15, 2011 at 1:01 am #22068
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
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
I added an option to sort the category list by category name. Please get a new build of the plugin from here:
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
Fantastic! You’re awesome and so quick too!April 28, 2011 at 3:11 pm #22072
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
You can sort by product names in the “Manage Products” window.April 29, 2011 at 3:39 pm #22074
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
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
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.
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
I have used the following short code on a post:
But the litte issue seems to remain…
Any hint is more than welcome
Thanks again.April 30, 2011 at 11:36 pm #22078
If you want to display list of products from a particular category on a particular post then simply use the following shortcode:
This post will explain more:
There are more shortcodes that lets you display product from particular categories. Checkout the extra shortcodes plugin from this page:May 7, 2011 at 11:04 am #22079
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 youMay 7, 2011 at 11:59 pm #22080
Nope, WP eStore does not do that. This is explained here:
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
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 #22082DaanonSpectator
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.
- You must be logged in to reply to this topic.