Site icon Hip-Hop Website Design and Development

Including donation buttons of marketing campaign web page into homepage record product

im working whit WP crowdfunding and Woocomerce. I been attempting to take the predefined quantity buttons which are on this photograph:
https://i.imgur.com/VC0OZqz.png

I do know that these buttons are containg in
"wpcrowdfunding>wpcftemplate>woocommerce>basic>include>fund-campaign-btn.php"

<?php
outlined( 'ABSPATH' ) || exit;
?>
<div class="wpneo-single-sidebar ASA">
    <?php
    international $submit, $product;
    $forex = '$';
    if ($product->get_type() == 'crowdfunding') {
        if (wpcf_function()->is_campaign_valid()) {
            $recomanded_price = get_post_meta($post->ID, 'wpneo_funding_recommended_price', true);
            $min_price = get_post_meta($post->ID, 'wpneo_funding_minimum_price', true);
            $max_price = get_post_meta($post->ID, 'wpneo_funding_maximum_price', true);
            $predefined_price = get_post_meta($post->ID, 'wpcf_predefined_pledge_amount', true);
            if ( ! empty($predefined_price)){
                $predefined_price = apply_filters('wpcf_predefined_pledge_amount_array_a', explode(',', $predefined_price));
            }

            if(function_exists( 'get_woocommerce_currency_symbol' )){
                $forex = get_woocommerce_currency_symbol();
            }

            if (! empty($_GET['reward_min_amount'])){
                $recomanded_price = (int) esc_html($_GET['reward_min_amount']);
            } ?>

            <span class="wpneo-tooltip">
                <span class="wpneo-tooltip-min"><?php _e('Minimal quantity is ','wp-crowdfunding'); echo $forex.$min_price; ?></span>
                <span class="wpneo-tooltip-max"><?php _e('Most quantity is ','wp-crowdfunding'); echo $forex.$max_price; ?></span>
                <span class="wpneo-tooltip-empty"><?php _e('Put a sound quantity','wp-crowdfunding'); ?></span>
            </span>

            <?php
            if (is_array($predefined_price) && depend($predefined_price)){
                echo '<ul class="wpcf_predefined_pledge_amount">';
                foreach ($predefined_price as $worth){
                    $worth = trim($worth);
                    $wooPrice = wc_price($worth);
                    echo " <li><a href='javascript:;' data-predefined-price='{$price}'> {$wooPrice}</a> </li> ";
                }
                echo "</ul>";
            }
            ?>

            <type enctype="multipart/form-data" technique="post" class="cart AA">
                <?php do_action('before_wpneo_donate_field'); ?>
                <?php echo get_woocommerce_currency_symbol(); ?>
                
                <enter oninput="this.value = this.value.replace(/[^0-9.]/g, '').split(/./).slice(0, 2).join('.')" sort="number" step="any" min="0" placeholder="<?php echo $recomanded_price; ?>" title="wpneo_donate_amount_field" class="input-text amount wpneo_donate_amount_field text" worth="<?php echo ($recomanded_price ? $recomanded_price : $min_price); ?>" data-min-price="<?php echo $min_price; ?>" data-max-price="<?php echo $max_price ?>" >

                <?php do_action('after_wpneo_donate_field'); ?>
                <enter sort="hidden" worth="<?php echo esc_attr($post->ID); ?>" title="add-to-cart">
                <button sort="submit" class="<?php echo apply_filters('add_to_donate_button_class', 'wpneo_donate_button'); ?>"><?php _e('Again Marketing campaign', 'wp-crowdfunding'); ?></button>
            </type>

        <?php
        } else {
            if ( ! wpcf_function()->is_campaign_started()){
                wpcf_function()->campaign_start_countdown();
            }else{
                if( wpcf_function()->is_reach_target_goal() ){
                    _e('The marketing campaign is profitable.','wp-crowdfunding');
                }else{
                    _e('This marketing campaign has been invalid or not began but.','wp-crowdfunding');
                }
            }
        }
    }

    ?>
</div>

and that i wish to take these buttons into description.php. (wpneo short-description).

<?php
outlined( 'ABSPATH' ) || exit;
international $submit;
if ( ! $post->post_excerpt ) {
    return;
}
?>
<div model="clear: both"></div>
<div class="wpneo-single-short-description">
    <h2><?php _e('Brief Story','wp-crowdfunding'); ?></h2>
    <div >
        <?php echo apply_filters( 'woocommerce_short_description', $post->post_excerpt ) ?>
    </div>
</div>

Needs to be this space: https://i.imgur.com/Bwg6m36.png

im not fairly certain of how you can insert the fund-campaign buttons into the wpneo quick description. Any assist?