Hi, have you done any customization ( JS level ), because the Cloning option works based on quanity field value change, but it seems some how you have managed to trigger that for one of your variable attribute pa_quantity select box. but in the back end, the cloning fields are parsed based on the quantity field value ( which is still 1 in this case ) thats why it’s not working for you.
I did, I should have mentioned that, I had to since we are using the subscriptions addon and there is no quantity field.
Can you tell me where to look so I can get them saving? I would really appreciate it. Before your plugin I had to just add a text area on the checkout page. It has been very confusing to customers and I think cost my clients quite a few sales.
Thanks!
Oh man that needs some quite modification ( not a complicated one though )
Target file is WC Fields Factory/classes/product_form.php
LN : 449
Comment it out that lline and add this instead
$pcount = intval( $_REQUEST["attribute_pa_quantity"] );
LN : 584
Comment it out that lline and add this instead
$pcount = intval( $cart_item["attribute_pa_quantity"] );
LN : 716
Comment it out that lline and add this instead
$pcount = intval( $cart_item["attribute_pa_quantity"] );
LN : 857
Comment it out that lline and add this instead
$pcount = intval( $values["attribute_pa_quantity"] );
I actually it would be a good idea to trigger a filter for this cloning quantity I think. I will try to include it in my upcoming release.
Regards
Sark
Thank you so much for your response!
For some reason it still isn’t recording. I replaced everything with what you provided and now it doesn’t list any in the checkout. I even tried replacing all instances of [“quantity”] with [“attribute_pa_quantity”] but that didn’t help either.
I really appreciate all your help with this, and adding that trigger to your next release is an amazing idea.
after customer buy the product I cant see the informations he put in the field. I have created a field for “name customized” required
How do i fix it?