Title: Editing item, values lost from fields.
Last modified: August 30, 2016

---

# Editing item, values lost from fields.

 *  [austenozzy](https://wordpress.org/support/users/austenozzy/)
 * (@austenozzy)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/)
 * Hi there,
 * It’s a great plugin, but I have one question:
 * When a product is added to the cart, the user can go back to the product page
   to edit the item. If they do that, the additional fields added by this plugin
   are empty.
 * Is there anything I can do to fix this?
 * thanks
 * Austen
 * [https://wordpress.org/plugins/wc-fields-factory/](https://wordpress.org/plugins/wc-fields-factory/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396709)
 * Hi, thats not possible with this plugin, though I am working on updating custom
   fields value on Cart page which will be available with my next release.!
 *  [deeveedee](https://wordpress.org/support/users/deeveedee/)
 * (@deeveedee)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396790)
 * Thanks again for this great plugin! As of version 1.2.4, I do not believe that
   the WC Fields Factory plugin supports austenozzy’s suggestion to be able to edit
   customized items after they are added to the cart. If it does support this capability,
   please let us know. If it does not, do you have plans to add the ability to edit
   customized items after they are added to the cart? Thank you!
 *  [deeveedee](https://wordpress.org/support/users/deeveedee/)
 * (@deeveedee)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396791)
 * I am now able to return to the product page from the cart with WC Factory Fields
   additional options. Here are some of the steps to accomplish this to give the
   basic idea:
    - Create your own single product page (My product requires a custom product 
      page to customize the product)
    - Override the product name hyperlink in the shopping cart to direct user to
      custom product page using add_filter( ‘woocommerce_cart_item_name’…
    - Override the product thumbnail hyperlink in the shopping cart to direct the
      user to the custom product page using add_filter( ‘woocommerce_cart_item_thumbnail’…
    - pass WC Factory Fields options to the product page using $cart_item[‘wccpf_slug’],
      where slug is the WC Fields Factory slug for each WC Fields Factory option
    - Use <?php $_GET…?> in custom product page to retrieve WC Fields factory options
      passed from the cart
 * There are probably better ways to do this, but this method works great. User 
   can then modify product, add it to the cart and delete the original product from
   the cart if necessary.
 * Thanks for a great plug-in. Nice work!
 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396793)
 * Hi deeveedee, thanks for that solution, it does works, but one problem. If customer
   chose `Fields Cloning` option, that’s going to be a problem.
 * because `Fields Cloning` is something we are doing it purely on Client side using
   JS. Actually that’s the main problem which I am facing right now.
 * I would probably end up updating `inject_wccpf()` function.
 * Also the `Editing Custom Fields` on Cart page, that option also in progress. 
   but I doubt I could made it to my Next Release.!
 *  [deeveedee](https://wordpress.org/support/users/deeveedee/)
 * (@deeveedee)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396794)
 * Hi, Saravana Kumar K,
 * Thanks for your quick reply. I have confirmed that my technique does not work
   properly when ‘Fields Cloning’ is enabled. It appears to me that ‘Fields Cloning’
   must be enabled to allow updating item quantities in the cart – is that correct?
   My observation is that, without ‘Fields Cloning’ enabled, updating an item quantity
   in the cart results in the addition of a new item in the cart.
 * Thank you very much for your help, your excellent support and for your great 
   plugin.
 *  [deeveedee](https://wordpress.org/support/users/deeveedee/)
 * (@deeveedee)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396795)
 * Saravana Kumar K,
    After further testing, it appears to me that I do not need‘
   Fields Cloning’ enabled. Could you please explain when ‘Fields Cloning’ needs
   to be enabled? My configuration details are as follows:
    - All of my WooCommerce products are ‘Simple Products’ with custom fields defined
      in WC Fields Factory
    - WC Fields Factory ‘Fields Cloning’ is unchecked (disabled)
    - In WooCommerce Settings, ‘Redirect to cart after successful addition’ is checked(
      enabled)
    - I am using my own ‘Add to Cart’ button with the ‘add_to_cart’ URL to add my
      Simple Products with WC Fields Factory custom fields to the cart
 *  -  Thank you again for your help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Editing item, values lost from fields.’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [deeveedee](https://wordpress.org/support/users/deeveedee/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/editing-item-values-lost-from-fields/#post-6396795)
 * Status: not resolved