Developer forum

Forum » Ecommerce - Standard features » RMA OrderLine Serial Number

RMA OrderLine Serial Number

John Broers
Reply

The documentation mentions that the RMA module supports a serial number field. How can we add an input field on the frontend so users can enter this serial number for each orderline?

I assume this requires using a specific name attribute for the input field similar to how the product comment field works ({ParagraphID}ProductComment{Ecom:RMA:OrderLine.ID}). However, I haven’t been able to find what the correct attribute should be for the serial number.

BR,

John


Replies

 
Morten Snedker Dynamicweb Employee
Morten Snedker
Reply
This post has been marked as an answer

Hi John,

The serial number field is supported. Use this name on the input inside the RMA order line loop:

name="{ParagraphID}SerNumber{Ecom:RMA:OrderLine.ID}"

It follows the same pattern as the product comment field. The value is saved only for order lines that are selected ({ParagraphID}OrderLineId{Ecom:RMA:OrderLine.ID} = true). Once saved, you can show it with the Ecom:RMA:OrderLine.SerialNumber tag.

I will see to it that it gets documented. Thank you for bringing it to our attention.

BR
Snedker

Votes for this answer: 1

 

You must be logged in to post in the forum