Prestashop in Depth: Overriding Cart class

preview_player
Показать описание
🙋 Join us on Discord:

My Online Courses
🚀 Ultimate Theme Developer guide for Prestashop 1.7 ( 2020 )
🧰 Module's developer guide for Prestashop 1.7
🏃 Practical guide for creating Prestashop 1.7 module
🎨 Themes developer guide for Prestashop 1.7 ( 2019 )
🎵 Symfony beginner guide 2020

WHO AM I:
I'm Mohamed Habib, a web developer working in Paris, France. I make videos about coding, mainly Prestashop and Angular. I also have premium courses that you get on Udemy and Skill-share.

Рекомендации по теме
Комментарии
Автор

another top quality lesson! liked.. thank you!

basilistigris
Автор

Thanks.the idea of overwriting the class of employees is to be able to create a login method that allows you to validate an email and password as a prestashop user. There is probably a mechamism, which I do not know. The methods within the employee class allow us to validate the existence of the email as a user id, and the password from an id, which returns an object of the class. Extend the WS so that PS authentication can be used from the outside to know if the combination of user (email) and password are valid. The objective is to build an ANGULAR application that, by consuming WS, allows it to perform the functions of POS (point of sale), using the PS authentication mechanism and the application tokens that it facilitates.

AGAGARCIA
Автор

Hello Mohamed,
Thank you for this video.
Did you make a full tutorial of it ? Where can I find it please ?

rahiarii
Автор

Great job, thanks for courses form YT and udemy.

kepesian
Автор

I need to fully customize the form and save data to the database, and now I have done it, because of your video series(thank you), but now the problem is I need to save that form data to the database after the payment is done, how can I do it? is any video series related that you have done? main thing is I don't need any product or cart option, only need to save form data after payment is done.

chinthakasandaruwan
Автор

Thanks again!
Like always 5* explanation, easy to understand, clear & direct to the point ;)
Based on prestashop doc, we should minimise the use of overriding, for multiple reasons, ex: multiple customs modules overrides.
If you would need to change the behaviour of the function: "public function getProducts(...)" on the class CartCore, to change ex: the default query "$sql->select('cp.`id_product_attribute`, ...", what would be you approach?

wanderlustniall
Автор

Thank you brother for your hard work. :)

arifurrahman
Автор

Thank you for your great work ! I am a big fan of your tutorial and your knowledge ! You did help me alot about realising many things in Prestashop Keep it up <3 !
Ps: discord channel is invalid.

ziedhadden
Автор

hello how to overide any file php created inside a module ?

nejeehatiyya
Автор

I love you Mohamed, but... if you can speack more slow??? kisses from Spain

gabiirese