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

wc_update_cart() helper function #29110

Closed
rogervila opened this issue Feb 11, 2021 · 1 comment
Closed

wc_update_cart() helper function #29110

rogervila opened this issue Feb 11, 2021 · 1 comment

Comments

@rogervila
Copy link

rogervila commented Feb 11, 2021

Is your feature request related to a problem? Please describe.
I cannot update the Cart from my custom PHP functions.

Describe the solution you'd like
I would like to call WC_Form_Handler::update_cart_action() from my custom functions.
A wc_update_cart() helper function would fit perfectly

Describe alternatives you've considered
I have not found any other solution, as explained here

@tammullen
Copy link
Contributor

Hi @rogervila

While our goal is to address all the issues reported in this repository, GitHub should be treated as a place to report confirmed bugs only.

The type of issue you submitted looks like a custom code related question. Due to the number of bug reports being submitted, we are prioritizing work on them and are not able to attend to custom code questions.

The best place to get help further is in the WooCommerce Community Slack in the #developers channel.

If you confirm the bug, please open a new issue and provide us with clear steps to reproduce it.

I am closing this issue for now. If I missed something, please leave a comment and we will take a second look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants