> 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

### 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
