Fix session assignment for WooCommerce

This commit is contained in:
Rene Vergara 2022-12-06 12:40:58 -06:00
parent e098d65297
commit 02ecc305fa
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 3 additions and 1 deletions

View File

@ -714,7 +714,9 @@ routes pipe config = do
ZGoOrder
Nothing
(oaddress o)
("WC-" <> (T.pack . show $ o_id o))
(case o_id o of
Just o' -> "WC-" <> (T.pack . show $ o')
Nothing -> "")
(parseTimeOrError
True
defaultTimeLocale