szpeti![]() 2008-05-19 23:43 | Hi! » Quick.Cart v3.x |
treewood (OpenSolution)2008-05-20 08:10 | szpeti - yes it is possible but then you will not sort by position and names.
$aFieldsSort = Array( 'iPosition', 'sName', 'iProduct', 'sAvailable', 'fPrice', 'sDescriptionShort', 'iStatus' );
change to
$aFieldsSort = Array( 'fPrice', 'iPosition', 'sName', 'iProduct', 'sAvailable', 'sDescriptionShort', 'iStatus' );
After edit product in admin area and save it. It should works |
szpeti![]() 2008-05-20 18:56 | Thx, for your answer. |
treewood (OpenSolution)2008-05-21 08:40 | szpeti - very strange. you should do backup database in every time you want to change something in database. try this modification in new database |
Arturro7772008-05-21 13:27 | Super że ten temat pojawił się właśnie teraz. Mam pytanie, czy jest jakiś sposób żeby odwrócić sposób sortowania wg pozycji. Aktualnie sortuje tak, że produkt z nr jeden jest wyświetlany jako pierwszy a z nr 2 jako drugi. Chciałbym ze względu na moich klientów zmienić to tak aby produkt z pozycją 1 był wyświatlany jako ostatni a najwyższa liczby dodatnia była na pierwszym miejscu jako najnowszy produkt w sklepie. AK |
beholder2008-05-21 14:17 | Artutto777>> |
Arturro7772008-05-21 14:50 | I'm sorry for this. I will try to translate it in English. I want to invert the way of sorting products. I mean that the products with highter position number can be displayed before the products with lower position number. Explanation: products(position nr2) is displayed first like newest product, product(position nr1) is displayed second because it is older products. I ask because people whom I've made a website using Qucik.Cart don't understand how properly use option "position". AK |
Makaron2008-05-22 10:25 | Nie istnieje możliwość wybierania np jak w tradycyjnym SQLu, że sortować ma malejąco czy rosnąco (DESC, ASC), ale przecież pozycje te można ustalać w panelu admina te pozycje i można dawać ujemne. |
szpeti![]() 2008-05-22 15:52 | Yes, it's working with the new database. Thanks again for your ansver. I'll keep in mind, to always do backup... :) |
etemorom2008-05-29 10:35 | can i implement this to qc. 14? |
etemorom2008-09-06 07:49 | can i implement this in qk 1.4 or 2.x ? |
etemorom2008-09-06 19:07 | hellooo |
Makaron2008-09-08 10:29 | Unfortunately arrays which are connected with sorting are only from version 3.0.. |
elcon![]() 2009-06-12 15:13 | is possible to sort product by their dates of adding ? luke |
elcon![]() 2009-06-12 21:20 | hellooo .. anybody here ? luke |
Makaron2009-06-15 07:54 | No because in products database there isn't date field. |