Sellers unable to complete order
dwkitchen - September 17, 2008 - 16:07
| Project: | Ubercart Marketplace |
| Version: | 5.x-1.0-beta4 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have installed ubercart marketplace and it mostly seems to be working and is ideally suited to what we where looking for.
However sellers are unable to complete their orders, the order page eg user/158/sold/orders/772 has "e-mail user" tick box and update at the bottom but no drop down box to change the status.
On another matter I am unsure how to best operate marketplace with our own products would it be best to set us up as a seller and get our dispatchers to use that and just the main admin orders page for an overview of the whole site. I notice I now have a list of seller uncompleted orders even though we have completed them through the main order admin.
David

#1
It sounds like order statuses are troubling you. This is a valid issue and one that I also have trouble dealing with. Let me explain a few facts of operation regarding marketplace:
-Sellers cannot change the order status via the drop-down you mention for mainly "security" purposes. How do sellers than move an order to completed? If the item(s) are download only, the order is automatically moved to completed. If the item(s) are shippable, then the seller must package the product from their My Account >> Selling pages and then ship the packages (much like Ubercart works for admins). Once all items in an order are packaged and shipped, the order will move to completed automatically. The reason behind this working is to ensure (or at least try to) that sellers actually fulfill orders.
-I think admins don't necessarily need to set their accounts up as sellers (since they have all permissions anyways), but they could (and perhaps should) fulfill orders on their My Account >> Selling pages instead of default ubercart sections. For the most part, I think order statuses should be syncing regardless, but I recommend using the admin area as you mention as just an overview of what's going on.
Some of your operations (between the admins and sellers) may differ from these simple philosophies. If you have custom feature requests for your situation, feel free to contact me (PM) and I can work with your specifics.
#2
Thanks for you advice.
I will need to set up the packaging and shipping in more detail as we have not used this function before. I don't think we will need a custom feature, its just how to best use what is available
However I have tried this and when the seller creates a package it disappears and cannot be used to create a shipment, it is however on the main order admin section.
#3
Have found the code I need to update to get the shipping working now.
It will be much easier for our staff to use the My Account >> Selling Pages than the Store Admin >> Orders pages as the latter will include all orders and they will have to look at each one to see if it has our items on it our just other people items.
#4
It's good to hear marketplace will work for you. If packages are not showing up on shipment creation page, it is probably a bug (although, double check that the products in package are indeed shippable). If you do change some Marketplace code, please consider submitting a patch (or details of your changes), so things can be improved in the next release. Thanks.
#5
I'm also having this problem where the vendor goes to "package" an order and the order disappears from their screen, but it does show up on the admin screen. They go to do a shipment and get a comment saying "No shipments have been made for this order."
#6
I am still having trouble replicating this issue. Perhaps if someone has the Devel module they could let me know what queries (of interest by Marketplace) are being run on those pages.
#7
This is what I get (hopefully this is what you're looking for)
mp_shipping_order_packages
SELECT * FROM uc_packages as p INNER JOIN mp_seller_packages as sp USING (package_id) WHERE p.order_id = 4 AND sp.uid = 6
mp_shipping_order_packages
SELECT op.order_product_id, CAST(SUM(op.qty) / COUNT(pp.qty) AS UNSIGNED) AS total, SUM(pp.qty) AS packaged FROM uc_order_products AS op LEFT JOIN node AS n ON n.nid = op.nid LEFT JOIN uc_packaged_products AS pp ON op.order_product_id = pp.order_product_id WHERE n.uid = 6 AND op.order_id = 4 AND op.data LIKE '%s:9:\"shippable\";s:1:\"1\";%' GROUP BY op.order_product_id HAVING SUM(pp.qty) IS NULL OR CAST(SUM(op.qty) / COUNT(pp.qty) AS UNSIGNED) > SUM(pp.qty)
#8
Thanks for providing the queries. Unfortunately, they appear correct and I am still not sure what could be going wrong off the top of my head. If I get a chance I will look at the code again in more depth. Please clarify, however, are sellers able to package products into packages but not ship the packages or are sellers not even able to package products.
#9
They can package the product, but the package vanishes from their screen and does not show up in the shipments category. However, the package does show up for the admin.
#10
I was just wondering if there was any progress with this issue? I upgraded to beta5 and I'm still having the same issue. The vendors can see the approved orders, but when they package the item, it vanishes from their screen and they can't ship it.
#11
Can you please confirm that you have followed the recently posted documentation (i.e. patching uc_shipping). Link: http://drupal.org/node/326102
#12
Brilliant! That fixed it. I guess I totally overlooked that part of the documentation.
#13
Hi
I had the same problem. However when I did eventaully read the notes and fix the uc_shiping module it caused other problems. The package can now be created and shipped however whenever I do a delete on anything or click add to cart - among other things it goes to a blank page.
If I click on modules update this is the message I get - which I suspect is the cause of all my issues.
warning: Cannot modify header information - headers already sent by (output started at /home/content/j/u/s/justsourced/html/modules/ubercart/shipping/uc_shipping/uc_shipping.module:1) in /home/content/j/u/s/justsourced/html/includes/common.inc on line 141.
Before I added the two lines - everything was working except sellers could not ship the product.
It is on a test server www.justsourced.com feel free to test.
thanks
Kevin