Community Forums › Forums › Archived Forums › General Discussion › ClipCart
Tagged: ClipCart
- This topic has 11 replies, 3 voices, and was last updated 10 years, 11 months ago by moeblis.
-
AuthorPosts
-
May 13, 2013 at 12:00 pm #40699moeblisMember
Hello,
I am using ClipCart and I'm wondering if there is a way to alphabetize the products. Currently they show up in the order that I entered them - newest first. My clients have lots of products and would like to have them listed in order.
Can anyone help me with this?
trilogyscriptureresources.com
specifically the products -- http://trilogyscriptureresources.com/products/Thanks,
Monika
http://trilogyscriptureresources.com/products/May 13, 2013 at 3:38 pm #40722Bill MurrayMemberHere's an important suggestion: change that password, and do it pronto. You should never post a password openly on a forum like this. Make it the very next thing you do in life after reading this message.
ClipCart doesn't store products on its own. It's a theme that leverages either Cart66 or WooCommerce. The answer to your original question will depend on which shopping cart you're using. You'll probably get your question in front of a wider audience if you ask it in the support forums for those respective shopping carts.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 13, 2013 at 3:49 pm #40723moeblisMemberThanks for your feedback Bill. There isn't anything private on the site, it's just password protected so it's not visible to the general public. I'm not really worried about people who are here to help each other.
I know ClipCart doesn't store the products. That's not really the issue - I'm referring to the "products" (also could be considered a page) that I set up in the clipcart theme (not under Cart66). Seems the products show up in the order that I created those pages.
I also reached out to Cart66 to see if they can help me, but I believe this is a ClipCart issue.
Does that clarify anything that might lead you to be able to help me? I'd be forever grateful!
May 13, 2013 at 4:26 pm #40725essaysnarkParticipantmoeblis, how is that page you linked to constructed? Is it a default page that was provided with the ClipCart theme or is it running a template that you built? From the looks of it, you'd need to customize the Genesis Grid Loop - depending on how you answer the first part, I could possibly steer you in the right direction (maybe).
First though, did you try asking in the Themedy forum? http://themedy.com/forum/discussions
May 13, 2013 at 4:34 pm #40726moeblisMemberhi essaysnark - thanks for your post!
in my wp dashboard, there is a section called "products". i believe it's part of the way clipcart was designed. i didn't design set it up. it looks and acts just like a post or page. each "product" i create then can be put in a "category" like a label or tag. when i link to that category, every product that is in that category is listed.
i hope that made sense! i could link to a couple screen shots if that would help.
again, thanks for your help.
m
May 13, 2013 at 4:35 pm #40727moeblisMemberessaysnark - also i would love to put it in the themedy form, however i'm not a member. i purchased clipcart through studiopress, so i don't have access to it. 🙁
May 13, 2013 at 4:44 pm #40728Bill MurrayMemberFair enough. I over-reacted, since I didn't click through to your site until now. Still, assuming everyone on the forum is a sweethearts and not worth worry, you should worry about the strangers who glean that info through Google that you never meet on the forum. And remember, not everyone on the forum is a sweetheart because there have been spammers who were hitting the forum with a barrage of posts not that long ago.
If you are referring to the Products link on your WP dashboard, you're right that it's a ClipCart issue. Those products are a custom post type. Unfortunately, their order (as far as I know) is not filterable. By that I mean, the developer of ClipCart didn't build in a function to change the order without changing the theme directly.
The code for sorting products is in clip-cart/iib/functions/themedy-products.php in the function themedy_sort_products(). If you have Cart66 active, Themedy orders the products by the Cart66 product ID. I hesitate to tell you a small change for the order of the custom post type, because that can have a lot of unintended consequences. You could try reaching out to one of the guys @ Themedy to see if they'd do that for you as a customization.
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 13, 2013 at 4:51 pm #40731essaysnarkParticipantEchoing Bill here: The Themedy people are going to be a much better resource probably (at least, much better than me! 🙂 ). I can't imagine that you're the first person to ask for this, it seems like a pretty basic need for displaying a bunch of products.
I don't know how the relationships work but I thought that any third-party theme purchased through StudioPress is supported by its developer. Try contacting the StudioPress folks to see: http://my.studiopress.com/help/
May 13, 2013 at 5:03 pm #40735essaysnarkParticipantAnd FYI, this doesn't actually answer the thing you're trying to solve, but I just found this on the old support site - might be useful (you need a login to that other forum, which I think is a separate user than this one): http://www.studiopress.com/support/showthread.php?t=80591 hopefully you can access that as it looks like there's some good Clip Cart goodies there.
May 13, 2013 at 5:24 pm #40741moeblisMemberThank you, thank you to you both!
May 13, 2013 at 11:24 pm #40825Bill MurrayMember@moeblis - In an effort to give you a quick answer, my previous answer was too simple.
For Clip Cart, there are a # of things going on that relate to your question:
1) how products are sorted in the dashboard
2) how products are sorted on the homepage
3) how products are sorted on the products archive
4) how products are sorted on a product category archiveMy original answer covered sorting in the dashboard, and there is a filter to control that, but I'm guessing that's not really ALL that you want. You really want to do all 4 of the above, and changing #1 is heavily tied to which cart you use. (If you don't, you should want to do them because otherwise you'll have inconsistent ordering on different parts of your site.) #2 & #3 involve page templates, where #2 involves home.php and #3 involves the the page template page_products.php. I'll give you the details on fixing #3 to get you pointed in the right direction.
There's no filter to fix #3 because the query is directly in the page template. If you change the page template, you won't have the flexibility to stick to ordering by your Cart66 ID. Therefore, you want to create a new template with a different query. Here's a new page template that will display the archive of all products in ascending title (product name) order. To use it, just copy the code to a new page template in your child theme folder, such as page_prodtitle.php. That will cause a new template named "Products Sorted By Title" to appear in the Template pull down of your add/edit page. Choose that template for your Products page and you'll get what the title implies - products sorted by title.
That should give you an idea of what is involved. It's not overly complicated, but if you're not a PHP programmer, you'd be better served by someone who can do those customizations for you.
https://gist.github.com/wpperform/5573854
Hope that helps.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
May 14, 2013 at 12:30 pm #40894moeblisMemberI was able to access the Themedy forums and found a forum with the answer! All I had to do was install this plug in, and everything is in the exact order I want. I hope this helps someone else!
http://wordpress.org/extend/plugins/post-types-order/
And thanks again to you guys for your help. I truely appreciate it.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.