Hello, For one week I am trying to create a Multi-vendors e-commerce but I have a problem with that.
My problem is, I need to help the vendor to see all products from the purchases Type(table) that are purchased from a specific user.
But the vendor when choosing any user the result is (appear all product purchases from this user for the current vendor but also appear all products for another vendor ).
I need to appear only current vendor products and already purchased from this user without appearing any purchases for another vendor product.
I get down database structure for each type:
Vendor Type:
Purchases Type:
Product Type:
Here Design Repeating Group for the Product:
Here Continue Repeating Group for the Purchases and appear from parent RG Product:
Output to choose any customer has bought from the current vendor:
Now my problem will appear here:
the Oppo78 product for current vendor but 11111 product for another vendor and need to remove it
Thanks all









