Zangetsu Posted May 23, 2017 Share Posted May 23, 2017 Buenas tardes, tengo que conectarme desde una aplicación externa a prestashop y obtener el precio con el descuento correspondiente, pero estoy probando con varios tipos de descuentos desde prestashop para ver si la consulta sql termina de darme el valor que prestashop toma por defecto y no lo consigo. $sql = "SELECT * FROM ps_specific_price WHERE id_product = 1 AND (to > current_date OR to = '0000-00-00 00:00:00') ORDER BY to DESC" Podrian ayudarme con la consulta sql para poder obtener el dto que va a aplicar prestashop. 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