Developer forum

Forum » Feature requests » Custom fields in returns module

Custom fields in returns module

Scott Forsyth
Reply

Hello,

It would be absolutely great to have custom fields in the returns module. We have a project right now that needs to support uploading images (common request with returns) and to have 2 dropdown choices for the user to explain what the issue is. Both of those could be addressed with custom fields in the returns module.

Is there a way to do that now programmatically or does the module need to be extended to support that?

Thanks,

Scott


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Scott

Thank you for the input - an RMA is an order in a specific state, so you should be able to use order fields to do this.

Files is a bit more tricky - the RMA has an order ID - from the frontend you could have the user pop a window and upload them to a folder that is related to orderid - and then store the information in an order field.

Hope this can get you in the right direction. I've noted a request for adding these features to a more native part of RMA.

BR Nicolai

Votes for this answer: 1
 
Scott Forsyth
Reply

Thanks Nicolai,

That's good news about it following the same structure as an order. That makes perfect sense and that will take care of the custom fields.

Your idea to take the image in a pop-up window should work. We should be able to find a way to make it clean enough for the user for this project. And having image support in RMAs will be great in the future. We have a few projects that want support for that.

Thanks,

Scott

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Can you give us some pointers on how to do that? The module does not output the custom field tags, so I am assuming we need to use Razor, by creating an order object?

 

Is it safe to assume this will also work with orderline fields?

 

Best Regards,

Nuno Aguiar

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Don't know if you had a chance to look at this. Could you point us in the right direction? Are there any notifications we could tap into for the RMA's besides eCommerce.Rma.ReplacementOrderCreatedArgs?

http://developer.dynamicweb-cms.com/api8/#Dynamicweb~Dynamicweb.Notifications.eCommerce+Rma+ReplacementOrderCreatedArgs.html

 

Best Regards,

Nuno Aguiar

 
Nicolai Høeg Pedersen
Reply

Hi Nuno

I cannot not give you anymore pointers. The ReplacementOrderCreated notification is the only one RMA specific. OrderSaved might also come in useful.

BR Nicolai

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Thanks for confirming. We'll give it a shot.

 

Best Regards,

Nuno Aguiar

 
Jon Thorne
Jon Thorne
Reply

Hi,

Is there any update to this feature request?

Are there any plans in the near future to add file/photo uploads as a native RMA feature?

Regards,

Jon.

 
Nicolai Pedersen
Reply

Hi Jon

No news - it is not on the plan.

Sorry, Nicolai