Coder Social home page Coder Social logo

Task scheduler about evershop HOT 7 CLOSED

IanYang112528 avatar IanYang112528 commented on May 28, 2024
Task scheduler

from evershop.

Comments (7)

treoden avatar treoden commented on May 28, 2024

Hi @xiaofeimaoIan ,

EverShop offers event/subscribers.
Can you share more about your use case?

Thanks

from evershop.

IanYang112528 avatar IanYang112528 commented on May 28, 2024

Hi @treoden,
Thank you for your reply! My functional scenario is to check the qty number of products listed in the database every 2 hours, and if it is less than 5, it will alert me that the stock is low.
image

Thanks

from evershop.

treoden avatar treoden commented on May 28, 2024

Hi @xiaofeimaoIan ,

For this scenario, you can leverage the event/subscriber. You create a subscriber subscriber to the "inventory_updated", you will have access to the old and new inventory data.
For more details of event/subscriber, check this docs: https://evershop.io/docs/development/knowledge-base/events-and-subscribers

Thanks

from evershop.

IanYang112528 avatar IanYang112528 commented on May 28, 2024

OK, Thank you very much

from evershop.

IanYang112528 avatar IanYang112528 commented on May 28, 2024

Hi @treoden,

My functional scenario is that some products in our store use products from third-party stores, so we need to check the QTY quantity of third-party stores every two days. If the number is less than 10, the product will be removed from the shelves!

Thanks

from evershop.

treoden avatar treoden commented on May 28, 2024

Hi @IanYang112528 ,

In this case, I think you have a integration somewhere for syncing products from your third-party to EverShop right? And you sync product information and inventory too?

from evershop.

IanYang112528 avatar IanYang112528 commented on May 28, 2024

Hi @treoden,

Yes, we need to synchronize product information and inventory.
OK! Thank you for your reply!

from evershop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.