Home Forums WC Vendors Free Support Mark as Shipped not Working

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #10209
    dymockpoet
    Participant

    Hi,

    One of my vendors is complaining about how they cannot mark items as shipped. They mark it as shipped on the page but on their vendor dashboard it appears the same as before (i.e. not shipped).

    Any ideas how to troubleshoot this?

    #10210
    WC Vendors Support
    Participant

    It’s a new bug, oops! We’ll have it fixed very soon.

    #10211
    dymockpoet
    Participant

    If it makes any difference, when I look at the order details it IS marked as shipped, so must just be not showing on the vendor’s dashboard for some reason.

    #12085
    siloynet
    Participant

    i am using the free version. Does the pro has the same problem (bug) too?

    How is this supposed to work?

    – a sale is made on a product
    – my admin order pages gets updated with the icon processing

    This is how i understand it:
    the vendor mark product as shipped
    my admin order page gets updated to ‘completed’

    Currently (the bug) is ONLY admin can mark a sale as ‘completed’. it does not seem to work on the vendor site, even though on the sales report page (vendor) we have a notification “order marked shipped”

    #12097
    WC Vendors Support
    Participant

    Nope, this bug is only in WC Vendors Free. Pro does not have the same problem.

    A sale is made on a product — and the order status is either completed or processing. Both of these statuses means MONEY RECEIVED. Vendors can not change orders to completed. They can only mark that items have been shipped, and add the tracking numbers.

    #17868
    Chris
    Participant

    Hi, I’m wondering if this bug was fixed and if not, is there an ETA? I’m running into a situation where the vendor clicks on the Shipped link from within the Vendor Dashboard multiple times waiting for the link to change to Shipped or Completed. Since the link doesn’t change, the buyer get’s multiple email notifications saying the product has shipped. I’m using the free version with the Stripe gateway plugin.

    Thanks

    #17872
    WC Vendors Support
    Participant

    Hi Chris,

    We’ve tried to replicate this a dozen times and never could. Some people say it’s an issue, most never have any problems with it.

    #17966
    Chris
    Participant

    Hi Ben,

    It doesn’t throw any errors that I can see, but certainly an issue on my site. Any suggestions?

    #18016
    WC Vendors Support
    Participant

    Hi Chris,

    What we’ve been asking people who claim this is a problem for 6 months now, is to tell us exactly how to replicate this as a problem. Give me a step by step of exactly what you’ve done, from the point of adding a new product all the way to purchasing it and then the actions as a vendor. If we can replicate a problem, we can fix a problem, we just don’t see anything that needs to be fixed because nobody helps us with the steps. 🙂

    #18107
    Chris
    Participant

    Hi Mark,

    I know you’re busy with the Pro version, so I looked at the code myself and figured out a solution that seems to work (see below).

    As for the steps to reproduce, it was very straight forward.

    1. Add new product under vendor account.
    2. Purchase product using guest checkout.
    3. Login to Vendor dashboard as vendor account.
    4. Under the “Orders” section there are 2 actions for each order under the “Links” heading (View items and Mark shipped).
    5. Click on “Mark shipped” for the order that I purchased using the guest account.
    6. The page refreshes and I get a success notice “Order marked shipped” and email is sent out notifying customer.
    7. Scroll down to the “Orders” section while still in the Vendor dashboard.
    8. Locate the product I just marked as shipped.
    9. Under the Links heading the two actions are (View items and Mark shipped.) This is where the problem is. The Mark shipped link doesn’t change to Shipped, it remains Mark shipped. If I click it again (step 5 above) the same flow happens. I get the success notice, another email gets sent to the customer stating the item was shipped.

    I looked in /wc-vendors/templates/dashboard/orders.php and at line 82, it checks to see if the product is “shippable” and sets the link to “Mark shipped” There is no code to check if it was shipped. To fix the problem, I just added a new if statement to see if $shipped was true, then set the link to “Shipped”.

    I’m not sure why everyone isn’t experiencing the bug as there is no code (that I see anyway) that sets the link to Shipped.

    Here is my code to fix it starting at line 82 in /wc-vendors/templates/dashboard/orders.php

    
    if ( $needs_shipping ) {
    	$order_actions['shipped'] = array(
    	'class' 	=> 'mark-shipped',
    	'content'	=> __('Mark shipped', 'wcvendors'),
    	'url'		=> '?wc_pv_mark_shipped=' . $order->id
    	);
       } 
    				
      if ( $shipped ) {    // added code starts here. $shipped is declared and set at line 65
    	$order_actions['shipped'] = array(
    	'class' 	=> 'mark-shipped',
    	'content'	=> __('Shipped', 'wcvendors'),
    	'url'		=> '#'
    	);
    				
        } // added code ends here  
    

    Hope this helps.

    Chris

    #18261
    WC Vendors Support
    Participant

    Thanks Chris! I’ll send this to Jamie for updating in WC Vendors for next release.

    #18603
    Jamie
    Keymaster

    Hello,

    This has been added to the next release.

    cheers,

    Jamie.

    #18614
    Chris
    Participant

    Thanks Jamie and Ben!

    #54179
    Anonymous
    Inactive

    Hi im using the wc vendors free and im having a problem with the mark as shipped. When the vendor marks as shipped, the mail is sent and the button changes to shipped. But, on safari browser if the vendor refreshes the page the button changes again to mark as shipped. And on other browser like chrome, explorer or firefox when you marked as shipped and the button changes to shipped, but if you go to the main page and to the vendor dashboard again the buttons changes to mark as shipped again.
    Is there any reason on my configuration or something that causes this? Any help is welcomed

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.