Important

Okay
  Public Ticket #1310955
Product details from Seller Id
Closed

Comments

  • Harinarayanan started the conversation

    Hello team,

    Doubt 1:

    can you please tell me how to fetch the products by using seller id (or seller information).

    I need to get the latest or all products and its related attributes like name, image, price etc along with seller list.

    can we do the join operation with product table

    Doubt 2

    Data fetching using this query seems very slow especially with AJAX operation. Do we have any optimization tips can apply?

    $objectManager = \Magento\Framework\App\ObjectManager::getInstance ();
    $seller        = $objectManager->create ( 'Lof\MarketPlace\Model\ResourceModel\Seller\Collection' )->load();

    Thank you,

  •  1,315
    Land of replied

    Hi

    1,Please check file Lof\MarketPlace\Block\Seller\Product\ListProduct

    2,You can set data in block, then get to file template phtml

    Thanks

  • Harinarayanan replied

    ok. thank you

  •  1,315
    Land of replied

    You are welcome!