Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I cad comment box in checkout form. #3135

Closed
akshaypitale opened this issue May 28, 2020 · 2 comments
Closed

How can I cad comment box in checkout form. #3135

akshaypitale opened this issue May 28, 2020 · 2 comments

Comments

@akshaypitale
Copy link

Hi,

How can I add comment box on checkout page so that customer can add comment for every order he/she place. And want to show the comment on admin panel sales dashboard so that admin can check comment for every order.

Thanks in advance.

image

@rahulcs0082
Copy link
Contributor

Hi @akshaypitale

First of all, you need to override view file to add comment field, follow the given link for same - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto/2

Add a 'comment' column in the addresses table and override this table to add fillable value.

The second way is to create a new table for the same, override view files and create the same name route for save address (LIke Shop ) which calls your packages controller and insert value in the newly created table along with save address functionality.

@akshaypitale
Copy link
Author

Thanks for the help.

Hi @akshaypitale

First of all, you need to override view file to add comment field, follow the given link for same - https://forums.bagisto.com/topic/221/how-to-override-view-file-in-bagisto/2

Add a 'comment' column in the addresses table and override this table to add fillable value.

The second way is to create a new table for the same, override view files and create the same name route for save address (LIke Shop ) which calls your packages controller and insert value in the newly created table along with save address functionality.

Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants