Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4761

Impossible to overwrite ibexa.commerce.site_access.config.checkout.<scope>.sales_email_mode parameter

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Customer request, 4.4.0-rc1, 4.3.2
    • 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
       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: