• Resolved vietnamst2

    (@vietnamst2)


    Hello,

    I need an advice about woocommerce integration. I wanted to try what worked with other themes – use the page.php duplicatoin and adding <?php woocommerce_content(); ?> to it instead of <? if have posts…

    But the page.php is not there. I tried to place it into content-page.php but then it shows only unformated white page with woocommerce stuff but not the whole one. Iplaced it into entry.content.

    Any idea how to do it? Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    To do this, first create an empty file called woocommerce.php. In that file, copy the contents of content-page.php. Then add <?php get_header(); ?> to the top of the file and <?php get_footer(); ?> to the bottom of the file.

    Lastly, replace the_content() with woocommerce_content().

    Thread Starter vietnamst2

    (@vietnamst2)

    Great thanks, it′s working now. Just a simple thing…. it′s listing all products in very narrow div only one on line… like

    1
    2
    3
    4

    instead 1 2 3 4

    how can this be fixed? any idea?

    Theme Author Ben Sibley

    (@bensibley)

    This sounds like a styling issue that can be corrected with CSS. Tracks doesn’t have any specific integration with WooCommerce, so I can’t promise that all of the features of WooCommerce will look nice out-of-box.

    Thread Starter vietnamst2

    (@vietnamst2)

    Okay everything works now as intended. Just a bit of playing with style.min.css file and everything looks as I wanted to. Thanks a lot for your help.

    Theme Author Ben Sibley

    (@bensibley)

    Yea no problem ??

    Make sure to put your changes into a child theme, rather than just editing the style.min.css file. Otherwise, you will lose your updates when updating to newer versions of Tracks.

    HI,

    I’m just running into this problem myself, and have the same issues of the products stacking down the side of the page. vietnamst2, how did you go about fixing this? Can you provide more detail please?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce integration’ is closed to new replies.