Forum Replies Created

Viewing 6 replies - 46 through 51 (of 51 total)
  • Hi,

    If someone still needs help regarding the issue described in the subject:
    you can do that by using the template files.

    1. the template file you are looking for is add-to-card.php, you can find it in \wp-content\plugins\woocommerce\templates\loop
    2. in order to override a template you simply need to go in your current theme folder (my case: themename-child) and create a similar folder tree (in this case \woocommerce\loop) – exclude the templates folder from this tree!
    3. copy the template file and make your changes

    This is it – should work now. More info here:
    https://docs.woothemes.com/document/template-structure/

    This works for all template files, so you can safely use it to make further enhancements to your site.

    _______________________________________________________________________
    Source: I did that for my custom child-theme as I didn’t want to use localization. The settings should remain after the plugin & theme update – I didn’t check if the setting remain after the update because I worked with all the latest updates included.

    Glad to help.

    ?? please mark post as solved in order to close the thread

    have a nice day aslo

    Hi,

    I’ve encountered this problem as well – go in your blog’s dashboard > settings > permalinks and click “save changes” without modifying anything.

    You’ll just refresh the setting and normally should work. (This problem is also covered in this forum under different topics.)

    Thread Starter makapa

    (@makapa)

    Solved it. Forgot to add the filter in child’s function.php

    Thanks mybdbis for the help.

    Thread Starter makapa

    (@makapa)

    Hi,

    Still haven’t solved it.

    What I did (maybe I missed something)
    1. Did a child theme
    2. Made the template page (situated in the child theme folder)
    3. Made a functions file in the child theme folder with a function that has a simple if: if page template = mine then disable right sidebar

    The function I used is an edited copy of the function from the parent theme that removes the sidebars if the template is a full width page.

    Any help is appreciated. 10x

    Thread Starter makapa

    (@makapa)

    You’re right.

    I’ll put some hours tomorrow in it and make it work. I’ll comeback to mark the topic as resolved after I’ll solve it.

    Thanks

Viewing 6 replies - 46 through 51 (of 51 total)