WordPress.org

Forums

Easy Pricing Tables Lite by Fatcat Apps
[resolved] Pricing Row Rearrangement (3 posts)

  1. JustBlog
    Member
    Posted 1 year ago #

    Hi,

    May I know if it is possible for me to rearrange the pricing row to before the Buy Button instead of staying at the top?

    Thanks!

    https://wordpress.org/plugins/easy-pricing-tables/

  2. davidhme
    Member
    Plugin Author

    Posted 1 year ago #

    Hey there,

    That's not really possible at the moment.

    You could theoretically edit line 133
    of /includes/table-generation/design1.php

    from

    $pricing_table_html .= '
    		<div class="ptp-col ' . dh_ptp_get_number_of_columns() . ' '. $feature . ' ptp-col-id-' . $loop_index . '">' .
                $feature_label .
                '<div class="ptp-item-container">' .
    				'<div class="ptp-plan">' . $plan_name . '</div> ' .
    		  		'<div class="ptp-price">' . $plan_price . '</div>' .
                        dh_ptp_features_to_html_simple_flat($plan_features, dh_ptp_get_max_number_of_features()) .
    	  			'<div class="ptp-cta">'.
                        (($custom_button)?$custom_button:'<a class="ptp-button" href="' . $button_url . '">' . $button_text . '</a>') .
    	  			'</div>' .
    			'</div>' .
    		'</div>';

    to something like

    $pricing_table_html .= '
    		<div class="ptp-col ' . dh_ptp_get_number_of_columns() . ' '. $feature . ' ptp-col-id-' . $loop_index . '">' .
                $feature_label .
                '<div class="ptp-item-container">' .
    				'<div class="ptp-plan">' . $plan_name . '</div> ' .
                        dh_ptp_features_to_html_simple_flat($plan_features, dh_ptp_get_max_number_of_features()) .
    '<div class="ptp-price">' . $plan_price . '</div>' .
    	  			'<div class="ptp-cta">'.
                        (($custom_button)?$custom_button:'<a class="ptp-button" href="' . $button_url . '">' . $button_text . '</a>') .
    	  			'</div>' .
    			'</div>' .
    		'</div>';
  3. davidhme
    Member
    Plugin Author

    Posted 1 year ago #

    Marked as resolved due to inactivity. Please reply if you want to re-open this ticket.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Pricing Tables Lite by Fatcat Apps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags