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, 7 months ago by amin007.
-
AuthorPosts
-
June 28, 2010 at 5:14 pm #1426gamehermitMember
Hi everyone,
What a great plugin. I just purchased the cart and will be converting my old cart to eStore. I have two questions…
1. I would like to have a categories list in the side bar that can show parent and child categories… Here’s an example from my old cart
[http://gamehermit.com/ghwp/?page_id=33#ecwid:category=315060&mode=category&offset=0&sort=normal]
But I’m not sure what my options are.
2. I will be using categories for my products and am interested in displaying all the products in a given category so I’m looking at this short code: [wp_eStore_category_products_fancy3 id=1]. My question is will this display the products in a grid format and does it display an add to cart button? Here’s an example from my wife’s site for a particular category:
[http://www.pumpkinlady.com/purrfect.htm]
I know that I won’t be able to display the same number of items per row due to the WP template I created….but can I make the product display for the category look the same?
Thanks so much for taking the time to look at this with me.
Jack
June 28, 2010 at 10:31 pm #22054gamehermitMemberAwesome…just figured out question 2….[wp_eStore_category_products_fancy3 id=1] works great for the grid display. On some pages, however, I need four products to a row…so by taking the css for [wp_eStore_category_products_fancy3 id=1] and setting padding-left: 0px; and padding-right: 2px I can get the 4 products per row. But how can I add another css style so I can choose between 3 products per row and 4 products per row? I couldn’t figure out how to add a custom style…and the only difference between [wp_eStore_category_products_fancy3 id=1] and the custom style is the two padding values above.
I still need help with question 1 and I just posted a lightbox question.
Thanks,
Jack
June 29, 2010 at 3:37 am #22055amin007ParticipantTo display a list of all the categories you can use a shortcode like the following:
[wp_eStore_list_categories_fancy]
You are after a simple list so the above won’t fit our need though. I can add in another shortcode that displays a plain list of all the categories (one category per line).
June 29, 2010 at 4:36 am #22056amin007ParticipantAdded the shortcode for displaying the category list. Use the following shortcode:
[wp_eStore_list_categories]
You will need the eStore Extra Shortcode plugin which can be found here (see the “More Shortcodes and Function References” section):
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
June 29, 2010 at 12:35 pm #22057gamehermitMemberIs the [wp_eStore_list_categories] what I would use to create the vertical categories in a widget? Or is this for the page display itself….sorry for the confusion.
Jack
June 29, 2010 at 12:52 pm #22058gamehermitMemberOK…please disregard my last….haven’t had enough coffee yet That works like a charm in the widget. I was wondering though….is it possible to have sub categories?
August 29, 2010 at 7:17 pm #22059JackAubreyMemberI’m trying to figure out something sort of like this: is it possible to have categories displayed in a side widget, but with the categories nested and the number of items in stock listed in parenthesis?
I can’t seem to figure out how to do this…
BTW — I’m totally loving this plugin. Simply awesome, and I’ve tried a bunch of different ecommerce solutions!
August 30, 2010 at 3:02 am #22060amin007ParticipantAdded an option for the list category shortcode to show the product counts per product. Use the following shortcode:
[wp_eStore_list_categories count=true]
or the following PHP function:
<?php echo wp_eStore_list_categories(true); ?>
Don’t forget to get the updated version of the extra shortcodes plugin from here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
August 30, 2010 at 3:09 am #22061JackAubreyMemberHmmm, just tried them both and neither seemed to work. The first shortcode was the same as the one without “countr=true” in it and the php function left the widget blank…
Maybe i’m screwing something up here? I’ve definitely downloaded and installed the extra shortcodes plugin..
August 30, 2010 at 3:52 am #22062IvyMemberDid you download a new version of the plugin and install it?
August 31, 2010 at 6:58 pm #22063JackAubreyMemberHi — I downloaded and installed the one mentioned on this page, at the third bullet point in the content area: http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Is there another more updated version?
September 1, 2010 at 12:48 am #22064amin007ParticipantThe one you used the correct one. Please post a link to the page where you are using it. Also please post the exact shortcode you have placed on the page (maybe there is a typo).
Do you have categories with products configured in eStore?
September 1, 2010 at 2:01 am #22065JackAubreyMemberHere is the shortcode: [wp_eStore_list_categories count=true]
Here is the page: [http://www.spinozarods.com/test-page/]
September 1, 2010 at 8:23 am #22066amin007ParticipantEverything looks fine to me so it’s really strange.
I will take a look at your site to see what is going on.
March 14, 2011 at 3:01 pm #22067headmonkMemberIs there a way to list these categories with counts alphabetically? Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.