I LOVE Dolibarr ❤️ it's the little things that makes it so useful

I LOVE Dolibarr :heart: it’s the little things that makes it so useful

As some might know, I’m using Dolibarr as the backend for a dance class registration form. Today I got a suggestion to have an individualised Call to Action button text

So:

  1. New complementary attribute called Call to Action, with a default value that I initially set to Start product registration because I am still thinking that my system should end up as a general event registration system, and I also have a similar Call to Action on projects, but to distinguish and in the UX show users what to expect I wrote Start event registration

  2. Show it to my friend who said “I don’t want to join a product”

  3. 45 :open_mouth: individual products to change :frowning: but here is why I LOVE Dolibarr.

  4. Select all products

  5. Select the action Modify value of an extrafield

  6. Search for extrafield

  7. Write the new value and press validate

  8. ALL products now have the new value

SO GOOD, SO GREAT - I’M LOVING IT
The whole thing took about 1 hour with tests, and very very little code modifications :slight_smile:

Here’s how my front/search page looks with the pr. product call to action button

1 Like

How do I search? Well, through the API the field sqlfilters on just searching for all products, then I only get those that matches some of these sqlfilter values

(t.tosell:=:1) and (t.ref:like:'%CSBF%')

(t.tosell:=:1) and (t.label:like:'%CSBF%')

(t.tosell:=:1) and (t.description:like:'%Slow%')

(t.tosell:=:1) and (ef.service_type:like:'Workshop')

For events the t.label is t.title and t.tosell is t.fk_statut

Dolibarr - Lovely tool :slight_smile:

3 Likes