• Resolved Warren

    (@rabbitwordpress)


    Hi Dima,

    This is another fantastic plugin of yours, nice work!

    Is it possible to move the berocket_lgv_widget block down a few places in woocommerce_before_shop_loop ?

    I tried adding this to hooks :
    remove_action ( ‘woocommerce_before_shop_loop’, ‘show_buttons_fix’), 3 );
    add_action ( ‘woocommerce_before_shop_loop’, ‘show_buttons_fix’), 10 );

    I then tried creating a folder to rewrite the template: /theme/woocommerce-list-grid/woocommerce-list-grid.php an copied woocommerce-list-grid-view.php and changed line 151 from 3 to 10 but this did not work.

    Is this level of customization only available with the Premium version of the plugin, if so I will go ahead and purchase it right away.

    Any suggestions that might help would be greatly appreciated.

    Thanks in advance
    Kind regards
    Warren

    • This topic was modified 7 years, 5 months ago by Warren.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hi @rabbitwordpress,

    You need send also class to functions

    remove_action ( 'woocommerce_before_shop_loop', array(BeRocket_LGV, 'show_buttons_fix'), 3 );
    remove_action ( 'woocommerce_before_shop_loop', array(BeRocket_LGV, 'show_buttons_fix'), 10 );

    Regards,
    Oleg

    Thread Starter Warren

    (@rabbitwordpress)

    Hi Oleg,

    Thanks for you quick response!

    I just tried adding those lines to inc/woocommerce/hooks.php but it did not work unfortunately.

    Does this also need to be done in conjunction with any other changes to the theme, such as adding an additional template or something?

    Kind regards
    Warren

    Plugin Author RazyRx

    (@razyrx)

    Hi @rabbitwordpress,

    Did you trying to set in plugin settings “Buttons display” as “Under order by menu”?

    Regards,
    Oleg

    Thread Starter Warren

    (@rabbitwordpress)

    Hi Oleg,

    Thanks again for the quick response, its much appreciated!

    I just tried changing the Buttons display options and the remove_action still didin’t I’m afraid. However I’ve since found a work around so don’t worry.

    Thanks again Oleg, keep up the great work and have a fantastic day!

    Kind regards
    Warren

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move berocket_lgv_widget block’ is closed to new replies.