Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
You can use the hook_install code on that page. Then you'll have to uninstall and reinstall your module first before it works. You could also just manually update the database (doing what the query would do) but if you use this module elsewhere then you will have to do it again.
Comments
Comment #1
malberts commentedYou will need to write a little module that alters the add to cart form. You can then change the quantity field label in there.
For example:
Comment #2
heyyo commentedYes I did that:
But it doesn't work because Commerce Kickstart is also altering this field. Any idea how to make my module the last module altering this label ?
Comment #3
malberts commentedHave a look at: http://drupal.org/node/110238
You can use the hook_install code on that page. Then you'll have to uninstall and reinstall your module first before it works. You could also just manually update the database (doing what the query would do) but if you use this module elsewhere then you will have to do it again.
Comment #4
ahimsauziThat is why we love Drupal :(
Comment #5
nvahalik commentedMarking as closed.