Currently, it is not possible to have those 3 options using custom codes as this functionality is not supported by the pricing blocks. However, I will add your message as a suggestion to our feature requests list to consider when planning further app updates.
Hi Marine, this was really helpful good. Thank you! I have no coding experience, so it was very clear.
When I use the code mentioned above, the outcome is that Yearly appears on either side of the toggle (i.e., no monthly).
My novice guess is that the computer does the first line of coding “yearly” to “monthly” (because I replaced ‘aaa’ in your code to ‘monthly’), then it performs the second line of converting “monthly” to “yearly” (because I changed bbb in the code to yearly). The consequence is that “yearly” appears on either side of the toggle because anything labelled monthly now becomes yearly. Is there a way to fix it to say Yearly and Monthly. Or do I just have to use Year and Month?
Hello @GrantBlake I believe you are trying to simply swap Monthly and Yearly places
You can give this a try, simply change “blockid” in the code to your exact block name.