Coder Social home page Coder Social logo

rest-api's Introduction

Bagisto REST API

Bagisto REST API is a medium to use the features of the core Bagisto System. By using Bagisto REST API, you can integrate your application to serve the default content of Bagisto.

1. Requirements:

  • Bagisto: v2.1.2

2. Installation:

To install Bagisto REST API from your console:

For the master version:

composer require bagisto/rest-api:dev-master

Note: It is not recommended to use the master version as it may contain breaking changes.

Add below options in the .env file (i.e. http://localhost/public your domain):
SANCTUM_STATEFUL_DOMAINS=http://localhost/public
To configure the REST API L5-Swagger Documentation run below command:
php artisan bagisto-rest-api:install
To check the Admin end API documentation:
http://localhost/public/api/admin/documentation
To check the Shop end API documentation:
http://localhost/public/api/shop/documentation
  • You can check the L5-Swagger guidelines too regarding the configuration the API documentation.

rest-api's People

Contributors

amit-webkul avatar antuchaudharyqlo246 avatar devansh-webkul avatar himani-webkul avatar jitendra-webkul avatar rachana-webkul avatar shivendra-webkul avatar vivek-webkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rest-api's Issues

Update Cart Items API is not working.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
After adding the product id of the product which is already in the cart, if we increase the qty and decrease the qty and try to update the product with API, we are getting 200OK response but it is not working.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Cart -> Update Cart.
2. Now pass the ID of the product which is already added in the Cart.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Update.Cart.Not.working.mp4

Expected Result
If we are updating a product that means it should respond and send the correct information.

Get cart item API, if no item found in customer profile cart. Message should appear.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description

When we check the API after customer authorisation and we check the Cart items related information, if there is no product in the cart added in the customer profile, then there we can see No message appears in the Postman response.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Cart -> Get Cart Items -> Now check the response.
2. There we can see null data but no message. Here message need to be added.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-11-30 16-45-25

Expected Result

If there are no address in the customer profile, In postman response we can add message.
Message - No Items Found

Product Mass delete API is not working properly.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

While trying to delete the mass product and entering all the required fields still it is showing selected resource not found.

Preconditions

  1. Admin should have at least two created products.

Steps to reproduce

  1. Open mass delete API inside product Admin/product
  2. Send a request
  3. See the error

Expected Result

Here should be shown successfully deleted in response.

Actual Result

but It is showing resource not found. Here

Screenshots

No response

Additional context

No response

In Customer Login API, Device Name should not be mandatory form data.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Collection form data to login a customer, there we can see that the Device Name field is mandatory to fill, else we are unable to login the customer.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Authentication -> Customer Login.
2. Check the Form Data and there we can see the Device Name.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Screenshot from 2022-11-29 16-42-55

Expected Result

The Device Name field should not be mandatory.

Add Simple Product to Cart - API is having Product ID check issue.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we pass product id in the URL and same ID when we use to the form data, it is working fine, but when we check replace the URL product ID with another product, there we can see the in front end and API response.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Cart -> Add simple product to Cart
2. Use Simple product ID in the URL and then in Form Data product ID use another simple product ID.
3. Now in API we can see the issue.

Actual Result
Please check the screenshot/video for a better understanding of the issue.
Issue which is detected is that, it replaced the Product with another product and QTY is also increased. It replaced the product with the ID which is passed in the URL.

Video/Screenshot

product.add.issue.mp4

Expected Result

The Product ID check should be applied so that the URL based product ID should be updated.

In Admin Login API - Device Name should not be a mandatory field.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
In postman, when we try to login as admin, there in form data device name is a mandatory field.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> User -> Auth Routes
2. Now try to login without the device_name.
3. We are unable to login without this.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Device.Name.mp4

Expected Result

This is not a mandatory field and hence we should be able to Login the Admin.

In Mass Delete - Customer API, we are unable to delete the Customers.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we try to delete the Customers in mass delete API, we are unable to delete it. We need to have proper form data for the same.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Customers -> General -> Mass Delete.
2. Here when we pass the data we are facing the issue.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-09 17-12-23

Expected Result
We should be able to mass delete the Customer.

There should be an API for customer for Forgot Password Recovery.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Customer API, there we can see Login, Logout and Register API, but there should be an API where a customer can have the option of Forgot Password API.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Authentication

Expected Result
Here we should have an API for the Customer Forgot Password, for recovery of the password.

Add API for Booking Products.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When checking the Add to cart API, there it was found that the Booking Product API is missing. Please add the API for Booking Product and there types.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Cart
2. there we cannot see the API related to Booking Product.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-01 11-49-58

Expected Result
There should be API for the booking product, we have different Booking Products, for each we should have API.

  1. Default Booking
  2. Appointment Booking
  3. Event Booking
  4. Table Booking
  5. Rental Booking.

Add Group Product in Cart is having issue in adding product.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we add simpler products with the help of group product and simple product id, we are able to add those products in the cart which are not related to the Group.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Cart -> Adding Group Product to Cart.
2. There when we pass the ID of the simple product which is not in the product, we can add the product to the cart.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

product.add.issue.mp4

Expected Result
Here product adding check should be applied. No other product accept the group simple product should be added.

The update inventory API is not working properly. it is showing an HTML page.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

The update inventory API is not working properly. it is showing an HTML page.

Preconditions

  1. Admin should have at least one created product.

Steps to reproduce

  1. Open update inventory API inside Admin
  2. Send a request
  3. See the error

Expected Result

Here should be shown product response
Actual Result

but It is showing an HTML page. Here

Screenshots

No response

Additional context

No response

We are unable to See the products in the Admin end also in the DB product flat table.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we create a product with API and Update the Same product with API, we are unable to see the product in Admin end and also, when we check the Database product table, there we can see the entry of the product.
Same entry can be seen in the product attribute values table, but when we check the product flat table we are unable to see the entry.

Steps to Reproduce
1. Go to Admin -> Check the product
2. Now Create a product and Update the product with API and check the DB.
3. There in the product flat table we are unable to see the product and also in the Admin end.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

No.Ptroduct.Found.mp4

Expected Result
Please fix the issue. Product should be visible at the admin end and also in the Database Entries so that we can check the API working properly or not.

Save Address API is not working.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Save address API in postman, there we can see 422 Unprocessable Content, here in the API response we can see that there are certain fields which are missing. which need to be added.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Shipping.
2. Here we can see that the raw data has some fields missing.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-02 16-38-35
Screenshot from 2022-12-02 16-46-40

Expected Result

Raw Data and Form Data Field which are required here are.
City Name
Phone
addressid.

Incorrect Date is visible in the Admin End after creating Catalog Rule with API.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we fill the details of the Start's From and End Till in API and hit the API, after that we can see 200 OK message. But when we check the same concern at the Admin end, there we can see the issue in Start's From and End Till.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Marketing - > Catalog Rules -> Create Catalog Rule
2. Now fill the dates in the API and after that check the Admin End.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-08 15-28-28

date stored

Expected Result
The Dates which we have added in the API, should reflect back in the admin end also.

We are able to update the QTY of downloadable product with Update Cart Item API.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
We are able to update the QTY of the Downloadable product. when we pass the Product ID of Downloadable product.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Cart -> Update Cart.
2. Pass the ID for Downloadable Product.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Update.the.Qty.of.downloadbale.product.mp4

Expected Result
Here the ID should not pass and a message should appear.
Product Quantity cannot be Updated.

Wishlist Product Move to Cart API is not working.

Bagisto - MASTER
Bagisto Rest API - MASTER

Description
In wishlist API, there we have Move to Cart API, there it is working similarly as add and remove product to wishlist.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Wishlists -> Move to Cart.
2. API is not working.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Add.or.cart.issue.mp4

Expected Result

The functionality of the API should be sending wishlist product to the cart.

The status value should be shown in response while getting shipping details with all and id by Admin.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

The status value should be shown in response while getting shipping details with all and id by Admin.

Preconditions

  1. Admin should have at least one placed order.
  2. Admin should have at least one shipment.

Steps to reproduce

  1. Open getting shipping with all and shipment id inside Admin
  2. Send a request
  3. See the error

Expected Result

Here should be shown status value based on order status.

Actual Result

but It is showing null. Here

Screenshots

No response

Additional context

No response

We are getting same response in the Additional Information (Attributes) API.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Additional Information (Attributes) API, there we change the product Id, still we are getting the same response.

Steps to Reproduce
1. Shop -> Catalog -> Products -> Additional Information (Attributes)
2. There in the URL if we change the product ID, still we are getting same response.

Actual Result
We can see that every time we can see the ID 25 as a result. Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Same.response.mp4

Expected Result
The response should be according to the product Id.

The Attribute Mass delete API is not working.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

The attribute Mass delete API is not working.

Preconditions

  1. Admin should have at least one created attribute.

Steps to reproduce

  1. Open mass delete Attribute API inside Admin/catalog/attribute
  2. Send a request
  3. See the error

Expected Result

Here should be deleted selected items

Actual Result

but It is not deleting it is showing an exception. Here

Screenshots

No response

Additional context

No response

Update Catalog Rule by ID API is not updating start and end date.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

Update Catalog Rule by ID API is not updating start and end date.

Preconditions

  1. Admin should have at least one catalog rule.

Steps to reproduce

  1. Open update catalog by ID rule API inside Admin/marketing
  2. Send a request
  3. See the error

Expected Result

Here should be the start and end dates.

Actual Result

but It is not updating. Here

Screenshots

No response

Additional context

No response

Get Address API, if no address found in customer profile. Message should appear.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the API after customer authorisation and we check the address related information, if there is no address added in the customer profile, then there we can see No message appears in the Postman response.

Steps to Reproduce
1. Go to Postman -> Shop -> Customers -> Addressed -> All addresses -> Now check the response.
2. There we can see null data but no message. Here message need to be added.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-11-30 13-09-11

Expected Result

If there are no address in the customer profile, In postman response we can add message.
Message - No Address Found

The Coupon code is missing in the cart rule all APIs.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

The Coupon code is missing in the cart rule all APIs.

Preconditions

  1. Admin should have at least one cart rule.

Steps to reproduce

  1. Open get/create/update cart rule API inside Admin/marketing
  2. Send a request
  3. See the error

Expected Result

Here should be shown coupon code in response.

Actual Result

but It is not showing. Here

Screenshots

No response

Additional context

No response

Delete Address -> Need to update the response message.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Address Delete API, there we are able to delete the customer address but the message which are getting in the response need to be update.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Addresses -> Delete Address.
2. Check the response message.

Actual Result
Please check the screenshot/video for a better understanding of the issue.
Video/Screenshot

Message.need.to.be.update.mp4

Expected Result
Correct Message should be - Address deleted successfully.

Should be shown unauthenticated message if enetering incorrect URL for all APIs.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

While entering an incorrect URL here should be shown an unauthenticated message for all APIs

Preconditions

Steps to reproduce

  1. Open any API
  2. Enter the incorrect URL
  3. Send a request
  4. See the error

Expected Result

Here should be shown an unauthenticated message for an incorrect URL.

Actual Result

but It is showing an exception. Here

Screenshots

No response

Additional context

No response

In the category no of products data should be shown in product response format.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

In the category no of products data should be shown in product response format.

Preconditions

  1. Admin should have at least two created category.

Steps to reproduce

  1. Open get all category API inside product Admin/catalog
  2. Send a request
  3. See the error

Expected Result

Here should be shown no of products data in a proper response.

Actual Result

but It is showing in array form. Here

Screenshots

No response

Additional context

No response

Need to Add Readme File.

Description

When we check the details, there we can see that the readme file is missing. Please add the readme file for API Module.

Screenshot

Please check the screenshot for a better understanding of the concern.

Readme

Get Meta Data - We should be able to get the Meta Data information by API.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the concern related to the meta data, with the help of API we should be able to fetch the information related to the Meta Data.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Velocity -> Meta Data
2. Here we should be able to fetch the information related to meta data pages.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Get Meta Data

Screenshot from 2022-12-08 11-01-12

Expected Result
Please add the details related to the same, as we are getting issue when we are passing the information.

In Create Transaction API - Shipping Repository Details are missing.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we are checking the details of the transaction and when we try to create a new transaction with the API, shipping repository details are missing, hence we are unable to create a transaction.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Sales -> Transactions -> Create Transactions
2. When we fill the form data and then check the details we get the error.

Expected Result
Shipping Repository need to be added in the Create Transaction API.

Show Category with ID -> It should not respond without Category ID.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Show Category with Category ID, there we can see that the Category details are visible, but when we check the Details without Category id, we are able to see all the Category.

Steps to Reproduce
1. Go to Postman -> Shop -> Catalog -> Categories - > Show Category by ID.
2. Here in URL, do not use the Category id, and then we can fetch all the Categories details.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Show.Category.by.ID.mp4

Expected Result
Here only Categories with Category Id should else a message should appear. If we are able to fetch all the products the there is no need of having show all Category API.
Message - No Category Found or Please add Category ID.

In Mass Delete - Header Content API, we are unable to delete the Header Content.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we try to delete the Header content in mass delete API, we are unable to delete it.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Velocity -> Header Content -> Mass Delete Header Content
2. Here when we pass the data we are facing the issue.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-08 12-49-10

Expected Result
We should be able to mass delete the Header content.

Admin Meta Data API is showing an exception.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

While getting meta data details it is showing an exception.

Preconditions

  1. Admin should have meta data.

Steps to reproduce

  1. Open get meta data API inside Admin/velocity
  2. Send a request
  3. See the error

Expected Result

Here should be shown proper data

Actual Result

but It is showing an exception. Here

Screenshots

No response

Additional context

No response

Wishlist Product Add to Cart API -> Message need to update.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we add the wishlist product to the cart, there we can see the message appearing "Item removed from wishlist successfully."

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Wishlist -> Add to Cart -> Send the product ID to move product to cart.
2. Now check the message, there we can see "message": "Item removed from wishlist successfully."

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Screenshot from 2022-11-30 12-05-08

Expected Result

Here the message need to be updated.
Message should be - Product Added to the Cart Successfully.

In Mass Delete CMS API - We are unable to delete the CMS Pages.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we are trying to delete the CMS Pages in Mass, there we are facing some issue. In form data when we pass the data in Array format, it is showing the issue, either numerical or comma values to be enter and if we do so, it is facing the issue of string data.

Steps to Reproduce
1. Go to Postman -> Bagisto - > Admin -> CMS
2. There when we pass the data in raw and form form format. We found the issue.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-08 10-02-02
Screenshot from 2022-12-08 10-02-11
Screenshot from 2022-12-08 10-02-42

Expected Result
Please check the concern, and with mass data we should be able to Fetch the information and we should be able to delete in mass.

Unable to do the Checkout process and Add to Cart process for Guest with API.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the checkout process and Product add to cart process for the Guest Customer, there we can see in Postman we are getting the Unauthenticated Message.
Here in Postman we have disabled the Authorisation factor and then also we are unable to add the product to cart and cannot do the checkout process like. add to cart, add coupon, add address, payment method etc.

Steps to Reproduce
1. Go to Postman -> Logout the customer -> Add product to cart as a Guest.
2. Check the same details for all the checkout process, we are getting Unauthenticated Message

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Guest.mp4

Expected Result
As Guest is also a customer and hence, guest should also be able to place the order and can do the complete checkout process.

Make the Accept Application/json field mindatory.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

If the content type Application/JSON not sending in headers it is still sending the request and giving response.

Preconditions

Steps to reproduce

  1. Open any API
  2. uncheck content-type 'Application/JSON'
  3. Send a request
  4. See the error

Expected Result

Here should be shown an unauthenticated message.

Actual Result

but It is sending data. Here

Screenshots

No response

Additional context

No response

Add Change-log file.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description

Please add a change-log file for the API.

In Mass Update -> Customer Section, we need proper form data.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
If we want to mass update the customer profile, here in the API we are facing some issues because of the form data. It is not taking the values.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Customers -> General -> Mass Update
2. We are unable to mass update as string issue is appearing.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-09 16-47-21

Expected Result

We should be able to update the customer details.

In Mass Update - Header Content, need proper Form Data.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we want to update the content of the Header in mass, we do not have the proper Form Data, if we pass the data with the help of indexes, we are unable to update the header content in mass.

Steps to Reproduce
1. Go to Postman -> Bagisto -> Admin -> Velocity -> Header Content -> Mass Update Header Content
2. Here we need a proper Form Data

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-08 13-06-04

Expected Result
Please add a proper Form Data for the Mass Update of the Header Content.

Show Attribute with ID -> It should not respond without Attribute ID.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Show Attribute with Attribute ID, there we can see that the Attribute details are visible, but when we check the Details without the Attribute without the Attribute id, we are able to see all the Attributes.

Steps to Reproduce
1. Go to Postman -> Shop -> Catalog -> Products - > Show Attribute by ID.
2. Here in URL, do not use the Attribute id, and then we can fetch all the Attribute details.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Show.attribute.by.ID.mp4

Expected Result
Here only attribute with Attribute Id should else a message should appear. If we are able to fetch all the Attribute the there is no need of having show all Attribute API.
Message - No Attribute Found or Please add Attribute ID.

Show Product with ID -> It should not respond without Product ID.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Show Product with product ID, there we can see that the product details are visible, but when we check the Details without the Product without the product id, we are able to see all the products.

Steps to Reproduce
1. Go to Postman -> Shop -> Catalog -> Products - > Show Product by ID.
2. Here in URL, do not use the product id, and then we can fetch all the products details.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Show.product.wirth.ID.mp4

Expected Result
Here only products with Product Id should else a message should appear. If we are able to fetch all the products the there is no need of having show all products API.
Message - No Product Found or Please add Product ID.

In the catalog rule from admin end channel and customer group are missing in response.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

In the catalog rule from admin end channel and customer group are missing in response.

Preconditions

  1. Admin should have at least one catalog rule.

Steps to reproduce

  1. Open get catalog rule API inside Admin/marketing
  2. Send a request
  3. See the error

Expected Result

Here should be shown channel and customer groups data in response.

Actual Result

but It is not showing. Here front-end

Screenshots

No response

Additional context

No response

While Updating the meta data API it is showing an exception.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

While Updating the metadata API it is showing an exception.

Preconditions

  1. Admin should have metadata.

Steps to reproduce

  1. Open update metadata API inside Admin/velocity
  2. Send a request
  3. See the error

Expected Result

Here should be shown updating metadata.

Actual Result

but It is showing an exception. Here

Screenshots

No response

Additional context

No response

Show Attribute Family with ID -> It should not respond without Attribute Family ID.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we check the Show Attribute Family with Attribute Family ID, there we can see that the Attribute Family details are visible, but when we check the Details without the Attribute Family without the Attribute Family id, we are able to see all the Attribute Family.

Steps to Reproduce
1. Go to Postman -> Shop -> Catalog -> Products - > Show Attribute Family by ID.
2. Here in URL, do not use the Attribute Family ID, and then we can fetch all the Attribute Family details.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Family.by.ID.mp4

Expected Result
Here only attribute family with Attribute Family ID should else a message should appear. If we are able to fetch all the Attribute the there is no need of having show all Attribute Family API

In the Attribute Edit API, navigation and admin names options are missing.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

In the Attribute Edit API, navigation and admin names options are missing.

Preconditions

  1. Admin should have at least one created attribute.

Steps to reproduce

  1. Open create/update Attribute API inside Admin/catalog/attribute
  2. Send a request
  3. See the error

Expected Result

Here should be shown both option data in a proper response.

Actual Result

but It is not showing. Here navigation option.

Screenshots

No response

Additional context

No response

Add and Remove Product from wish list - Data should show the remaining products in the wish list after removing product.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we add different products in the wishlist with the help of API, then we check the details we are able to see the products added in wishlist, after that when we remove any 1 wishlist product and check the response, there we can see that the data is showing null response.

Product is removed from the wishlist.

Steps to Reproduce
1. Go to Postman -> Add or Remove Product -> Add different product -> Now remove any one product.
2. In response check the data is showing null as a result.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Data.should.show.product.count.mp4

Expected Result

Here what we can do is that we can show the product count which are present in the wishlist. As we can see the wishlist products in Get all product ID.

Get Configurable Config API is showing details of all the products.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we send the ID (Parent ID) of the Configurable Product, there we can see all the information related to the configurable Variants, but when we send the ID of other products then also we can see the Regular Price and Final Price of the product.
Eg. If we add the Virtual Product ID in the URL, we are able to fetch the information.

Steps to Reproduce
1. Go to Postman -> Shop -> Catalog -> Products -> Get Configurable Config
2. Now check the details with Config Product Parent ID, we are able to fetch the details.
3. Now check the details of the product like virtual product and other products, here we can see the Regular Price and Final Price.

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot

Config.Details.mp4

Expected Result

Here details related to the configurable product and its variants should appear. Other product details should not appear. Message should appear.
MESSAGE - Product Not Found

Remove Coupon API Message to be Updated.

Bagisto - MASTER
Bagisto Rest API - MASTER
Description
When we remove the Coupon which is applied to the cart, after the API is hit we can see the message is in code text. Please add a proper text.

Steps to Reproduce
1. Go to Postman -> Shop -> Customer -> Cart -> Remove Coupon

Actual Result
Please check the screenshot/video for a better understanding of the issue.

Video/Screenshot
Screenshot from 2022-12-01 17-40-12

Expected Result
Please add proper message -> Coupon Removed Successfully.

Product Mass update API is not reflecting changes at front-end.

Terms

Before you open this issue, I have checked if the issue has already been reported.

Bagisto Version(s) affected

master

Issue Description

Product Mass update API is not reflecting changes at the front-end.

Preconditions

  1. Admin should have at least one created product.

Steps to reproduce

  1. Open mass update API inside product Admin/product
  2. Send a request
  3. See the error

Expected Result

Here should reflect the changes at the front end.

Actual Result

but It is not reflecting. Here Front-end

Screenshots

No response

Additional context

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.