View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0006664 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2017-07-13 14:48 | 2017-09-04 11:48 | 
| Reporter | leofonic | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | duplicate | ||
| Product Version | 4.10.4 / 5.3.4 | ||||
| Summary | 0006664: Sorting by price in categories does not work | ||||
| Description | Sorting by price in categories does not work | ||||
| Steps To Reproduce | Go to http://demoshop.oxid-esales.com/community-edition/Kiteboarding/Kites/ Sort by price  | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Theme | Not defined | ||||
| Browser | Not defined | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||
| duplicate of | 0006579 | resolved | saulius.stasiukaitis | OXID eShop (all versions) | Sorting by self-created fields in the oxarticles does not work | 
| duplicate of | 0006445 | resolved | saulius.stasiukaitis | Flow theme | sorting by price doesn't work | 
| 
		 | 
	
	The default settings are sorted by oxvarminprice.  Sorting according to oxprice (under Settings => Articles) works if entered (see Attachment).  | 
| 
		 | 
	Sorting by oxvarminprice does not work. | 
| 
		 | 
	
	If in the shopadmin oxvarminprice is registered instead of oxprice, then is sorted according to the minimal variant price of the article. This also works. See in demoshop http://demoshop.oxid-esales.com/professional-edition/Bekleidung/Fashion/Fuer-Sie/Jeans/ Bekleidung -> Fashion -> Für Sie -> Jeans  | 
| 
		 | 
	
	No this does not always work, problem is with oxNew('oxArticle')->getFieldNames() in oxubase::getUserSelectedSorting(), which depends on cached value and oxvarminprice is not always present in field list.  Just empty tmp or wait until demoshop is reset and click on the supplied link. https://www.youtube.com/watch?v=xMHuABnfWA4&feature=youtu.be&hd=1  | 
| 
		 | 
	This Bug is already reported in https://bugs.oxid-esales.com/view.php?id=6579 |