piero Posted April 5, 2018 Share Posted April 5, 2018 Hi, i'm using webservice api to get order from my e-commerce but i need to retrieve information about cart rules other than total discounts in order api. How can i get this data? Thanks in advice. Link to comment Share on other sites More sharing options...
IcuScc Posted April 18, 2018 Share Posted April 18, 2018 Hi Piero... I have the same problem Can you get order discounts via api? Thanks Link to comment Share on other sites More sharing options...
piero Posted April 20, 2018 Author Share Posted April 20, 2018 I think that's not possible to retrieve the name of cart rule's applied in the order with basic api. Link to comment Share on other sites More sharing options...
IcuScc Posted April 20, 2018 Share Posted April 20, 2018 Hi Piero... good afternoon, I have two solutions. 1: go to read at Prestashop Mysql Database 2: use prestasharp library... I need to see this two options. I tell you my results. Thanks. Link to comment Share on other sites More sharing options...
IcuScc Posted April 26, 2018 Share Posted April 26, 2018 Hi Piero, finally i dont found a solution. In my solution i go to read to order_cart_rule table of mysql prestashop I hope in future versions o prestashop back again hte order_discounts webservice regards Link to comment Share on other sites More sharing options...
Pete78 Posted August 29, 2018 Share Posted August 29, 2018 Actually, you just have to edit the WebserviceRequest class and add the new resource. Dont forget to give rights to you webservice key https://www.screencast.com/t/Jww6l3vhSDCE 1 Link to comment Share on other sites More sharing options...
garedat Posted September 10 Share Posted September 10 On 8/29/2018 at 8:32 AM, Pete78 said: Actually, you just have to edit the WebserviceRequest class and add the new resource. Dont forget to give rights to you webservice key https://www.screencast.com/t/Jww6l3vhSDCE Thank you, works like a charm. I have prestashop 1.7.7.4 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