Support » Plugin: Payment Gateway Based Fees and Discounts for WooCommerce » Product Discount display in Front page

  • We are Using your plugin Free version.
    It is now only single product page.I want to get it in the front page (Shop Page).
    Is it can with your plugin?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @shoppingexpress,

    I’m sorry for a late response, do you still having issues? Can you explain a little more details what exactly you need?

    Best regards,
    Support Team

    Hi @shoppingexpress,

    Sorry for not replying earlier. We will add this option in next plugin version, meanwhile, you can add it with some PHP code. You need to add this to your (child) theme’s functions.php file:

    add_action( 'woocommerce_after_shop_loop_item', 'alg_add_checkout_fees_info', 10 );
    if ( ! function_exists( 'alg_add_checkout_fees_info' ) ) {
    	function alg_add_checkout_fees_info() {
    		echo do_shortcode( '[alg_show_checkout_fees_lowest_price_info]' );

    If you need full fees info, instead of lowest fee only, you need to replace

    echo do_shortcode( '[alg_show_checkout_fees_lowest_price_info]' );


    echo do_shortcode( '[alg_show_checkout_fees_full_info]' );

    You can also try different priority (instead of 10) and positions (instead of woocommerce_after_shop_loop_item) to move the info. Here are some more possible positions:

    • woocommerce_before_shop_loop_item
    • woocommerce_before_shop_loop_item_title
    • woocommerce_shop_loop_item_title
    • woocommerce_after_shop_loop_item_title

    Hope that helps.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Discount display in Front page’ is closed to new replies.