Ask your WordPress questions! Pay money and get answers fast! (more info)

First display those products which contains of my attribute WordPress

  • REFUNDED

CMS - MAGENTO
ver. 1.9.0.1

Hello,

I know this site is meant for Wordpress questions only but I'm in dire need of magento at the moment. I know there are few developers who also work on magento.

In the list of products in any category, first I want to sort out those products which having my custom attribute "bestsellers" with value "yes" (there is only one value).

Even though making the default sort as "bestbesellers", it's still don't work. However I noticed If I sort out like this #dir=desc&order=bestsellers then it works. Can I do something to make that without adding #dir=desc&order=bestsellers and it should load after I enter the products?

2) Need someone who can help me generate my magento products Feed to upload into Google Shopping? It should work when upload to Google Shopping. I've simple as well as configurable products which are in thousands.

Answers (2)

2016-01-19

Rempty answers:

Did you tried this?
http://inchoo.net/magento/changing-default-category-sort-order-in-magento/


Shoeb mirza comments:

Yes, it doesn't work for me. I think I may also need "desc" along with that..

2016-01-19

Bob answers:

Have you tried this?
[[LINK href="http://inchoo.net/magento/changing-default-category-sort-order-in-magento/"]]http://inchoo.net/magento/changing-default-category-sort-order-in-magento/[[/LINK]]

and check after clearing cache.


Bob comments:

this example might be helpful to write code. let me know you think this code takes you to right direction.
[[LINK href="http://excellencemagentoblog.com/blog/2011/09/14/magento-category-page-product-sorting/"]]http://excellencemagentoblog.com/blog/2011/09/14/magento-category-page-product-sorting/[[/LINK]]


Shoeb mirza comments:

How to make my desired attribute display first for which I want to make default ordering as decreasing and "bestsellers". I already did the admin backend before posting here..


Bob comments:

please post your website link