Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gspc-update-post-status-on-wc-order-status-change.php: Added snippet to update the post status of the post created by Gravity Forms Advanced Post Creation when the WooCommerce order status is changed. #1020

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

malayladu
Copy link
Contributor

@malayladu malayladu commented Feb 14, 2025

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/2836308120/77517

Summary

The customer wants to use GSPC, WooCommerce Subscriptions and the Gravity Forms Advanced Post Creation (APC) add-on to create posts that expire when the linked Woo subscription ends.

Workflow

  • A user completes a form and adds the product to their cart.
  • They complete checkout, creating a WooCommerce subscription.
  • The APC add-on creates a post based on the form submission.
  • When the subscription expires or is canceled, the post status should be updated accordingly.

Here's the loom that I created for the WooCommerce order status changed. It also works in a same way for the WooCommerce subscription.

https://www.loom.com/share/b608fa876460414a8961eeea7d86480e?sid=a3d1e9b7-62e0-40d3-89dc-729c335ef71a

…t to update the post status of the post created by Gravity Forms Advanced Post Creation when the WooCommerce order status is changed.
@malayladu malayladu self-assigned this Feb 14, 2025
@malayladu malayladu marked this pull request as ready for review February 14, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant