logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
kevin26034224  
#1 Posted : Wednesday, July 31, 2019 2:40:38 PM(UTC)
kevin26034224

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.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shari  
#2 Posted : Thursday, August 1, 2019 2:48:40 AM(UTC)
shaharyar

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

shari  
#3 Posted : Friday, August 2, 2019 6:51:42 AM(UTC)
shaharyar

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
Users browsing this topic
Guest (2)
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.