OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Product price not display on frontend

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

The forum will run in the read-only mode starting from March 1. Please head to StackOverflow for support.

  • Creator
    Topic
  • #39791

    ramanburdak396
    Participant

    Hello

    My website some products price doesn’t display on fronted why?

    When login admin and click saved button only(nothing anythings change in product list) then price display working fine.

    Why this happens because product already saved then why some product price display after save second time click on save.

    Why need to again save product for display product price?

    Please check screenshot(first one is before save product second one is after save)

    https://prnt.sc/o7ikf1

    https://prnt.sc/o7ikt2

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #39792
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    Product prices are calculated at the background with the message consumer.
    Prices are not calculated automatically when the product with prices was imported manually or created from the code. After such changes, it is required to trigger price recalculation manually.
    All the actions on UI trigger price recalculation so after save prices were recalculated for the product.

    To recalculate all the prices from CLI you can use below command:

    #39793

    ramanburdak396
    Participant

    Hi Andrey

    I have the below queries for the below command

    php bin/console oro:price-lists:recalculate –env=pro

    Queries:
    1)If I use the below command will it impact my database.
    2)Should I run the command directly on the server shell.

    Thanks!!

    #39794

    ramanburdak396
    Participant

    Hi Andrey

    I try to run this command but still price not display

    Please check below screenshot http://prntscr.com/o7k9wm

    Thanks

    #39798

    ramanburdak396
    Participant

    Hello Andrey

    What do you means imported manually?

    We have not imported new product listing last few days , price missing on frontend ,but when i save again product then price display correctly.

    We have 3 type price list for customer,So please let me know why this happens.

    Please also check my prev comment.

    Thnaks

    #39847
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    1)If I use the below command will it impact my database.
    2)Should I run the command directly on the server shell.

    The answer is “yes” for both questions.

    What do you mean imported manually?

    Imported with the console command, from a file or created with some custom code. Basically, I mean not created from UI.

    #40966

    ramanburdak396
    Participant

    Hello Andrey

    Some product price missing on frontend.I tried to run below command but nothings happens .

    php bin/console oro:price-lists:recalculate –env=prod

    Thanks

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

You must be logged in to reply to this topic.

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

Yes No