Email a Cart

Open to all! Ask other shopowners for help.
Post Reply
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Email a Cart

Post by heatherbell »

Just been dealing with an online company.
Needed to know what ancillary product would be compatible with the main product that we required.
We're not registered on their site but they replied with a link to a cart that was preloaded with the products required.
That made checkout very easy - impressed.
We regularly do this ourselves on one of our shops (like a personal shopper) but with registered customers.
How could this be done with unregistered customers?


Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1641
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: Email a Cart

Post by raiwa »

Link to cart with product parameters or link with pre-filled cart Id parameter.

In Phoenix a custom add cart action which processes a product array included in the link parameters could do it.
Or something like a stored wish list which is identified and processed by link parameters.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Email a Cart

Post by ecartz »

heatherbell wrote: Fri Jun 23, 2023 4:06 pm How could this be done with unregistered customers?
Send them a URL with a session ID in it. Of course, they'd have to click it quickly if you are deleting your sessions regularly.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Email a Cart

Post by heatherbell »

ecartz wrote: Fri Jun 23, 2023 9:18 pm Send them a URL with a session ID in it.
Thanks again for the help.
Took a bit of trial and error to make it work so posting what I did in case somebody else wants to do it but possibly/probably there's an easier way?
So:
Close browser.
Open browser again and go to shop.
Next click generated a new ?ceid=xxx in the URL.
Copied that.
Loaded cart then appended the ?ceid=xxx to https://myshop.com/shopping_cart.php
Copied that new URL, that is, https://myshop.com/shopping_cart.php?ceid=xxx
Checked in a new browser and that URL shows the loaded cart.
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 422 times

Re: Email a Cart

Post by burt »

A really nice idea. Could be a good USP of Phoenix? Some type of admin page to set up carts as needed then have a custom action as raiwa advises.

phoenixshop.com/shopping_cart.php?action=load&id=xyz

The session way is pretty much doing the same job as the above, all shopside.
I am not here to build for you.
I am here to build with you. Let's help each other.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Email a Cart

Post by heatherbell »

burt wrote: Sat Jun 24, 2023 10:05 pmSome type of admin page to set up carts as needed
The company we mentioned in first post sent a nice canned email with the link.
Your Basket Awaits. We look forward to your order.

Your Saved Basket.
As promised, we're emailing you a link to your shopping basket which contains the products you previously requested.
To access your saved basket, simply click the button below - you'll still be able to make changes before checking out.
If you are already shopping on our website, your existing basket contents will be replaced with the new products after clicking the link.
Maybe that's possible in that admin page too?


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply