Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #212425

    See this image: http://img42.com/F2IvZ

    Which php page and section assembles the content seem on the image?
    The product and tabs.

    I can’t find it.
    Thanks!!!!

    #212428

    Hi jdrijver!

    Please go to wp-content\plugins\woocommerce\templates\single-product\tabs folder and you will find related files inside it

    Cheers!
    Yigit

    #212445

    Thanks!!!!
    Is there a way to modify that page a bit so i can copy it and access it directly? So i can view the product and its details alone?

    #212653

    Hi!

    Yes and no. WooCommerce is what builds all of the store, products, checkout etc. The theme really only styles the plugins output.

    The single product page has a few extra wrappers and things added to it with code in the config-woocommerce/config.php file but WooCommerce also supports using template files: http://docs.woothemes.com/document/template-structure/

    There isn’t an individual page for each product however so if you were thinking of modifying individual product pages that is not really doable.

    Regards,
    Devin

    #212791

    Thanks for you reply!
    I wasn’t planning on modifying individual product pages, i would like to copy the code that loads/shows a individual product:
    – picture
    – description
    – tabs
    and use this code in a plug-in (events-calendar-pro), as this plug-in doesn’t show the product as nice as this theme does.

    Do you think this is doable?

    #212949

    You’ll need to look in the config.php file in that case. There are individual wrappers for the different sections that you could use to wrap the events calendar template elements as needed.

    #213436

    Great!
    I see many config.php files.
    Could you specify a folder?
    Thanks!

    #213437

    I may be asking to much, but could you maybe please also specify a section / row number or something?

    #213972

    All of the code is in the config-woocommerce/config.php .

    Its the entire file which styles and adds the wrappers needed for WooCommerce pages but there is inline commenting throughout for what is adding content to where. Specifically starting at line 485 the main wrappers start getting added in.

    Thinking about it again, you could also view the source of a single product page and get the class names and html structure from that and then use it as a model to create your own template without as much of the dynamic configuration the single product pages use.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Which page is responsible for the product section?’ is closed to new replies.