Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCommerce Hide products without price

This topic contains 2 replies, has 3 voices, and was last updated by Michael Michael 8 months, 1 week ago.

  • Creator
    Topic
  • #32632

    msalmi.kais
    Participant

    Hello,
    how to hide products whose prices displayed in frontend equal to null?
    in other words: I want to hide products for customers whose products are not included in their price list.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32633

    Viacheslav Bemza
    Moderator

    Hello, msalmi.kais!

    The simplest solution is set such products Status to Disabled.
    Or you can add event listener for oro_datagrid.datagrid.build.after.frontend-product-search-grid event and add your additional criteria for search query.
    You can read more about search process in documentation

    #32634
    Michael
    Michael
    Keymaster

    You can use product visibility to hide products selectively from customers or customer groups.
    There is no connection between price and visibility, you have to manage them separately.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com