How to change stray comma at the end of order email custom fields

Created by Robin Hoang, Modified on Tue, 29 Aug 2017 at 11:47 AM by Robin Hoang

Question:

Order email custom fields always end with comma like in the screenshot below:



We need to get rid of that in the end. Could you please help us get it fix?


Answer:

In this case, could you please replace this file: app/code/Bss/CheckoutCustomField/Helper/Data.php by the attachment to fix your issue with comma?
After that, please clear cache and test sending the email again.


For more information about product, please refer Checkout Custom Field for Magento 2.

If you need any further assistance, please feel free to contact us.
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html


Attachments (1)

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article