Profile: Erkan

Statistics
Avatar
  • 10

Hi,

I want to get order item report in order collection.

But, this db engine in OrderItem class is SubEntity. How can i get order item reports?

Thank you very much in advance.

Tuesday, June 25, 2019 8:22 AM

Ok. Thanks for your help.

Well, if I copy all the editing methods of the order controller to the plug-in?

What sentence do I need to write to the routeprovider?

Thursday, January 17, 2019 8:21 AM

Of couse. But, I want override Admin/Order/Edit/{id} (Just CancelOrder Method).

I want only CancelOrder button action in to the plugin.

Thursday, January 17, 2019 7:53 AM

Krzysztof wrote:

Hi,
Change your url to i.e /RewardOperationAdminController/CancelOrder
Do you need add to cancel button on the order page for customer?

Regards
Krzysztof


Hi, i've tried. But it didn't work. Have I got it right?



routeBuilder.MapRoute("Plugin.Rewards.RewardOperations.CancelOrder",
                            "/RewardOperationAdminController/CancelOrder",
                            new { controller = "RewardOperationAdminController", action = "CancelOrder", area = "admin" });

Wednesday, January 16, 2019 9:10 PM

No, I just from order detail in admin panel. I will try. Thank you so much.

Wednesday, January 16, 2019 7:00 PM

I'm using grandnode ver4.20. But i can't change cancelorder button route.

My code route code is below;


routeBuilder.MapRoute("Plugin.Rewards.RewardOperations.CancelOrder",
                            "Admin/Order/Edit/{orderId}",
                            new { controller = "RewardOperationAdminController", action = "CancelOrder", area = "admin" });


In plugin is other methods and routes running. I don't have problem other methods.

Please, can you help me?

Thank you...

Wednesday, January 16, 2019 12:37 PM

Very very thansk for your reply. I'm trying first opportunities.

Sunday, November 11, 2018 5:22 PM

Hello,
How can i upgrade grandnode 4.10 to 4.20 or 4.30?

I could find it for nopcommerce. But i cannot found upgrade script or documentation for grandnode.

Please can you help me?

Thanks for reply...

Monday, November 5, 2018 11:03 AM

I find solved this problem. Let me share what I might need.

_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[0])
_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[1])
_addressAttributeFormatter.FormatAttributesArray(p.ShippingAddress.CustomAttributes)[2])
...

Thanks for non-messages. :P :)

Friday, October 19, 2018 3:17 PM

Hi,

How can i get value in ShippingAddress.CustomAttributes?

This is my record;
<Attributes>
  <AddressAttribute ID=\"5bbc9414e357560d7891f9ed\">
    <AddressAttributeValue>
      <Value>
        Resül Pusat
      </Value>
    </AddressAttributeValue>
  </AddressAttribute>
  <AddressAttribute ID=\"5bb726bb482f0c4904671a46\">
    <AddressAttributeValue>
      <Value>
        5bbc94d2e357560d78922a2e
      </Value>
    </AddressAttributeValue>
  </AddressAttribute>
</Attributes>

I try take is "Resül Pusat". But, I cannot get in value. Please help me?

Tuesday, October 9, 2018 2:22 PM