Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › support button
- This topic has 5 replies, 2 voices, and was last updated 5 years, 7 months ago by WCFM Forum.
- AuthorPosts
- September 17, 2018 at 4:48 pm #31826YanGuest
support button not showing for customer role on their order page. it displays https://playerselling.com/my-account/support-tickets
just fine but I cannot find the “Create ticket” button. thanks - September 17, 2018 at 5:02 pm #31827YanGuestThis reply has been marked as private.
- September 17, 2018 at 5:21 pm #31828WCFM ForumKeymaster
Hi,
Support Ticket is allowed to raise only for “Processing” and “Completed” orders by default.
“On-hold” order means it’s not yet paid, then why customer may raise a ticket for this?
Well, if you want then you may allow this in your store, I will give you a code snippet for this tweak.
Thank You
- September 17, 2018 at 5:55 pm #31831YanGuest
I have tried to put the test other on both processing and on hold but it doesn’t show button. I also notice that it not updating the status here http://prntscr.com/kvhmqo
- September 17, 2018 at 6:00 pm #31832YanGuestThis reply has been marked as private.
- September 17, 2018 at 8:25 pm #31848WCFM ForumKeymaster
Hi,
Here is that code –
add_filter( 'wcfm_support_disable_order_status', function( $support_disable_order_status ) { $support_disable_order_status = array( 'failed', 'cancelled', 'refunded', 'pending', 'on-hold' ); return $support_disable_order_status; });
Just remove those status which you want to allow support ticket.
Thank You
- AuthorPosts
- The topic ‘support button’ is closed to new replies.