Project:Ubercart Marketplace
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Having an awful time getting orders to show up on a seller's order page (user/*/selling/fulfill)

Orders are also not showing up here:

admin/store/reports/seller/statuses

They are showing up on global order page:

admin/store/orders/view

I'm using ubercart 6.x-2.0-rc6 & D 6.14...

Any recommendations, tips would be greatly appreciated!
Mike

Comments

#1

Related question:

Are the Marketplace conditional actions configured properly out of box? Does order status and notification have anything to do with how conditional actions are configured?

#2

Try updating the order to complete, then see if it shows up in the report. Once the payment is complete, then the order can be shipped/fulfilled.

#3

Thanks for the quick reply.

Sorry for my ignorance -- how do I set the order to complete? (I can see that it's pending).

Thanks,
Mike

#4

/admin/store/orders, click to edit the order, on the bottom is 'status'. Run that the entire way up to completed.

I did the same thing, discovered it by accident.

#5

OK,

Now we're getting somewhere. I'm in testing mode, so I'm kind of learning as I'm going. I was testing using the "Check or Money Order" method.

I was able to apply a full payment received using the store admin interface and then the order showed up in the Sellers orders queue. That's perfect...

Do you know if there would be a way to notify the seller that an order was made on their product when a user checks out? I'm assuming conditional actions...

Thanks again for the quick response and thanks so much for this excellent module!

Mike

#6

While we're on the subject of order status/fulfiilment/shipping -- is it possible to let the seller use/see the Packages & Shipments tabs that is in the store admin view?

#7

I can't offer too much help with #5 and #6. No shippable products on my site and the sellers inventory is all offsite, so I had to build a few custom features for it to work smoothly.

#8

I think this may be broken in the last few dev versions.

I remember a few weeks ago, if I logged in as a test seller, I could see orders in my fulfill queue and as the seller I would be able to fulfill them and mark them complete.
For the past 2 or 3 dev releases I cannot get anything to show up in my "user/*/selling/fulfill" queue

I have checked to see that an administrator is putting the main order into a payment received or complete state but I am seeing the orders show up in the view queue, just not the fulfill one.

Can anyone confirm this issue?

#9

I tried this last night with the latest 6.x dev release and the orders showed up like normal. I would like to test this more rigorously this weekend, but I expect it will work.

Perhaps when you upgrade, you have to go through some of the Marketplace setup again? For example, if you upgraded Ubercart you would have to re-apply the shipping patch, etc. I believe products have to be marked as "shippable" to show up in the fulfillment page too. I'm just throwing out some ideas. If I can't recreate this on my end I'll have to rely on you to do some detective work. If you can narrow down the problem I'd be happy to provide support, and if we find it is a bug I will certainly fix it.

Like I said, I'll look at this in depth this weekend, but I'm concerned I won't find anything. Your help in figuring this out would be appreciated. Or perhaps someone else is having this problem and can provide feedback?

#10

Thanks for the assistance. I just realised I have been also using Ubercart Power Tools in conjunction with my product classes and there may be a setting within there that is overriding the product defaults and making them "not shippable".

I found I could not use the "hide extra details" checkbox that uc_marketplace provides as I still needed my sellers to have access to enter the volume and weight of their products. UC Power tools allowed more control over exactly what to show and what to hide and perhaps there is a conflict.

I will do some more testing over the weekend too and see if I can isolate this problem more.

Thanks
Gregg

#11

Sounds good. Hopefully it's just a configuration issue. However, if that's not the case, it's certainly my goal that Marketplace plays nice with other modules. Let me know what you find out and I will take action if needed.

#12

OK still no luck and I have done quite a bit of testing. I dont think power tools is the problem and products are shippable.

I have a dev version of the site working on another server and I can see products and the checkbox to fulfil them
I checked the dates and this dev version was using the dev version with files from Feb 3 to Feb 11 - this was my revision 265 in svn

On my production site where ubercart_marketplace is running the latest dev version - my revision is 298 in svn I can't see any orders to fulfill even as user 1

I tried to roll back to revision 265 but I get this error so I assume there must have been a database upgrade.

warning: Missing argument 1 for mp_products_can_view_seller() in sites/all/modules/ubercart_marketplace/mp_products/mp_products.module on line 250.
warning: Missing argument 1 for mp_products_can_view_seller() in sites/all/modules/ubercart_marketplace/mp_products/mp_products.module on line 250.
warning: Missing argument 1 for mp_products_can_view_seller() in sites/all/modules/ubercart_marketplace/mp_products/mp_products.module on line 250.

Maybe this gives a clue as to the problem?

Thanks for any assistance
Gregg

#13

I'll take a look. Did you clear the cache after you rolled back to revision 265?

#14

I think I may have found the problem...

Look at http://drupalcode.org/viewvc/drupal/contributions/modules/ubercart_marke...

Try changing line 230 to the old version. I'll give this a shot myself but I might not get to it until next week. Can you confirm changing this line of code fixes your problem?

#15

OK so making sure I was working from the latest dev of ubercart marketplace, I opened the mp_orders.module file and found the mp_orders_fulfill function on line 328

I replaced the code at line 362 with this from the diff you sent me.

$productresult = db_query("SELECT p.title, p.nid, p.model, p.cost, p.qty, up.shippable, p.order_product_id FROM {uc_order_products} AS p INNER JOIN {node} AS n INNER JOIN {uc_products} as up ON p.nid = n.nid AND up.nid = p.nid WHERE n.uid = %d AND order_id = %d", $uid, $order->order_id);

I cleared the cache and check the fulfillment/edit page and still don't see any orders to mark as fulfilled even though I can see them as "not complete" on the orders screen.

I dont think I did clear the cache after previously reverting to revision 265. Let me revert again, clear the cache and see if it works from the older files.

thanks

#16

I found what the issue is ...

I am using the http://drupal.org/project/me module and when I go to user/me/selling/fulfill/edit , I don't see any of my not completed orders

If I use the uid in the url bar it works properly user/1/selling/fulfill/edit

I am using the me module across my site for users to easily access their main content administration areas without needing to know their user id so I would really like to get this working together if possible.

#17

Great, looks like you've pin pointed the problem. I'm out on vacation the next few days so I won't be able to look too closely until then. I did look through the me module and noticed several user's problems were related to module "weight". You should try making the me module weight greater than the Marketplace module weight and see if that fixes the problem (you should try it the other way around too but I would assume the me module needs to be executed after the marketplace module and therefore needs to be a heavier weight). Let me know what you find.

#18

Thanks, enjoy your vacation.

#19

Did you get a chance to try changing the weights of the modules?

#20

I didnt get a chance to play with the weights but there is an option in the 'me' module that automatically changes the 'me' to the uid in the URL so I did that and it seems to work fine.

Thanks for your help
Gregg

#21

Status:active» fixed

Great, glad you were able to get it working!

#22

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#23

Status:closed (fixed)» active

I have a similar problem.

If I enable the 'Redirect to Uid' option in 'Me' Module administration section, I still have the issue.

I opened issues at the "drupal/project/issues/me" page, but the maintainer is not answering issues since a while. However, I found a patch for a similar problem with another module here : #449034: More robust access checking, this could be a place to start for a patch of UC_mktpce... even if I think this is a ME aliases issue.

#24

Status:active» closed (fixed)

FYI

I have uninstalled the Me module. Then, I changed the default configuration in the me.module file : rewrite menu set to False instead of true.

Then, I have enabled the module again and it seems that the redirection to UID is working and I can now access to the "selling" page.

However, the problem isn't solved in my point of view. I'm sure that if I enable the rewritting of the system menus, then I'll get the problem again.

I'm closing the issue, but if some people could find a way to either : patch 'Me' module or UC_MktPlce module, it would be nice.

nobody click here