Sort order is ascending when using “Product by id”
-
The sort order is default ascending instead of the order that the ids has been inserted.
I’ve already done some tests and found a solution:
In the file “wpcsp-shortcodes.php” on line 218 add the follwing code:
'orderby' => 'post__in'
(in else of “productsbyid”, right after line ‘post__in’ => …)It would be great if there will come a new version with this change.
Thanks and best regards
- The topic ‘Sort order is ascending when using “Product by id”’ is closed to new replies.