4 replies [Last post]
hinrichsislcocom's picture
Offline
Bug Finder
Joined: 05/28/2008
Juice: 92
Was this information Helpful?

In our situation, we have 50 different vendors shipping products sold from our store.

We need a way to associate a shipper with a product (node reference?) and have the ability to enter a shipment status and tracking number for each product in a given order. (I suppose these should ride in the 'data' for the order product, using a hook_order_product_alter). Problem: if it is in product data we probably can't filter a view by the order product ship status?

Then we need to create a view that will show ordered products filtered by the product's shipper, and shipping status of the order products (uc_views might help, I can work with views api so I'm not too concerned about this yet), and editable fields on each line for setting shipping status and tracking id. Note: we are not going to calculate shipping for each shipment (whew!)

Finally I would create some kind of action to set the order's status when the shipments have all been marked shipped.

I just want to be sure I am not missing the boat on my proposed methods for getting this done, e.g. should we be creating packages or a specialized shipping quote type.

Bob Hinrichs
ISL Consulting
http://www.islco.com

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Anyone have comments on "recipe" for dropship type store?

I think that one challenge is that individual order products are not well exposed. In my site (a bit similar to yours) I have numerous event vendors. I have uploaded the "Who Bought What" module to help cope with that.

Ideally, the marketplace modules for D6 would be perfect, but they are still under development and not getting a lot of current attention.

Ryan's very nice Product list module is also helpful.

I think a "helper" module that collects and exposes order product data, including attributes and linked nodes, would be a good thing. This would be good for any custom work you might be thinking about too.

Thoughts?

hinrichsislcocom's picture
Offline
Bug Finder
Joined: 05/28/2008
Juice: 92
Re: Re: Anyone have comments on "recipe" for dropship type store

Thanks for your insight Cayenne. I looked into Who Bought What--it is good and appears to be some nice reporting queries; We will need something to manage multiple shipments in an order. Upon trying a partial proof of concept, I found that I had to use version 3 of uc_views (in dev as of this post) to get anywhere. It allows me to filter actual purchased products, based on a nodereference in the product node, and output customer data as well as most anything else related. This easily solves a major part of the problem.

However there is still the issue of having to add/change status and tracking data to each product ordered in a View. It looks like I could add another table to the system to store this info per ordered product, and write to the Views API to add the joins to the view being built.

However Ubercart can handle multiple shipments/packages per order and has a lot of functionality there, though it looks like this is done manually after the order is placed, through admin screens, and there is no views functionality that I see.

Perhaps the best method is to create an action, triggered by checkout, that looks to the associated vendor of a product and automatically creates shipments for the order for every vendor of the products in the order. You would need to make assumptions perhaps, like the vendor would ship all items together in one package. Otherwise you might create a value in the product node indicating that it ships in its own package or something.

I do have a question whether setting up shipping quotes for each vendor, or product class for each vendor, might not provide more functionality. But I don't see these providing anything I need.

I do not see shipment/package info available in views. This I assume must be programmed with the Views API. If we want to create an interface for vendors to input data easily into the order product feed page, we would have to create special handlers and turn the view output into a form. We could of course bypass views as well, but experience has shown that the extra effort of using views greatly reduces work down the road and creates all kinds of extra great functionality. To avoid creating special handlers, we could provide a link for the vendor to edit the shipment/package info using existing ubercart forms (would need some custom permission handling then). You might need to provide training if that were the method, so I am not sure that is feasible.

Hope this thinking through the issue in writing is helpful to someone at some point.

Bob Hinrichs
ISL Consulting
http://www.islco.com

hinrichsislcocom's picture
Offline
Bug Finder
Joined: 05/28/2008
Juice: 92
Re: Re: Re: Anyone have comments on "recipe" for dropship type s

I now see that creation of a shipment is the same as stating the shipment has been made. In this case we would not use a conditional action to create shipments; instead we would skip to the vendor's list of unshipped products and provide a simplified interface for them to create the shipments.

Bob Hinrichs
ISL Consulting
http://www.islco.com

Cayenne's picture
Offline
Joined: 01/01/2009
Juice: 533
Re: Re: Re: Re: Anyone have comments on "recipe" for dropship ty

That would be a very nice thing to have. I wonder how many other multivendor stores are out there? Perhaps we should confer somewhere...