Title: Accidentally Tweaked Some Code &#8211; Need Old Code Back
Last modified: August 30, 2016

---

# Accidentally Tweaked Some Code – Need Old Code Back

 *  Resolved [eric2889](https://wordpress.org/support/users/eric2889/)
 * (@eric2889)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/accidentally-tweaked-some-code-need-old-code-back/)
 * I was trying to remove the dollar amounts from my cart page within the sub-total
   table and deleted the wrong portion of code. Is there a way for me to revert 
   back to the old code on:
 * /wp-admin/plugin-editor.php?file=woocommerce%2Fincludes%2Fwc-cart-functions.php&
   plugin=woocommerce%2Fincludes%2Fwc-cart-functions.php
 * Any help would be appreciated.
 * Thanks,
 * Eric
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 1 replies (of 1 total)

 *  [Stephan Griesel](https://wordpress.org/support/users/sgriesel/)
 * (@sgriesel)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/accidentally-tweaked-some-code-need-old-code-back/#post-6500644)
 * From what I can see you changed the wc-cart-functions.php correct? You can find
   the code on the Woo GitHub page:
    [https://github.com/woothemes/woocommerce/blob/master/includes/wc-cart-functions.php](https://github.com/woothemes/woocommerce/blob/master/includes/wc-cart-functions.php)

Viewing 1 replies (of 1 total)

The topic ‘Accidentally Tweaked Some Code – Need Old Code Back’ is closed to new
replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Stephan Griesel](https://wordpress.org/support/users/sgriesel/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/accidentally-tweaked-some-code-need-old-code-back/#post-6500644)
 * Status: resolved