• Resolved fbosman

    (@fbosman)


    Hi,
    I love this plugin.
    Is it possible to extend the checkbuttons with text and the amount of the option:

    option 1: 10
    option 2: 20
    option 3: 30

    regards,

    Frans

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    Hi Frans,

    Glad to hear you like it! By the way, I’ll be at WordCamp Netherlands tomorrow if you want to me, just message me on twitter @davdebcom

    You can do this with radio buttons. One simple example:

    [paytium name="Your name" description="Your description"]
    [paytium_radio label="Label" options="10 - Option 1/20 - Option 2/30 - Option 3" options_are_amounts="true" /]
    [paytium_total /]
    [/paytium]

    Is that what you need? you can use checkboxes now, because multiple checkboxes can be clicked (by default) and Paytium can’t do that calculation at the moment. Is that something that would be useful for you? Or is the above suggestion what you are looking for?

    Plugin Contributor davdebcom

    (@davdebcom)

    Some explanation for the options.

    10 – Option 10 means 10 euro’s (the first 10) and everything after that will be used as description. Then the / is used to let Paytium know what the next option is, in this case 20 euro’s with description – Option 2. The dash – is not needed to let Paytium know what the description is, you could also use 10 Option 1, that would also work.

    Thread Starter fbosman

    (@fbosman)

    Hi,
    Thanks for the explanation. It works the way you described!
    Can you indeed enable the calculation when using checkboxes? So I can use it as a very small shopping list.

    Some additional whishes:
    It is possible to have each payment entry not only stored in the database but also mailed at one or more email-dresses? In that way I can react on the payment without searching the database.

    I tried to translate “Your email:” using Saywhat, but it seems not to work. Is there a solution?

    regards,
    Frans

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi,

    thanks for your response!

    Calculations: registered your vote for this feature! I’ll contact you if/when I develop this.

    Emails: Please check Paytium > Extensions in the plugin and if you want to select “Email notifications” to vote. It’s a page that you can use to show interest in new features as extensions. I am actually thinking about how I can get more time to work on this plugin, make it a priority, because off course I have to work on projects that actually generate an income for my family, first. Maybe I can find a work around or something with extensions ??

    Translation: Did you add/change the label=”Your email” in the paytium_field shortcode itself? It should be enough. If you don’t have that in your paytium_field shortcode, just add this label=”Een email”, for example:

    [paytium name="Your name" description="Your description"]
    
    [paytium_field type="email" label="Een email" required="true" /]
    
    [paytium_radio label="Label" options="10 - Option 1/20 - Option 2/30 - Option 3" options_are_amounts="true" /]
    [paytium_total /]
    [/paytium]

    Let me know if that helps, thanks!
    David

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi Frans

    Did my last reply help?

    Kind regards
    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘checkbuttons: text and amount’ is closed to new replies.