Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    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.!

    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!

    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

    (@mycholan)

    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.!

    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.

    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.