Real Time Stock Implementation using external Sup

  • Posts: 11
  • Thank you received: 0
11 years 6 months ago #136834

Ls,

I use multiple suppliers with realtime stock indication using ajax/jquery options.
Currently I implemented on the product/listing in views custom code.
It there a option to implement it on a better way or is there a standard option to use realtime stock using ajax/jquery?

Regards,

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #136864

Hi,

I've never heard of such method. Most suppliers usually provide web services with which you can interface in PHP and have a cron to update the stocks of the products on a regular basis by connecting to these web services.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
11 years 6 months ago #136872

Regular is not realtime, no chance hika will build such option to enable standard ajax/jquery options?

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 6 months ago #136921

I don't see how that would be possible. The checks on the stock are done on the server side. ajax/jquery won't allow you to get the stock for these checks.
What I said was jut an example of most used integrations, but you could query the stocks in realtime with a webservice in a similar manner, it doesn't change what I said regarding the fact such interface should be done in PHP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum