Turiddu8686 Posted December 30, 2022 Share Posted December 30, 2022 Hi I created an external page that loads the orders in a bootstrap grid from an xml file, I would like to be able to add a button in each line, which allows me to add and update the order status and tracking on prestashop. is there a way via php to add these buttons? Link to comment Share on other sites More sharing options...
Nickz Posted December 30, 2022 Share Posted December 30, 2022 46 minutes ago, Turiddu8686 said: is there a way via php to add these buttons? you need to have a .php extension in order to make php work. https://www.geeksforgeeks.org/how-to-use-php-in-html/ Link to comment Share on other sites More sharing options...
Turiddu8686 Posted January 2, 2023 Author Share Posted January 2, 2023 On 30/12/2022 at 17:00, Nickz said: è necessario disporre di un'estensione .php per far funzionare php. https://www.geeksforgeeks.org/how-to-use-php-in-html/ i know how to work in php with html i don't know how to connect to prestashop order by id of order and update this field possible with webservice api of prestashop but i'am not practice whit this Link to comment Share on other sites More sharing options...
Nickz Posted January 2, 2023 Share Posted January 2, 2023 2 hours ago, Turiddu8686 said: i know how to work in php with html i don't know how to connect to prestashop order by id of order and update this field possible with webservice api of prestashop but i'am not practice whit this If you need the php page to read data from the database you need to connect to the DB (Database) Link to comment Share on other sites More sharing options...
s4lvozesta Posted January 24, 2023 Share Posted January 24, 2023 This might be interesting for you https://devdocs.prestashop-project.org/8/webservice/resources/orders/ especially `<current_state>` 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