Altering the quantity widget
I created a shop for a bakery.
There is a producttype 'pies'. Here users must be able to choose between a quantity of 4, 6, 8, 10 and 12 persons.
The price in backend is entered a piece and in frontend price must be calculated upon this.
So basically i need three functions:
- display prices for above quantities
- the quantity widget must be a selectlist of these quantities so users don't get confused
- the text of the calculated currency must have a finishing line 'per person'
I'm novice in drupal so i don't have any programming language experience.
I did some prospection and fell onto the commerce table price widget but needs further customisation.