bagisto / bagisto

Free and open source laravel eCommerce platform
https://bagisto.com
Open Software License 3.0
11.73k stars 2.05k forks source link

Unable to add products to cart that have variants or options to select. It does not redirect to the Product View Page. #9761

Closed ashishkumar-webkul closed 2 weeks ago

ashishkumar-webkul commented 3 weeks ago

Terms

Bagisto Version(s) affected

Master

Issue Description

When attempting to add grouped, bundled, configurable, and downloadable products to the cart, we notice that we are unable to add the product as it does not redirect to the product page.

Preconditions

  1. Customer must be logged in or Guest User (For Downloadable Product it will redirect to Login Page)
  2. All product type must be created.

Steps to reproduce

  1. Go to Shop -> Add product to Cart (Example -> Grouped product) -> Click on Add to Cart Button.
  2. We can see that the warning message appears and it does not redirect to the Product View page.
  3. This issue is appearing for Grouped, Bundled, Configurable and Downloadable Product types.

Expected Result

When clicked on the Add to Cart button it must redirect to the Product view page.

Actual Result

Currently we can see it is not redirecting to the Producrt View page.

Video

https://github.com/bagisto/bagisto/assets/92721837/7290d331-59a8-4c05-9076-996753267844

Screenshots

Please find the screenshot for the issue -> https://prnt.sc/vFJfdmFLW5I-

Additional context

No response

ashishkumar-webkul commented 3 weeks ago

Checked and Found that the issue has been fixed and working fine. Now the products are redirected to the product view page to select the desired option and can proceed to checkout. Please check the video for reference.

Video

https://github.com/bagisto/bagisto/assets/92721837/3ecb57fd-2bcd-4530-99c1-be4c87f41ab6


ashishkumar-webkul commented 2 weeks ago

Checked and confirmed that the issue has been resolved and verified. Additionally, the pull request has been merged. Therefore, I am closing the issue. For reference, please review the video.

Video

https://github.com/bagisto/bagisto/assets/92721837/4ba2edc1-cbb7-4324-9870-bef2e9631d71

Thank you.