WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Deleted woocommerce.php (5 posts)

  1. maxthornton
    Member
    Posted 1 year ago #

    I have deleted the contents of the woocommerce.php by accident, now all shopping cart functionality have gone from my site.

    Is there a fix for this, could i simply re-install the plugin? Or would i loose all of the products?

    Or should i ask my hosting to install a backup of the site?

    Thanks,
    Max

    http://wordpress.org/extend/plugins/woocommerce/

  2. babbsela
    Member
    Posted 1 year ago #

    It would be quicker and easier to just reinstall.

  3. maxthornton
    Member
    Posted 1 year ago #

    The problem still persists after re-installing a back up..

    How can we re-create the woocommerce.php? Or if we re-installed the plugin would we loose all products and data?

    Thanks,
    Max

  4. Rajesh Soni
    Member
    Posted 1 year ago #

    Max,

    Follow these steps. (Assuming you have the latest version of this plugin installed).

    1) Try downloading the plugin from the wordpress repository (http://wordpress.org/extend/plugins/woocommerce/)
    2) Extract it to a folder on your machine (not your server)
    3) Upload just the missing file to your server.

    Hope that helps.

    Rajesh

  5. aibrean
    Member
    Posted 1 year ago #

    If it was in your theme directory, just copy the page.php and rename it woocommerce.php and follow the instructions on theme compatibility in the Woocommerce documentation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.