Answer the question
In order to leave comments, you need to log in
How to display country in minishop2 order management?
Good day, developers! I have MODx with minishop2 installed. In order management, I want to display the country. Added country to the ms2_order_grid_fields field, described the column in the orders.grid.js file. The column appeared, but the values do not appear. What is the reason, where else do you need to rule?
Answer the question
In order to leave comments, you need to log in
This placeholder is standard for msOrder
We can check this by looking at the core/components/minishop2/model/minishop2/mysql/msorderaddress.map.inc.php file or
the MySQL database, the new country column in the modx_ms2_order_addresses
orders.grid.js table - it is also present default
,getAddressFields: function(config) {
var all = {receiver:{},phone:{},index:{},country:{},region:{},metro:{},building:{},city:{},street:{},corp:{},room:{}};
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question