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 13 years, 6 months ago by amin007.
-
AuthorPosts
-
March 15, 2011 at 1:01 am #22068amin007Participant
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 #22069headmonkMemberIs 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 #22070amin007ParticipantI 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 #22071headmonkMemberFantastic! You’re awesome and so quick too!
April 28, 2011 at 3:11 pm #22072headmonkMemberIt 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 #22073amin007ParticipantYou can sort by product names in the “Manage Products” window.
April 29, 2011 at 3:39 pm #22074headmonkMemberSorry, 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 #22075amin007ParticipantMakes 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 #22076inesrodriguesMemberHello 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 #22077inesrodriguesMember*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 #22078amin007ParticipantIf 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 #22079inesrodriguesMemberHello 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 #22080amin007ParticipantNope, 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 #22081inesrodriguesMemberHello.
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 #22082DaanonSpectatorHow 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.
-
AuthorPosts
- You must be logged in to reply to this topic.