> 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

Below are the filters you may need to customise the look, feel or content of the Bundle Builder page in the Doko Bundle Builder plugin for WooCommerce.

**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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FmEz7R8HVFX1C3nSQ2CHV%2Fimage.png?alt=media&amp;token=39cfb50c-c33d-4a1e-b4c7-cf9a948ea0cc" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FZdpH3ZTk79xe0GVThxGy%2Fimage.png?alt=media&amp;token=46fed759-1048-46f3-bfb2-bd7c4638da59" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FX1HdgeZcgVkPdZFQf8jd%2Fimage.png?alt=media&amp;token=7427f034-dd59-45c6-8bbb-0cd9ee692a7e" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FygwuDqKBsPBZwwbwvfDQ%2Fimage.png?alt=media&amp;token=3004ddd4-8838-425e-9abd-f3e44b81fa1a" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2Fk9CGHatm9DUFujySCnAm%2Fimage.png?alt=media&amp;token=2c05657f-7051-412d-a11e-4813760cbc18" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FIwRexTxUTVgduj5HTRpC%2Fimage.png?alt=media&amp;token=5f2f1ce1-bc0b-4733-be7e-6935393aa57a" 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="https://3823528938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg3z3RATm3FlzqlvbHrX9%2Fuploads%2FCcrEU7WEjpjPvwsU10VZ%2Fimage.png?alt=media&amp;token=21c5ca8e-31c4-4c25-b474-2401afcfbe8a" alt=""><figcaption></figcaption></figure>
