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

View file

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