开发者 | pbosakov |
---|---|
更新时间 | 2023年8月3日 01:04 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.3 |
cost_per_day * days * (1 + (tax_percentage / 100))
wp-config.php
file to manually hide this plugin's nag notices:
define('DISABLE_NAG_NOTICES', true);
Note: This defined constant will only affect the notices mentioned above, and will not affect any other notices generated by this plugin, such as one-time notices that communicate with admin-level users.
Simple PayPal and Stripe integration is available in the Pro version. The plugin can generate a Pay Now button on the fly when a calculation is made.
Yes, you can! A currency conversion function is available in the Pro version. As an alternative, you can use the "wpcf7calculate" jQuery event to trigger currency conversion or other post-processing operations after a calculation. You can code your own Javascript function and place it somewhere on your website to call a third-party currency conversion API. Here is an example: ```javascript jQuery(function($) { $('form').on('wpcf7calculate', function() { var dollars = jQuery('input[name=total]').val(); var euro = currencyConvert(dollars, 'USD', 'EUR'); if (euro === false) { alert('Currency conversion failed'); } else { alert(dollars + ' dollars = ' + euro.toFixed(2) + ' euro'); } return; }); }); function currencyConvert(amount, from, to) { var result = ''; var convertUrl = "https://free.currencyconverterapi.com/api/v3/convert?q=" + from + "" + to + "&compact=ultra"; var rate = false; jQuery.ajax({ url: convertUrl, async: false, type: "GET", dataType: "json", success: function (data) { rate = data[from + "" + to]; } }); return rate ? parseFloat(amount) * parseFloat(rate) : false; } ```
Yes, this is available in the Pro version. This feature requires that you have a valid Google Places API key.
This is available in the Pro version. Please refer to the plugin documentation for more information about support for external spreadsheets.
If more than one checkbox is selected in the same group, the values will be summed. To avoid the possibility to select more than one checkbox at the same time, use the "exclusive" modifier in the checkbox tag, or use radio buttons instead. More information and examples are available in the plugin documentation.