• Resolved KarlEngstrom

    (@karlengstrom)


    Hi Folks-

    In the 1.x version I used to edit jigoshop_template_actions.php to work with the theme.
    I’d change the following:
    add_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar', 10);
    to
    remove_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar', 10); to remove_action( 'jigoshop_sidebar', 'jigoshop_get_sidebar', 10);

    Can this be accomplished in 2.x??
    I’d hate to have to change & customize themes to get this.

    The site is https://www.hagstornadobait.com/

    Thanks for any help possible…
    Karl

Viewing 3 replies - 1 through 3 (of 3 total)
  • So you just basically don’t want the sidebar, then?
    You can turn it off in Jigoshop -> Settings -> Layout Manager ??

    Thread Starter KarlEngstrom

    (@karlengstrom)

    Hi Marcin. I actually do want a sidebar but it’s handled by the theme, Atahualpa. Right now the issue is that the sidebar is placed under the products as seen here, https://www.hagstornadobait.com/store/. Compared to here https://www.hagstornadobait.com/retailers/.

    I’ll play with the settings in JS and Atahualpa more today, but it was resolved in the past with the remove_action as noted.

    Thanks
    Karl

    Sorry for the late reply – have you managed to get this issue resolved on your own?

    If not – there is no current action attached to the ‘jigoshop\template\sidebar’ hook, you can use this one to execute the action that is required.

    As per removing the current sidebar – in your theme’s root directory create a “jigoshop” catalog – in it create a “layout” catalog and there create a file called “default.php” – it’s contents would look similar to this without line 17 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Addressing hooks’ is closed to new replies.