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

  1. CreationsByRichie
    Posted 4 years ago #


    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


  2. fkie
    Plugin Author

    Posted 4 years ago #


    Ecwid's API does not allow to fetch random product from particular category by specifying ID of the category

    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
    Posted 4 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
    Plugin Author

    Posted 4 years 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

  • Product Advisor for Ecwid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic