# Actions

### 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 →


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.condicart.com/core-features/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
