Repository Forums Support WooCommerce Pricing Rules PRO Two Things I Need Help With Reply To: Two Things I Need Help With

#1797
Soft79
Keymaster

Hi, on that page the headings “Qty” and “Price” already seem to be left-aligned. If it doesn’t show right on your browser, append this css: .soft79-wc-pricing-rules th {text-align: left;}

Moving the pricing table below the short description can be done by placing this snippet in your child theme‘s functions.php:

add_action( 'init', function() {
  if ( class_exists( 'SOFT79_WC_Pricing_Rules_Plugin' ) ) {
    remove_action('woocommerce_single_product_summary',  array( SOFT79_WC_Pricing_Rules_Plugin::instance(), 'action_woocommerce_single_product_summary'), 11 );
    add_action('woocommerce_single_product_summary',  array( SOFT79_WC_Pricing_Rules_Plugin::instance(), 'action_woocommerce_single_product_summary'), 20 );
  }
}, 90 );