Skip Navigation

[Resolved] Purchase of event ticket not showing on the WooCommerce My Account Orders Tab

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 4 years, 1 month ago.

Assisted by: Waqar.

Author
Posts
#1891055
Screen Shot 2020-12-30 at 6.42.04 PM.png

Tell us what you are trying to do?
I am setting up purchase of a ticket to an event.

Is there any documentation that you are following?
I followed the instructions in the Toolset Documentation Membership Site re: charging for premium membership: https://toolset.com/lesson-placement/lesson-placements-1645361-1651293/

The event is virtual and we are creating a member account because we have some forms and information that's only available to paid attendees.

The problem:
WooCommerce appears to not see an item automatically entered into the cart through the Toolset Form as an order in some contexts. Right now, this is showing up for me as a problem with the order not showing on the "Orders" tab on the My Account page (see attached photo).

Earlier, I was having a problem where if I set a purchase limit for an item, anything automatically added to the cart through the Toolset Form wasn't counting towards that limit. I want people to only buy one admission ticket. If they completed the User Form, which automatically added Admission to the cart, they could still add another Admission from the Shop page. I have now resolved this part of the issue by marking the Admission Product as a Hidden Product on the product page, but mention it here in case it is helpful in diagnosing why the order wouldn't show up on the orders tab.

What is the link to your site?
hidden link (most of the relevant pages are live but not on the menu. hidden link is where the user form is. It is live, including the live PayPal connection).

#1891933

Hi,

Thank you for contacting us and I'd be happy to assist.

I suspect that the order is not showing in the orders tab, because the product is set as hidden. I'm not sure, exactly how you've hidden it, but can you temporarily un-hide the product and test if the new and existing orders of that product start showing?

If it is confirmed that this is the cause, you can go with a couple of different strategies:

1. Depending on how you've created your single product and shop/product archive pages, you can hide/remove the add to cart button for any product, which shouldn't be available to be purchased directly.

OR

2. You can add custom validation rules during checkout so that a user can't checkout with more than one item in the cart.
( ref: https://stackoverflow.com/a/51576061 )

I hope this helps.

regards,
Waqar