Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
magento:downloadplus:template [09.06.2017 09:19]
IT Services @ PILLWAX Industrial Solutions Consulting [Changing the Sort Order]
magento:downloadplus:template [30.01.2018 11:32] (current)
IT Services @ PILLWAX Industrial Solutions Consulting [Changing the Sort Order]
Line 374: Line 374:
  <!-- To modify sort order of the items: -->  <!-- To modify sort order of the items: -->
  <​action method="​setSortProducts"><​value>​purchased_links.product_name ASC</​value></​action>​  <​action method="​setSortProducts"><​value>​purchased_links.product_name ASC</​value></​action>​
- <​action method="​setSortPurchasedItems"><​value>​purchased_links.item_id ​DESC</​value></​action>​+ <​action method="​setSortPurchasedItems"><​value>​purchased_links.order_increment_id ​DESC</​value></​action>​
  <​action method="​setSortVersionHistory"><​value>​version DESC</​value></​action>​ -->  <​action method="​setSortVersionHistory"><​value>​version DESC</​value></​action>​ -->
      </​block>​      </​block>​
Line 388: Line 388:
 </​code>​ </​code>​
 \\ \\
-To Sort based on the ''​Purchased History Order''​ use the ''​Purchased Links Item ID''​ in descending order:+To Sort based on the ''​Purchased History Order''​ use the ''​Purchased Links Order Increment ​ID''​ in descending order:
 <code xml> <code xml>
-<action method="​setSortPurchasedItems"><​value>​purchased_links.item_id ​DESC</​value></​action>​+<action method="​setSortPurchasedItems"><​value>​purchased_links.order_increment_id ​DESC</​value></​action>​
 </​code>​ </​code>​
 \\ \\