Actions overview
| Action | Description |
|---|---|
DirectOrderAdd | Adds a product to the direct order list by article number. |
DirectOrderUpdate | Updates the quantity of a product in the direct order list. |
DirectOrderDelete | Removes a product from the direct order list. |
DirectOrderAddLines | Adds another input row to the direct order list. |
DirectOrderDeleteLines | Removes the last input row from the direct order list. |
Actions
DirectOrderAdd
This action adds a product to the direct order list by article number. After successful execution, the product is displayed with its information in the list. Usage exampleCan be used on the direct order page, where customers can quickly search for products by article number and add them to the order list without having to open the product detail page. Parameters
| Name | Description |
|---|---|
id | The article number of the product to be added. |
| Error code | Description |
|---|---|
errorsByField.id | Error in the article number input. |
errorsByField.quantity | Error in the quantity input. |
DirectOrderUpdate
This action updates the quantity of a product in the direct order list. Usage exampleCan be used on the direct order page when a customer wants to adjust the quantity of a product that has already been entered. Parameters
| Name | Description |
|---|---|
quantity | The new quantity of the product. |
| Error code | Description |
|---|---|
errorsByField.quantity | Error in the quantity input. |
DirectOrderDelete
This action removes a product from the direct order list. Usage exampleCan be used on the direct order page when a customer wants to remove a product from the order list. Parameters
| Name | Description |
|---|---|
id | The article number of the product to be removed. |
| Error code | Description |
|---|---|
errorsByField.id | Error in the article number input. |
DirectOrderAddLines
This action adds another input row to the direct order list so the customer can enter more products at once. Usage exampleCan be used on the direct order page when a customer wants to enter more products than there are currently input rows. Related modules, variables & methods Example showing how a new input row is added to the direct order list via a button.
DirectOrderDeleteLines
This action removes the last input row from the direct order list. The action is only available if more than five rows exist. Usage exampleCan be used on the direct order page when a customer has added too many rows and wants to remove them again. Related modules, variables & methods Example showing how the last input row is removed via a button, provided more than five rows exist.
