Katia Smet Posted June 13, 2016 Share Posted June 13, 2016 Hi Everyone I would like to use React JS for my prestashop. But how can I fetch my data (like products) in JSON ? Thank you! Greets Katia Link to comment Share on other sites More sharing options...
NemoPS Posted June 14, 2016 Share Posted June 14, 2016 You can't by default. You need a module to fetch all data you need (custom made module) from the db, then simply return it in a file you can call externally. In this file, use Tools:jsonEncode($array) to display it in json format Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now