1

Is it possible to bring all goods where the value of the "name" attribute begins particular letter, for example "". (without assigning additional attributes). Maybe there is a ready solution?

1 Answer 1

1

Smae_ivan,You can do this

by operator like on where condition

   addFieldToFilter(array(
        array(
            'attribute' => 'name',// name is field name 
            'like'        => $youtletter.'%',
            );

More:http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/using_collections_in_magento

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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