# Always show product variants

**URL:** <https://www.dolibarr.org/forum/t/always-show-product-variants/29747>\
**Category:** PM modules\
**Created:** [December 19, 2024, 2:32pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747 "2024-12-19T14:32:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bastian](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/b/779978/32.png) [@Bastian](https://www.dolibarr.org/forum/u/Bastian)\
**Post date:** [December 19, 2024, 2:32pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/1 "2024-12-19T14:32:51Z")

</div>

I have enabled the “product variants” module in my dolibarr installation.  
Is there a way to always show the variants in the product list by default?  
When searching for a product, I always need to check the box on top to show variants and then search again.

Maybe a special variable which could be set? In the documentation I found no hint so far.

Best regards  
Bastian

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [December 19, 2024, 4:12pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/2 "2024-12-19T16:12:41Z")

</div>

I think you could possibly save it as a bookmark?

---

<div class="post-metadata">

**Author:** ![Bastian](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/b/779978/32.png) [@Bastian](https://www.dolibarr.org/forum/u/Bastian)\
**Post date:** [December 20, 2024, 7:35am UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/3 "2024-12-20T07:35:10Z")

</div>

Unluckily no. It’s no query parameter so the URL is not updated when toggling the parameter.

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [December 20, 2024, 5:18pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/4 "2024-12-20T17:18:18Z")

</div>

I meant internal dolibarr bookmarks

 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/0/05847b7896a87f2ea34027b0135155e0a91986c0.jpeg)

and yes it does work

**products\_with\_variants**  
/product/list.php?sortfield=p.ref&sortorder=ASC&search\_type=0&limit=25&search\_category\_product\_list\_multiselect=1&search\_show\_childproducts=on&search\_options\_project\_id=-1&search\_tosell=-1&search\_tobuy=-1

I think that this is the needed part of the URL

_&search\_show\_childproducts=on_

---

<div class="post-metadata">

**Author:** ![Bastian](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/b/779978/32.png) [@Bastian](https://www.dolibarr.org/forum/u/Bastian)\
**Post date:** [December 27, 2024, 12:48pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/5 "2024-12-27T12:48:11Z")

</div>

Thanks for the response. This actually works!

Best regards  
Bastian

---

<div class="post-metadata">

**Author:** ![Conedr8](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/conedr8/32/7119_2.png) [@Conedr8](https://www.dolibarr.org/forum/u/Conedr8)\
**Post date:** [November 10, 2025, 6:10pm UTC](https://www.dolibarr.org/forum/t/always-show-product-variants/29747/6 "2025-11-10T18:10:54Z")

</div>

Thanks a lot for this easy solution.
