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
ray22901031  
#1 Posted : Friday, January 13, 2023 12:19:44 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 826

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
When you're in an order if you go to items, on the right-hand side you can pick "Add Other Item".

Where is the value for the drop-down list coming from?

I think it's in code and not in a table because we would like to add an entry called "text" so we can make a comment on the line items that the customers can see.

Many Thanks

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

Jay  
#2 Posted : Friday, January 13, 2023 2:11:02 PM(UTC)
Jay

Rank: Member

Groups: Authorized User, Developers
Joined: 11/12/2018(UTC)
Posts: 25

Thanks: 1 times
Was thanked: 4 time(s) in 3 post(s)
Looks like it is in the WAP project, in the Areas\Admin\Controllers\OrdersController.cs file, AddOtherItem procedure. It enumerates (and filters) the OrderItemType, defined in the source code in Orders\OrderItemType.cs.

Note that instead of adding another item, you could use the LineMessage property of an existing OrderItem object. I use it (in a slightly different way) in our GOLD site because it didn't seem to be used by the system for much of anything. You'd probably want to make sure version 9 isn't using it for anything that you might mess up if you use it. Obviously, this option would require custom code too.

Edited by user Friday, January 13, 2023 2:11:42 PM(UTC)  | Reason: fix misspelled word, add "existing"

ray22901031  
#3 Posted : Friday, January 13, 2023 3:50:31 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 826

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Hi Jay,

I appreciate the reply, the order line at the bottom does not work for us, so for now, we will just use handling to apply text that the customer can see with a zero amount.

Thank you so much for your input
Users browsing this topic
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.