• Resolved syehino

    (@syehino)


    Hi, I’m a student who is taking information system development for the first time. I have super basic knowledge of HTML and PHP . I’ve chosen to create a online shopping shop using woocommerce plugin as the base of the system.

    Currently, I’m trying to understand the basic of how the site work. I know that the pages in woocommerce uses php to display the pages. But I do not understand the structure of the system .

    Currently I’m trying to figure out how the “Shop” page is displayed and the php involved in order to add items to cart.

    Sorry for the long text and my ignorance but I’m looking for any guidance to help me.
    Thank you.

Viewing 1 replies (of 1 total)
  • Hi,

    It sounds like https://codex.wordpress.org/Writing_a_Plugin might be a good place to start, to learn the structure of WordPress plugins, such as WooCommerce. https://developer.wordpress.org/plugins/hooks/ also explains how hooks and filters are used, which WooCommerce uses to hook into various parts of WordPress.

    Considering the complexity of the WooCommerce plugin, it may be hard for us to point out specific areas for each functionality. For example, some code related to the cart may be broken up into multiple different files.

    However, you can take a look around the GitHub repository for the plugin, to learn how things work: https://github.com/woocommerce/woocommerce. You can also use the search there to search for things like “add to cart” or “shop page” and related code should be brought up.

    Best,
    Justin

Viewing 1 replies (of 1 total)
  • The topic ‘Where is the location of php pages in woocommerce’ is closed to new replies.