Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form enctype="multipart/form-data" method="post" class="cart">
- <?php do_action('before_wpneo_donate_field'); ?>
- <?php echo get_woocommerce_currency_symbol(); ?>
- <input type="number" step="any" min="0" placeholder="<?php echo $recomanded_price; ?>" name="wpneo_donate_amount_field" class="input-text amount wpneo_donate_amount_field text" value="<?php echo $recomanded_price; ?>" data-min-price="<?php echo $min_price ?>" data-max-price="<?php echo $max_price ?>" >
- <?php do_action('after_wpneo_donate_field'); ?>
- <input type="hidden" value="<?php echo esc_attr($post->ID); ?>" name="add-to-cart">
- <button type="submit" class="<?php echo apply_filters('add_to_donate_button_class', 'wpneo_donate_button'); ?>"><?php _e('Back Campaign', 'wp-crowdfunding'); ?></button>
- </form>
- <form enctype="multipart/form-data" method="post" class="cart">
- <?php do_action('before_wpneo_donate_field');
- $valAction = get_field('valeur_dune_action_admin_section');
- $nbactions = 500000 / $valAction;
- ?>
- <select type="number" step="any" name="actions" id="actions-select" name="wpneo_donate_amount_field" class="input-text amount wpneo_donate_amount_field text">
- <?php
- $i = 1;
- if ($nbactions != 0)
- {
- while ($i <= $nbactions) {
- echo '<option value="' . $valAction * $i . '">' . $valAction * $i . '</option>';
- $i++;
- }
- }
- ?>
- </select>
- <?php
- echo get_woocommerce_currency_symbol();
- do_action('after_wpneo_donate_field'); ?>
- <input type="hidden" value="<?php echo esc_attr($post->ID); ?>" name="add-to-cart">
- <button type="submit" class="<?php echo apply_filters('add_to_donate_button_class', 'wpneo_donate_button'); ?>"><?php _e('Back Campaign', 'wp-crowdfunding'); ?></button>
- </form>
Add Comment
Please, Sign In to add comment