Rank: Member
Groups: Registered, Developers Joined: 7/26/2019(UTC) Posts: 20
Thanks: 2 times
|
I have the "Allow Customers to add Notes to Orders" setting turned OFF on the Configure>STore>General page. However, the receipt page that is displayed after checking out (/Checkout/Receipt?orderNumber=3) shows the Order Notes section. We want this turned off.
Please advise on fix or workaround.
Thank you.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi Kevin, To fix the issue, you need to update the related view file. 1- Open the file \Website\Views\Members\_OrderNotes.cshtml in the editor of your choice. 2- Search for the line begining with ....3- Wrap the entire razor form (using (){ ... }) with the following code block (if statement). @if (ViewBag.EnableCustomerOrderNotes == true) { using (Ajax.BeginForm(...){ ... } } 3- Save the file and you are ready to go. Thanks Edited by user Friday, August 2, 2019 6:44:17 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi Kevin,
There was a small mistake in that code so I have updated the posted code. Please use the updated code.
Thanks
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close