> For the complete documentation index, see [llms.txt](https://docs.condicart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.condicart.com/core-features/actions.md).

# Actions

Control what happens to your Add to Cart button when conditions match

### Available Actions

#### Hide

Completely removes the Add to Cart button. The product becomes non-purchasable.

**Use Cases:**

* Restrict purchases for guests
* Disable purchasing for specific user roles
* Block sales in restricted countries
* Prevent purchases when cart minimum not met

#### Customize

Modify the button text, color, text color, or redirect to a custom URL.

**Options:**

* Button Text: Change "Add to Cart" to custom text
* Button Color: Set custom background color
* Text Color: Set custom text color
* Redirect URL: Redirect to custom page instead of adding to cart

**Use Cases:**

* Change to "Login to Purchase" for guests
* Redirect to contact form for custom orders
* Show "Pre-Order Now" for upcoming products
* Brand-specific button colors

#### Replace

Replace the button with custom HTML content. Supports shortcodes.

Use Cases:

* Show contact form
* Display custom message with links
* Embed third-party widgets
* Show availability notification form

{% hint style="info" %}
**Example HTML:**

```
<p>This product requires approval.</p>
<a href="/contact" class="button">Contact Us</a>
```

{% endhint %}

#### Quote Request

Replace button with a professional quote request form. Perfect for B2B and wholesale.

**Features:**

* Customizable button text
* Modal popup form
* Collect name, email, phone, quantity, details
* Email notifications
* Custom recipient email
* Show/hide optional fields

Learn more about the Quote System →
