Practical Test
    JSON FILE

    products.json
     Discount Details
    Vendor  TRADE A TRADE B TRADE C TRADE D
    Vendor 1    29  25  22  N/A
    Vendor 2    22  25  N/A 12
    Vendor 3    12  25  3   56
   Vendor 4 12  N/A 34  12
   Vendor 5 N/A 15  N/A 12
   Products List
  # Product Name    Price   Tags    Vendor  Cart
   1    test product1   Rs.12.50    TRADE A, TEST   Vendor 5    Add to Cart
   2    test product2   Rs.22.50    TRADE A, TEST   Vendor 4    Add to Cart
    3   test product3   Rs.32.50    TRADE C, TEST   Vendor 2    Add to Cart
    4   test product4   Rs.42.50    TRADE D, TEST   Vendor 2    Add to Cart
    5   test product5   Rs.52.50    TRADE B, TEST   Vendor 4    Add to Cart
    6   test product6   Rs.62.50    TRADE C, TEST   Vendor 3    Add to Cart
    7   test product7   Rs.72.50    TRADE B, TEST   Vendor 5    Add to Cart
    8   test product8   Rs.82.50    TRADE A, TEST   Vendor 5    Add to Cart
    9   test product9   Rs.92.50    TRADE D, TEST   Vendor 2    Add to Cart
   10   test product10  Rs.102.50   TRADE C, TEST   Vendor 4    Add to Cart
    11  test product11  Rs.112.50   TRADE D, TEST   Vendor 4    Add to Cart
    12  test product12  Rs.122.50   TRADE D, TEST   Vendor 1    Add to Cart
    13  test product13  Rs.132.50   TRADE A, TEST   Vendor 2    Add to Cart
    14  test product14  Rs.142.50   TRADE B, TEST   Vendor 3    Add to Cart
    15  test product15  Rs.152.50   TRADE D, TEST   Vendor 1    Add to Cart
     Shopping Cart
     #  Product Name    Org Price   Discount Percentage Discounted Price    Vendor  Remove
    1   test product1   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
    2   test product2   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
   3    test product3   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
   4    test product4   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
   5    test product5   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
   6    test product6   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
  7 test product7   Rs.12.50    25% Rs.10.00    Vendor 1    Remove
  Total :   Rs.1500.00      000webhost logo

We do not do homework for you. Posting the homework, with or without data, will get you nothing.

Show what you have done so far and explain what's stopping you. Somewone will then help.

If you can't be bothered to ask a question then why should we go to the trouble of helping?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.