lundi 18 juillet 2016

How to add a custom MySQL query to userfrosting page which shares a database with Prestashop?

I installed Userfrosting on the same hosting where I have Prestashop installed also. Userfrosting uses the same database as the Prestashop.

I want to create a page where the users registered on Userfrosting can review their sales on my ecommerce. (Prestashop supplier = userfrosting user)

How can I make a custom SQL query on that page? I found a query where I can filter sales by suppliers on prestashop, but don't know how to implement it with UserFrosting (it uses html pages).

Aucun commentaire:

Enregistrer un commentaire