regalofeliz Posted March 26, 2012 Share Posted March 26, 2012 Hola cuando meto un articulo nuevo , me sale en novedades pero el 煤ltimo....y quiero que los a帽adidos sean los primeros....no consigo hacerlo 驴c贸mo lo hago? 聽 聽 www.deseoyamor.es Link to comment Share on other sites More sharing options...
shacker Posted March 28, 2012 Share Posted March 28, 2012 abre el archivo newproductscontroller.php en la carpeta controllers y en esta linea 聽 'products' => Product::getNewProducts((int)(self::$cookie->id_lang), (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay), 聽 pon 聽 'products' => Product::getNewProducts((int)(self::$cookie->id_lang), (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, "DESC"), 聽 order by puede ser reemplazado por "price", "name", "date-add" Link to comment Share on other sites More sharing options...
regalofeliz Posted March 29, 2012 Author Share Posted March 29, 2012 abre el archivo newproductscontroller.php en la carpeta controllers y en esta linea 聽 'products' => Product::getNewProducts((int)(self::$cookie->id_lang), (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, $this->orderWay), 聽 pon 聽 'products' => Product::getNewProducts((int)(self::$cookie->id_lang), (int)($this->p) - 1, (int)($this->n), false, $this->orderBy, "DESC"), 聽 order by puede ser reemplazado por "price", "name", "date-add" 聽 聽 A parte tengo otro problema en otra tienda 1.3 se me descolocan los productos de las categor铆as, yo en el backoficce los ordenos y luego se me ponen diferente 驴c贸mo arreglo esto? Link to comment Share on other sites More sharing options...
regalofeliz Posted March 29, 2012 Author Share Posted March 29, 2012 OK SOLUCIONADO gracias por todo funcion贸 a la perfecci贸n Link to comment Share on other sites More sharing options...
ricardo oriol Posted August 21, 2012 Share Posted August 21, 2012 Muchas gracias por la soluci贸n. Link to comment Share on other sites More sharing options...
shacker Posted August 21, 2012 Share Posted August 21, 2012 Recuerda cambiar el titulo a solucionado. Estamos para ayudarte Link to comment Share on other sites More sharing options...
Recommended Posts