nopSolutions / nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
https://www.nopcommerce.com
Other
9.31k stars 5.33k forks source link

Order CustomValuesXml #5250

Closed SelectSystemsInternational closed 1 year ago

SelectSystemsInternational commented 3 years ago

nopCommerce version: All

Regards the attribute order.CustomValuesXml On the Customer Order Details page, the decoded values are associated with and displayed under the Billing Address heading In the Order PDF the values are displayed separately under the Payment Method Details In Admin Order Details the Custom Values are displayed separately under the Payment Method details

I use order.CustomValuesXml for storing details about the payment either: The Payment Method type (in the case where there are multiple payment types for the one payment method) For other payment methods order.CustomValuesXml is used to store a Payment Receipt number I dont know how others may use it ?

I also do not know if there is a reason why order.CustomValuesXml are associated with the Billing Address on the Customer Order Details page ? This attribute is more likely to be used to store information about the order rather than details related to the billing address.

I would like to recommend that the display of the order.CustomValuesXml be moved on the Customer Order Details page to under the Payment Details so that it is standardised in all three locations.

SelectSystemsInternational commented 3 years ago

Any more thoughts on this change ?

RomanovM commented 3 years ago

See also #3304

skoshelev commented 1 year ago

Closed #5250

SelectSystemsInternational commented 9 months ago

Suggestion that there now be a case to add a Type or DIsplay Location field and make it a Tuple <DisplayLocation, Key, Value> So that the values can be linked to and displayed in the most approporaite location under either:

  1. BillingAddress - Billing Address related customer values
  2. ShippingAddress - Shipping Address related customer values
  3. Payment - For values associated with Payment i.e. Receipt number or Invoice Number
  4. Shipping - For values associated with Shipping i.e. Pickup Point

In a new Shipping plugin the Service Location for pickup of the order package with associated details as well as a customer Reciept Number are stored as customer order values - The details are now displayed under Payment but would be better if displayed under shipping

image