> For the complete documentation index, see [llms.txt](https://docs.homescriptone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.homescriptone.com/wordpress-plugins/doko-bundle-builder-the-ultimate-dynamic-bundle-builder-for-woocommerce/hooks-for-developers/public-hooks.md).

# Public Hooks

**Actions :**  &#x20;

NA

**Filters :**&#x20;

* ***doko\_display\_variations\_as\_many :*** \
  This filter allows you to decide whether variations of products on the bundle page should be displayed as a single product or multiple products.

  <figure><img src="/files/Mt9YxftdMgZKOAOSkQ6B" alt=""><figcaption></figcaption></figure>

* ***doko\_skip\_product\_in\_shortcode\_loop :*** \
  This filter allows you to decide whether a specific product in the bundle shouldn't be displayed.<br>

  <figure><img src="/files/vNdFp1CyLe0mW4pdtVN8" alt=""><figcaption></figcaption></figure>

* ***hs\_doko\_btn\_add\_to\_box\_link :*** \
  This filter allows you to customise the "Add to Box" button displayed in the various bundle steps.<br>

  <figure><img src="/files/wPBKqYNZeVOAeur5BGyF" alt=""><figcaption></figcaption></figure>

* ***doko\_get\_total\_price :*** \
  This filter allows you to change the bundle total price and include custom fees after customers has added to the cart their products.<br>

  <figure><img src="/files/3q96mjOMDWTrcSoTHMaW" alt=""><figcaption></figcaption></figure>

* ***doko\_add\_box\_contents :*** \
  This filter allows you to add a custom product with a custom price to the bundle present in the WooCommerce cart and checkout.<br>

  <figure><img src="/files/7GOH96j81kj7yEKf9f9g" alt=""><figcaption></figcaption></figure>

* **doko\_cart\_contents\_element :** \
  This filter allows you to include custom information before the bundle is added to the cart item object. Whether you want to add a custom product or another option to the basket, use this.

<figure><img src="/files/W33wyvqIRcj4KsN0VQJw" alt=""><figcaption></figcaption></figure>

* ***doko\_js\_data\_boxpage :*** \
  This filter allows you to add a custom variable or secret word to the bundle page. To use it, just get the value of your custom variable from ***doko\_object***.<br>

  <figure><img src="/files/0cLSKl6QxNU0Ot1M2FvX" alt=""><figcaption></figcaption></figure>
