WordPress.org

Ready to get started?Download WordPress

Forums

Ecwid Product Advisor
[resolved] [Plugin: Ecwid: Random Products] Show only Main Cateogry and subcats (4 posts)

  1. CreationsByRichie
    Member
    Posted 2 years ago #

    Hello,

    Can you tell me what code to put in your php so that it does not show all products in our ECWID product DB but only those from a subcategory.

    Our DB has over 900 items but we have niche websites that may only show 50 of those products

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

  2. fkie
    Member
    Plugin Author

    Posted 2 years ago #

    Hi!

    Ecwid's API does not allow to fetch random product from particular category by specifying ID of the category
    http://kb.ecwid.com/w/page/25285101/Product%20API#RESTAPIMethodrandomproducts

    That's why this sorting should be handled on WP side and it requires some code for that.

    However, I will try to add this feature to plugin as soon as possible.

    Thanks for letting me know, anyway!

  3. CreationsByRichie
    Member
    Posted 2 years ago #

    Thank you, Yes its a big issue for some of us who use one database to many product niche websites - theme based. Its the same Issue with their inline SEO. It shows all skus.

    Anyway - if you find the code to use please post it as i will manually post it into the php. Then i can use your random product plugin to show just those categories and not all 900 product skus :P Thank you!

  4. fkie
    Member
    Plugin Author

    Posted 1 year ago #

    This feature was implemented in 0.7 version, but it works only for paid Ecwid account only.

    Download the latest stable release (0.7.2) in order to use it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic