Save cart for frequent shopping

Posts: 63
Joined: 01/23/2008
Bug Finder

Hi all

Is there any way of letting the customer save their carts for another shopping?

I mean, like in a groceries store, would be great if customers can save their month shopping because they buy the same products every month.

They would be able to assign their cart as "frequent shopping" and next month, do the checkout selecting one of their previously saved shoppings.

Regards
Pedro

Posts: 869
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

This is something I've been thinking about too. The way I see it working is for the customer to be able to "re-order" a previous order - on the user page where you can see your previous orders (user/#/orders) there should be a button next to each order in the list which lets the customer populate his cart with every item from that previous order. Pushing the button *adds* those items to the cart (without affecting what is already in the cart) then takes the customer to the "cart" page. The customer could then check out right away or add/subtract items from the cart before checking out.

--

<tr>.

Posts: 9
Joined: 02/20/2008

This would be a great addition! Reorder my favorite products.
Favorite Nodes module? Can Views do this?

Posts: 16
Joined: 01/10/2008

We have this feature in our current shops and find it very useful.
One thing that must occur though is the "new order" using the "old order" must use the current prices and not the old order prices.

Posts: 9
Joined: 02/20/2008

would you care to give us a hint how you did it? a url maybe?

Posts: 16
Joined: 01/10/2008

The re-order from past orders is available, in my case, in oscommerce as a contribution. (I did not code it)
It shows a logged in customer a list of their previous orders from which the customer can then see a view of the line items as a cart. The customer can edit the "cart" if desired and then hit the re-order button. They are finished except for payment checkout.
It is very convenient and very useful for sites that sell products that people reorder.

There are two sites I frequently use for business, one sells labels and the other shipping boxes. I exclusively use the reorder tool on both sites. Makes it very quick. It is a must have feature for businesses who expect more than one-off customers. And that feature is key to me staying with those sites. Oh and they both are always able to ship their products the day of the order. Impressive.

I've even had emails from customers thanking me for having the reorder feature.

Posts: 869
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

I've written a module for Ubercart which works as described in my previous post above. I'll probably post it over the weekend after I've had a chance to clean it up some.

--

<tr>.

Posts: 9
Joined: 02/20/2008

Any progress with your module, <tr>?

I was thinking that if uc_orders, uc_order_products etc. were exposed to Drupal Views we could make all sorts of lists easily. Has this been considered?

Posts: 869
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

It's working fine for everything except Product Kits (where it works, but spits out DB errors) I haven't had time to figure out what's going on. Hopefully I'll finish it up in a few more days.

Orders aren't nodes, they're just tables. If they *were* nodes, lots of neat things would be possible!

--

<tr>.

Posts: 7
Joined: 03/10/2008

Hi TR,

What is status about this module? Can you share it that I (and any other) can develope it?

Posts: 869
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

OK, it's now posted in the Contributions section at http://www.ubercart.org/contrib/3734

As I noted in the post and in the code, it still doesn't work quite right for Product Kits. If anyone can figure out what's going wrong there I'd appreciate it. Works fine for everything else!

--

<tr>.

Posts: 63
Joined: 01/23/2008
Bug Finder

Hi Tim,

I have installed the module as it is exactly what i need, thanks again!. But I cannot get it working, I install it, and then go to the user's account and there the 'orders' tab, but the Re-Order button does not show up.

I think my problem is that the "core" function of the module: uc_reorder_order_history does not get called, but I don't have the uc_tracking module installed. What else can make this function not to be called?

Thanks!

Edit: I found the causes, i am posting a possible solution in the contrib page