i use Product input fields to add a field in my woocommerce product (add a attachment before buying). I want to disable it in one of my product, but i don’t find where can I do that ?
Thanks for the support
]]>I am using Product Input Fields module – Type: File.
I found a problem: Every uploaded file is broken. Size of each uploaded file is zero KB.
I have tried disabling wordfence, wp-rocket, uploading logged as admin but it have not worked for me.
Uploaded file is located in folder “input_fields_upload” but the size is 0 KB.
I would be grateful for any advice.
]]>Type: Text
Title: Your Machine ID
Placeholder: Enter your Machine ID here.
I want to validate length must be to 32 characters on it. How to do it?
https://digitalsigner.pulkitsoft.com/product/digital-signer-license/
https://digitalsigner.pulkitsoft.com/
Thanks in advance.
Ram
Pulkitsoft.
I installed PIF and added a “Notes” field globally, but when I add a note to the product and click “add to cart”, when I view the cart the note field is not added. I am using Elementor Pro btw. Let me know if I missed a config step or if there’s perhaps an incompatibility with Elementor.
Thanks,
Patrick
Looking at the data I want it is stored in the DB at woocommerce_order_itemmeta -> _alg_wc_pif_local ->
a:1:{i:0;a:33:{s:7:”enabled”;s:3:”yes”;s:4:”type”;s:8:”textarea”;s:8:”required”;s:2:”no”;s:5:”title”;s:25:”Special notes or comments”;s:11:”placeholder”;s:21:”Type your notes here.”;s:13:”default_value”;s:0:””;s:5:”class”;s:0:””;s:5:”style”;s:0:””;s:16:”required_message”;s:28:”Field “%title%” is required!”;s:22:”input_restrictions_min”;s:0:””;s:22:”input_restrictions_max”;s:0:””;s:23:”input_restrictions_step”;s:0:””;s:28:”input_restrictions_maxlength”;s:0:””;s:26:”input_restrictions_pattern”;s:0:””;s:17:”type_checkbox_yes”;s:3:”Yes”;s:16:”type_checkbox_no”;s:2:”No”;s:16:”type_file_accept”;s:15:”.jpg,.jpeg,.png”;s:24:”type_file_wrong_type_msg”;s:16:”Wrong file type!”;s:18:”type_file_max_size”;s:1:”0″;s:22:”type_file_max_size_msg”;s:16:”File is too big!”;s:22:”type_datepicker_format”;s:0:””;s:23:”type_datepicker_mindate”;s:4:”-365″;s:23:”type_datepicker_maxdate”;s:3:”365″;s:23:”type_datepicker_addyear”;s:2:”no”;s:25:”type_datepicker_yearrange”;s:9:”c-10:c+10″;s:24:”type_datepicker_firstday”;s:1:”0″;s:22:”type_timepicker_format”;s:7:”hh:mm p”;s:24:”type_timepicker_interval”;s:2:”15″;s:23:”type_color_allow_typing”;s:0:””;s:19:”type_select_options”;s:0:””;s:15:”_plugin_version”;s:5:”1.2.6″;s:9:”_field_nr”;i:1;s:6:”_value”;s:19:”Happy Birthday Oma!”;}}
The data from the customer’s input that I want to show in my product info is “Happy Birthday Oma!”
I had added some other data to my printout by using this code, but it did not work for this custom input field. Here is the code i tried in functions.php:
if( get_post_meta( $order->id, '_alg_wc_pif_global', true ) ) {
$new_fields['_alg_wc_pif_global'] = array(
'label' => 'Special Customer Note',
'value' => get_post_meta( $order->id, '_alg_wc_pif_global', true )
);
}
Please let me know the correct code to get the data from your input fields plugin.
]]>We use and like Booster for Woocommerce a lot.
Thanks for it!
When placing the order we ask or clients to fill out a field (a name) for all products they order.
This works fine.
Now we have a special case. Someone has put two names into this field field of one product.
So we have to modify this item’s Product Input Field (remove one of the names) and we need to add the same product to the order with the removed name in the Product Input Field.
How can this Input Field added or modified from the backend?
Please, we need a solution as soon as possible as it is a functioning site with an active order.
Thanks
Tamas
]]>I have a site with contains 200 products, so I set a global product input fields. But 4 of the 200 products don’t need the product input fields like this. So, I think if I can set something to exclude the 4 products.
]]>