OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Product Price in New Bundel

This topic contains 2 replies, has 2 voices, and was last updated by  mishra338 6 years, 5 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
  • #32291

    mishra338
    Participant

    Hi, I am creating a new bundle to integrate a new Inventory system related to PostNL.

    Need custom product/Order Export using product bundle.

    Created a product rpository object
    $repository = $this->getDoctrine()->getRepository(‘OroProductBundle:Product’);

    $products = $repository->findAll();
    It has all required parameters related to product.
    But do not have Price.
    Not able to understand PriceBundle
    Please help me to get product price using above object or m I doing some thing wrong,

    Regards,
    Shuchi

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

    mmiasnikov
    Participant

    Hello Shuchi!

    You see, product price in B2B commerce is a more complicated concept, than in B2C commerce.

    Product prices stored in Price lists (and product can belongs to several price lists at the same time). Also, product price depends on the quantity of the purchased item, also depends on, actually, customer (buyer) personality – different customers could have different prices, etc.

    You can get acquainted with the concept of prices in more detail on the documentation page Pricing.

    So, to get product prices you should provide at least the price list and the currency, for example:

    #32293

    mishra338
    Participant

    Thanks a lot for the help,
    We have added following lines and get it done:

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

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

Back to top