WordPress.org

Ready to get started?Download WordPress

Forums

Ecwid Product Advisor
[Plugin: Ecwid: Random Products] Expand plugin to display category products, latest products, etc (44 posts)

  1. moens
    Member
    Posted 2 years ago #

    I would like to expand this plugin to have a couple more widgets:

    1) Category View: show all the products in a category,
    2) Latest: show latest products (per category if specified)
    *) Maybe paginate it as well with http://wordpress.org/extend/plugins/widget-pagination/

    ...do you use the wp svn, or do you use git? Anyway, I will use a local git repo. I could (git) push the changes to you, or I can just put a tarball somewhere and you can use the additions if you want to.

    BTW: Your plugin is called, "ecwid-useful-tools" but your class and config names all look like, "EcwidRandomProducts", so I will probably generalize the germane name space to "EcwidUsefulTools"

    http://wordpress.org/extend/plugins/ecwid-useful-tools/

  2. dax702
    Member
    Posted 2 years ago #

    I really like your idea to expand this plugin to more than just random products. Are you actively working on this idea? Would it also be possible to use perhaps a shortcode to display the categories themselves instead of individual products in a category?

  3. moens
    Member
    Posted 2 years ago #

    I am working on this today.

    When you say, "Categories themselves" I assume you mean that if I get the products-per-category view done, that you would like a navigation aid which would point users to, for instance, a page where all the products of linked category are shown. Is that correct?

  4. dax702
    Member
    Posted 2 years ago #

    Yes I think so,, for example, if I have categories called books, DVDs, t-shirts, to have a way to easily embed the product category images so customers can just click on a category they want to see and it takes them to the product browser... Does that make sense? Like I might want to have those category images display vertically in a sidebar for easy access, or maybe horizontally, or in a grid, etc..

  5. dax702
    Member
    Posted 2 years ago #

    see, I'm going to use this WordPress theme:

    http://themeforest.net/item/akita-responsive-wordpress-theme/1530025

    and it lets me build layouts, so I'd like to be able to have my product categories right up front with easy access to the site visitor.

  6. moens
    Member
    Posted 2 years ago #

    k... so, ecwid already does this afaik.

    Look here: http://kb.ecwid.com/w/page/15853259/Ecwid%20widgets

    ...and then look at "Horizontal Categories" or "Vertical Categories"

    On the other hand, if you want a wp shortcode that you can configure from the wp backend so that "dvd's" category (with category info from ecwid, image, name, etc) links to a WP page called "DVD's"... that is a different issue.

  7. dax702
    Member
    Posted 2 years ago #

    the built-in feature of the widget just shows a text listing, I'd like to show the category thumbnails as it's more visually appealing, don't you think?

  8. moens
    Member
    Posted 2 years ago #

    Honestly, I think that a grid view of categories is not a great idea from a usability point of view... it adds just one more click for the user. Once they get to the product grid/list page, they are going to have the horizontal or vertical text nav anyway.

    However... a category overview page with cat. image, cat. description and maybe five teaser products per category might be cool.

    Short: let me finish the stuff I need, then I will see about the category ideas.

  9. dax702
    Member
    Posted 2 years ago #

    I don't see how it adds one more click for the user? If I have say 5 categories of products and each category contains 10 products in it, then the user has to first click on the category of products that he wants to see right?

  10. moens
    Member
    Posted 2 years ago #

    I see... for some reason I was thinking a grid page of category images. I got the module almost done on Thursday, but could not finish. I will work on it more on Sunday.

    Can you make or find for me a nice graphical categories navigation example that I can use for css and html? That will help me with your request. I don't think I would use it myself, but I do have requirements for the basic functionality (categories view).

  11. dax702
    Member
    Posted 2 years ago #

    Yes, either a grid or a single row (vertical or horizontal) of category images. For example, someone might want to have a vertical sidebar of product category images going down one side of their site, or maybe someone will want to have a horizontal row of category images going across the header area, etc.. Or like you said, a grid of category images, although, that could probably just be done with the product browser widget, not sure though?

  12. fkie
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there!

    Could you please let me know if you have finished the mod yet? Really want to look at the results.

    If you wish, I would have added these new features to the Random Products plugin in the future, but I need to look at how it works first. If you are interested in some kind of cooperation, pm me on Ecwid forum:
    http://www.ecwid.com/forums/member.php?u=1951

    Thank you.

  13. moens
    Member
    Posted 2 years ago #

    The module is still not completed... but I should have it done today.

    Yes, I would love to give all the code to you if you want it. It is the type of thing that I need for a project but don't really have any interest in maintaining.

    Do you use git or svn? If you use git I can push updates to you. Otherwise I can just upload a tarball when I am done and you can integrate it as you see fit.

  14. fkie
    Member
    Plugin Author

    Posted 2 years ago #

    I am using WordPress' SVN, so the tarball would be very helpful for me.
    Honestly, really want to see the results when the module is completed.

  15. moens
    Member
    Posted 2 years ago #

    Thought I would have it last night, but I am debugging now... knock on wood.

  16. dax702
    Member
    Posted 2 years ago #

    Moens, you're referring to having what last night?

  17. moens
    Member
    Posted 2 years ago #

    I thought I would have the plugin upgrades done last night... still debugging though.

  18. dax702
    Member
    Posted 2 years ago #

    Oh ok, which upgrades are you currently working on? If it's the category image links I described, I can help you test that since I requested it :-)

  19. moens
    Member
    Posted 2 years ago #

    I have not included the image category nav completely yet, but I have got some of the needed functionality working. Can you point me to a site that uses a graphical (image based) navigation?

    I am a bit at a loss as to how you are hoping this will look.

  20. dax702
    Member
    Posted 2 years ago #

    I can try to describe a little better for you:

    Suppose I have these 4 product categories in my Ecwid store:

    Books, DVDs, T-Shirts, Jewelery

    As you know, in Ecwid, you can upload an image for each category. So what I would like to see is a vertical sidebar widget that will display those category images and category titles perhaps below each image. And each will link to that category's product page listing as defined by the ecwid cart plugin settings (whether a grid, list, etc)

    CAT-IMAGE
    Books

    CAT-IMAGE
    DVDs

    CAT-IMAGE
    T-Shirts

    CAT-IMAGE
    Jewelery

    This will give the ability to have a nice graphical sidebar to show product categories, and the visitor to the site will never miss your products because they aren't just a text menu. Does it make sense?

  21. moens
    Member
    Posted 2 years ago #

    Uhg... I'm an idiot. I didn't know the Ecwid API was only for the paid version. Wonder why the "random" api call works for the free version?

    Maybe I can rework this using the javascript api which I believe is open to all licenses.

    Anyway... here is what I have done... its not tested, and it no longer works with the free version of ecwid. Bleh.

    http://cottonwarrior.com/ecwid-useful-tools.tgz

  22. moens
    Member
    Posted 2 years ago #

    @dax702... I get the idea, but I am not sure I am going to continue at this point. The API is not available to the free version... there doesn't seem to be much point in making this a free extension.

    I'm going over to the ecwid forum to pitch free for all api access...

  23. dax702
    Member
    Posted 2 years ago #

    Ohhh I see.. yeah I am a paid member. For the $17, per month, I think Ecwid is a great deal, great support and great product that always works. I suppose I could accomplish the very same thing by making my own images and dropping them into the sidebar in several widgets..

  24. moens
    Member
    Posted 2 years ago #

    Yeah I think its cheap too. But so is FoxyCart. The beauty of ecwid is the free version... its the thing that sets them apart from everyone else. Oddly, they think of the API as a feature instead of an advertising venue. Oh well...

    You can look at what I have done and extend it easily enough for yourself if you want.

  25. dax702
    Member
    Posted 2 years ago #

    I don't know the first thing about writing code, so I wouldn't be able to do anything with it =(

  26. moens
    Member
    Posted 2 years ago #

    Well, the other guy in this thread (fkie) is the original author of the Random Products Widget. I assume he will use my Latest Products Widget as well. Maybe he will be willing to add a categories image view for you.

  27. dax702
    Member
    Posted 2 years ago #

    Ok, I will wait for him to reply to this thread to see where he stands on the feature idea I suggested..

  28. fkie
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, guys!
    I am really busy at work at the moment, so did not check the thread.

    @moens Ecwid Product API works for free accounts partly. As I noticed only "profile" method for the list
    http://kb.ecwid.com/w/page/25285101/Product%20API
    did not work for free accounts.

    @dax702 I will check the moens' results with the mod over the weekend and will let you know whether it will be included into the main plugin and whether I will add a support of categories. Sorry, just do not have time right now.

  29. dax702
    Member
    Posted 2 years ago #

    Thank you for the update on this, anxious to hear your findings =)

  30. moens
    Member
    Posted 2 years ago #

    @fkie, I don't know... the method I used was:

    http://app.ecwid.com/api/v1/STOREID/products?category=CATEGORYID

    ...and it told me I needed to upgrade to the paid account. Honestly, if I'm going to use a paid API, I'm going to use FoxyCart.

    I posted the following thread in the Ecwid forum, but no comments or bumps so far, heh. Oh well, maybe free users don't really care:

    http://www.ecwid.com/forums/showthread.php?t=12685

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.