Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Not usre if this is at all posible or if anyone has tried to implement something like this, so basically want to create "Quotes" in Tea Commerce send this to a customer so the customer can retrieve it and complete that order.
So was thinking this would probably involve these steps below and wanted to see if there is any suggestion on how best to archive this.
So basically my client deals a lot with customised quotes which is all manual at the moment and ideally they want to use the cart process to generate these and send them to customer.
I appreciate this is probably not out of the box set up but any help welcome hopefully am not the only one attempting this complex bit of functionality :)
As you say, that's not out of the box, but it should be achievable.
Generally, you can create a cart with the items in and you can have someone take over that cart by loading it into their session with TC.SetCurrentOrder() https://docs.teacommerce.net/3.4.0/api/order/#setcurrentorder
Using this method, it makes the given order the current users current order so they can complete it.
In your scenario then, you could create the order, then sent the URL to the customer, when they hit that URL, it creates a new session and sets the current order for that user to the order ID passed in the URL.
We don't really have a means of creating orders in the back office so you might have to do this via the front end and maybe create a private page where you can enter the email address of the person to send the cart to using a custom email template.
Those are my initial thoughts anyways.
Hope this helps
I will have a crack at that, wasn't sure if there was an already method i can hook into to set a users cart and looks like TC.SetCurrentOrder() is my guy.
Didnt actually want to create the order/cart in the back office, just wanted to see if you can view them but guess regardless of how its created it can still be viewed in the orders list from the shop.
Ahhh, then yea, you can view unfinalized orders in the back office so that should work for you there.
Glad I could help
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted