anyone aware of a mod / extension / way that I could get opencart to automatically check a CSV or similar on a daily basis, check through a stock column and update opencart as a result?
The file I want to check is as follows:
File Url: http://www.domain.com/file-that-you-want-to-get.xml
Root (Products), Node (Product), Element names:
1) ProductID
(2) Name
(3) Xline "true or false, If true, will be discontinued when stocks run out"
(4) InStock "In Stock, Out of Stock or Discontinued"
(5) Stock "if Xline true will show remaining stock, otherwise will always show 99"
I use the same product ID on my 'model' in opencart as is used in the feed so I essentially want to
- grab the file
- match the IDs to my models
- check if the in stock status should be 'in stock' or 'out of stock'
- updated as needed
Any thoughts or suggestions on automating this are most certainly welcome
