Something weird is going on.. the following used to work and I can't understand why it doesnt anymore..
Here is what I am trying to achieve:
1. User has a cpt "filialen" (locations)
2. Users sees a cred commerce form where he can select the parent "filiale" and have a product added to the cart.
3. He checks out and then in the "filialen" cpt there is a view showing order ids inside a link that takes him to that specific order in the my-account page.
This is what is happening right now when a user follows the steps outlined above:
1. Two orders are created
- One with all the correct order details, correct user but NOT assigned to any "filiale", even if I assign it afterwards from the bakend, it doesn't show in the view.
-One with basically no details at all (no user, no product, nothing) but correctly assigned to the "filiale" and shows inside the view correctly
Here is what I have tried:
Change all cred commerce form settings I could think of
show the view in different places
mess with the woocommerce settings to not allow guest checkout
Here is what I have already done:
Re-assign the oder posttype to be managed with types and make it a child of filialen
Attached is a screenshot of the credform settings and as they are, they did work before so that can't really be whats interfering. It didnt create two orders before and also never created them as a guest. "Bestellungen" ist the name of the order post type.
If you need access to a paypal sandbox account with which to place an order please enable private message 🙂
I have tried for hours now and just don't get why it ain't working anymore so any help would be highly appreciated. Thanks a lot in advance 🙂