Forums

Covering OroCommerce topics, B2B eCommerce trends, 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 1 month, 1 week ago.

  • Creator
    Topic
  • #15517

    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
  • #15518

    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

    #15519
    Michael
    Michael
    Participant

    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.

ssossossosso