Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

All Products: Ignores Setting - Redirect to the Cart Page on Successful Addition #1766

Closed
jacoswan opened this issue Feb 18, 2020 · 7 comments · Fixed by #5708
Closed

All Products: Ignores Setting - Redirect to the Cart Page on Successful Addition #1766

jacoswan opened this issue Feb 18, 2020 · 7 comments · Fixed by #5708
Assignees
Labels
block: all products Issues related to the all products block. focus: blocks Specific work involving or impacting how blocks behave. type: bug The issue/PR concerns a confirmed bug.

Comments

@jacoswan
Copy link

Describe the bug
When you click on "Add to Cart" from a product in the All Products block, it ignores Add to cart behavior when set to Redirect to the cart page after successful addition, and stays on the page.

To Reproduce
Steps to reproduce the behavior:

  1. WooCommerce » Settings » Products » General
  2. Make sure "Redirect to the cart page after successful addition" is checked
  3. On the page set as the Shop Page, add an All Products bloc and update.
  4. Now, on the Shop page add a product from the All Products block.
  5. Notice it adds the product, but stays on the same page.
  6. Do the same form a product rendered natively to the Shop page.
  7. Notice it adds the product and redirects to the cart page as expected.

Expected behavior
Expected to be redirected to the cart page, given the settings was checked.

Screenshots
n/a

WordPress (please complete the following information):

  • Core version: 5.3.2
  • Gutenberg version (if installed): n/a
  • WooCommerce version: 3.9.2
  • WooCommerce Blocks version: 2.5.11 (but not required for this to work)
  • Site language: English
  • Any other plugins installed: No

Desktop (please complete the following information):

  • OS: MacOS 10.15.2 (19C57)
  • Browser Firefox 72.0.2
@nerrad
Copy link
Contributor

nerrad commented Feb 26, 2020

Thanks for the report!

@nerrad nerrad added focus: blocks Specific work involving or impacting how blocks behave. type: bug The issue/PR concerns a confirmed bug. labels Feb 26, 2020
@nerrad nerrad added the block: all products Issues related to the all products block. label Jun 7, 2020
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

######Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Dec 17, 2020
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Jan 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2021

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Mar 7, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Mar 10, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label May 12, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label May 14, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 14, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Jul 18, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Sep 22, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Sep 22, 2021
@github-actions
Copy link
Contributor

This issue has been marked as stale because it has not seen any activity within the past 60 days. Our team uses this tool to help surface issues for review. If you are the author of the issue there's no need to comment as it will be looked at.

Internal: After 10 days with no activity this issue will be automatically be closed.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Nov 25, 2021
@nerrad nerrad removed the status: stale Stale issues and PRs have had no updates for 60 days. label Dec 1, 2021
@tomasztunik tomasztunik self-assigned this Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: all products Issues related to the all products block. focus: blocks Specific work involving or impacting how blocks behave. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants