> For the complete documentation index, see [llms.txt](https://docs.overse.app/hubble/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overse.app/hubble/block-types/special/order-item-actions.md).

# Line Item Actions

The Line Item Actions Block allows you to add multiple actions to individual order line items within a customer’s account. This block helps customers quickly interact with their past orders, such as reordering items or contacting support.

### Key features

* **Customizable actions**: Add a unique label and link for the action.
* **Conditional display**: Assign the action to specific customer groups for personalized experiences.
* **Dynamic display**: Prioritize targeted actions to appear before default actions.

### Line Item Actions block

The Line Item Actions Block lets you add multiple interactive actions to individual line items. These actions can be set as default or targeted (with [conditions](/hubble/conditions/intro-to-conditions.md)) and are reorderable via drag and drop.

The steps to configure a line item action are the following:

{% stepper %}
{% step %}

#### Go to the Special Blocks page

Open the sidebar, click on **Blocks** and then click the **Special Blocks** card.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2Fgit-blob-38f951f2d8263d5568eea581d7140886e6130529%2FBlocks%20-%20Special%20Blocks.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select Line Item Actions

Click the **View** button that is in the **Line Item Actions** special card.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FlT14VMJZ1B9Pd1Bcdz1n%2Fimage.png?alt=media&amp;token=749f7b78-2033-43ac-b471-3ca846250285" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This area shows all special block types.
{% endhint %}
{% endstep %}

{% step %}

#### View the Line Item Actions page

The page displays two columns: one for default actions and one for targeted actions.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FnxlIpw9pTe1fg5kqpCay%2Fimage.png?alt=media&amp;token=fb0360af-37a0-4b2d-b2aa-8a16c05150e1" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can create Default Actions, that show for all customers, or Targeted Actions, which show based on conditions.
{% endhint %}
{% endstep %}

{% step %}

#### Add a new Line item Action with conditions:

Click the **Add New** card button within the Actions with conditions column.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FHd9Gd4yJobvWf2OVyS5r%2Fimage.png?alt=media&amp;token=885798ec-1c97-4947-93e4-edc892557c4e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure you are adding a new action, not editing an existing one.
{% endhint %}
{% endstep %}

{% step %}

#### Fill in block settings

You'll see the following fields in the Line Item Action screen

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FUrEtQBLJ9F4GoN8WLz8m%2Fimage.png?alt=media&amp;token=d63165f8-9de1-4eb3-a5e9-b47dfe103298" alt=""><figcaption></figcaption></figure>

**Block name:** Enter a descriptive name (e.g., “Reorder for VIPs”).

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FnKHwuYCNCREeHu8HYcmW%2Fimage.png?alt=media&amp;token=5146ed03-ec1c-42ec-90f4-cc1698268618" alt=""><figcaption></figcaption></figure>

**Customize Content:** Provide at least the **Label** and **Action** for the action.

{% hint style="info" %}
Keep labels concise and ensure links are accurate.
{% endhint %}

**Line item Action types**

These action types streamline the post-purchase experience and boost customer engagement:

**Open link:** Creates a custom URL and optionally use [Variables](/hubble/variables/intro-to-variables.md) to compose it dynamically.

**Add to cart:** Enables customers to add the item directly to their shopping cart with one click.

**Copy text to clipboard:** Allows customers to copy text that you set, useful for discount codes, serial numbers, line item IDs, etc.

**Buy product again - checkout:** Allows customers to quickly reinitiate the checkout process for repurchasing an item.

**View item’s product page in online store:** Directs customers to the detailed product page on your online store for more information.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FbnWUnIkqCqlipYF2p4T0%2Fimage.png?alt=media&amp;token=3bde082f-ecae-4800-ba3d-5041a5446a6b" alt=""><figcaption></figcaption></figure>

**Set conditions:** Select an existing [condition](/hubble/conditions/intro-to-conditions.md) or create new one.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FgFr1CKCQrt1lyP6LtbG2%2Fimage.png?alt=media&amp;token=0e93ab74-6da5-4d0f-a27e-3e7fbc8c1221" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For help with creating conditions, see the [Conditions Documentation](/hubble/conditions/intro-to-conditions.md)
{% endhint %}
{% endstep %}

{% step %}

#### Save

Click Save to create your action.

<figure><img src="https://252181162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgNjbkcqEVwk7mzEfZieR%2Fuploads%2FiK362FLdLcqrwa1W5E4u%2Fimage.png?alt=media&amp;token=44875347-28db-436f-add0-6d9eaae02d48" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Your new action is now added and arranged.
{% endhint %}
{% endstep %}
{% endstepper %}

### Use cases

* **Reorder action**: Direct VIP customers to quickly reorder items from their order history.
* **Exclusive support link**: Provide a dedicated support link for specific customer groups.
* **Special offers**: Include a link to a unique promotion or discount page.

{% hint style="info" %}
Targeted actions allow you to display personalized interactions for specific customers.
{% endhint %}
