improve cart recovery: product links in email, persistent session cookie
All checks were successful
deploy / deploy (push) Successful in 3m32s
All checks were successful
deploy / deploy (push) Successful in 3m32s
- add product_id to order_items (migration + schema + create_order) - cart recovery email now includes a direct product link per item - extend session cookie max_age to 7 days so carts survive browser restarts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
defmodule Berrypod.Repo.Migrations.AddProductIdToOrderItems do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:order_items) do
|
||||
add :product_id, :string
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user