i want to create a module or script which will run via cron once in a day and it will check those product which qty greater than 0 but stock status is out of stock and made it inStock please what is the best code i will write.
i want to create a module or script which will run via cron once in a day and it will check those product which qty greater than 0 but stock status is out of stock and made it inStock please what is the best code i will write.