OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Hide products without price

This topic contains 2 replies, has 3 voices, and was last updated by  Michael 6 years, 2 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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
    Participant

    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
    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)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top