Author Topic: adding new "sort by" attribute in storefront category  (Read 127 times)

Offline tim.alemanha

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
adding new "sort by" attribute in storefront category
« on: February 12, 2020, 11:57:22 AM »
Hi, I am trying to adding "sort-by weight" into the storefront. Currently customers can sort by name, price, rating and date, I need to sort it by weight and accordingly edited category.php and the corresponding xml language files displaying the drop-down menu. So far so good, meaning it shows the weight addition in the drop down menu and gives no error once I sort by weight, however it does not sort by weight, I suspect it does not actually reads the weight values out of the database. I am stuck one way or the other and hope someone can help me. I am selling gems that need to be sorted by carat weight.

 

Powered by SMFPacks Social Login Mod