Forum

Thread tagged as: Question, Shop

Perch Shop App - Previous Order Detail

Hi guys, we are about to develop a new website and wanted to use the new SHOP.

Quick question, we read that with Runway and the Members App you can have a login section for accounts and can members can see order history etc.

However, is there a way for them to "Re-order"? I guess it would re-load a cart from a previous order?

Also - is there a total for all their orders in the Member App admin? "Customer Value"? Or could we add that as a custom field in template?

Thanks, Stuart.

Stuart Farrell

Stuart Farrell 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

There's not built in function to re-order, but you should be able to do that by looping through the order and adding each item to the cart.

More advanced customer reports with things like customer value are on the roadmap.

I see Total Customer Value has been added now - cool!

So members can login and see order history - then we need to write some custom script to have a reorder button - has anyone done this yet to your knowledge?? This would be a great feature to add!

Thanks, Stuart.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Reorder as in place the order again?

Yes. Place one of the previous orders again.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You'd need to loop through the order items and add them to the cart with perch_shop_add_to_cart()