0

I am looking for an easy way to be able to quickly update the product sort order on any category page via export or import. I have looked into several extensions but have been limited due to the issue of having 1000's of products per category which by default would result in a csv with over 150,000 characters in a particular cell. Even if I do find an extension it will take about the same amount of time to organize the data for import than if I was to organize data for a direct import into a database via a correctly formatted csv (I dare say!).

I am familiar with MySQL and phpMyAdmin and I am very comfortable with exporting and importing directly into it, and even more comfortable with triple checking data before importing for precise characters etc, but I am not so familiar with Magento's database handling and the indexing.

Is it viable to export the "catalog_category_product" table and amend for re-import and does any one know if there would be any other tables involved in this? Or which tables? And any further steps apart from a backup(!).

0

I don't like answering my own questions, but here goes! Just a different approach to sorting the products and making it more manage-able helped. My steps:

  1. Disable the category sort order's ordering on the front end view (remove "position" from the sort order thanks to this nice post [http://prattski.com/2009/11/30/magento-how-to-remove-the-position-sort-option/][1])
  2. Add a new Attribute for all products not visible/search-able etc, just sort-able and give that a label such as "Default".

The new attribute is easily changed along with all the other product data via magento's import/export data-flow profiles. The only set back is to have a reminder that if you update your theme, to go and repeat step 1 above.

  • Interesting approach. Have you tested this on anchor categories as well? – Steven J Aug 18 '17 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.