Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.1
-
None
-
None
-
Ibexa Commerce
Description
Judging from https://github.com/ibexa/commerce-shop/blob/main/src/bundle/Eshop/Resources/config/emails.yml#L20
emails.yml#L20
#possible mode: config or customer ibexa.commerce.site_access.config.checkout.default.order_confirmation.sales_email_mode: customer ibexa.commerce.site_access.config.checkout.default.order_confirmation.sales_email_address:
It should be possible to overwrite sales_email_mode and sales_email_address
Config given in https://doc.ibexa.co/en/latest/commerce/checkout/order_confirmation/#sales_email_address does also not work.
Steps to Reproduce:
Assume a working Ibexa Commerce 4.3 installation with at least one Produkt that can be added to the basket
Change config/services.yaml:
config/services.yaml
parameters: ibexa.commerce.site_access.config.checkout.site.order_confirmation.sales_email_mode: config ibexa.commerce.site_access.config.checkout.site.order_confirmation.sales_email_address: foo@bar.baz
- use Standard Siteacces site
- Add Produkt to basket
- Go to checkout (checkout as guest and use default payment and standard shipping)
- Check latest entry in ses_basket table:
sql
SELECT id, sales_confirmation_email FROM ses_basket order by id desc;
Result:
sales_confirmation_email is empty
Expected:
sales_confirmation_email = foo@bar.baz
Note:
Doing the same test using global scope will work (sales_confirmation_email = foo@bar.baz will be saved to db):
config/services.yaml
parameters: ibexa.commerce.site_access.config.checkout.global.order_confirmation.sales_email_mode: config ibexa.commerce.site_access.config.checkout.global.order_confirmation.sales_email_address: foo@bar.baz