Saravana Kumar K
Forum Replies Created
-
Forum: Plugins
In reply to: [WC Fields Factory] Issues on fields requiredHi, the fix is available with Version 2.0.3, please update.
Forum: Plugins
In reply to: [WC Fields Factory] Escape Characters In Custom FieldsHi, are you using the latest version, because it has been fixed since Version 2.0.0
Forum: Plugins
In reply to: [WC Fields Factory] Update errorHi, the fix is available with Version 2.0.3, please update.
Forum: Plugins
In reply to: [WC Fields Factory] How to target only one variationThat is something I am working on, it will be available on the next release.
Forum: Plugins
In reply to: [WC Fields Factory] Fields no longer editableCreate a Page in your Back end Admin, name of the page should be
Migrate.Create a
.phpfile in your active theme directory, name of the file should bepage-migrate.phpplace the below snippet on that file.
/* Fetching all the fields factory admin post */ $posts = get_posts(array('post_type'=>'wccaf', 'posts_per_page'=>-1)); if( count( $posts ) > 0 ) { /* Go through each post */ foreach( $posts as $post ) { setup_postdata( $post ); $_pid = absint( $post->ID ); /* Fetch all fields from a post */ $meta = get_post_meta( $_pid); /* Iterate through each field */ foreach ( $meta as $key => $val ) { if ( preg_match( '/"wccaf_"/', $key ) ) { if ( $key != 'wccaf_condition_rules' && $key != 'wccaf_location_rules' && $key != 'wccaf_group_rules' && $key != 'wccaf_pricing_rules' && $key != 'wccaf_fee_rules' && $key != 'wccaf_sub_fields_group_rules' ) { /* Decoade the meta of a single field */ $field = json_decode( $val[0], true ); if ($field && isset($field["show_as_read_only"])) { /* Update the read only proprty */ $field["show_as_read_only"] = "no"; /* Update the meta */ update_post_meta( $_pid, $key, wp_slash( json_encode( $field ) ) ); echo '<p>'. $key .' updated successfully.</p><br/>'; } } } } } }Now from the browser call that page
http://your-site-url.com/migrateThat call will execute the snippet on the
page-migrate.php, once done delete that file from your active theme directory.Check your admin fields whether the fields are updated.
Caution: I haven’t tested the snippet, though it doesn’t contain anything that can corrupt your fields.
- This reply was modified 8 years, 5 months ago by Saravana Kumar K.
Forum: Plugins
In reply to: [WC Fields Factory] Fields no longer editableNo problem, I will post a snippet for the bulk update shortly.
Forum: Plugins
In reply to: [WC Fields Factory] Not WorkingAs I have mentioned here, wherever this action
woocommerce_before_add_to_cart_buttontriggered the fields will be inserted there.make sure your designer template has this action triggered. also the add to cart option should be form submission not through ajax (Ajax won’t be supported, at least for now).
I will be releasing
shortcodesupport soon.- This reply was modified 8 years, 5 months ago by Saravana Kumar K.
Forum: Plugins
In reply to: [WC Fields Factory] product field inputs not going into orders recordHi, is this still the case after the Version 2.0.2 .?
Forum: Plugins
In reply to: [WC Fields Factory] Increase Product Number on Multiple UploadsYou mean the product quantity should be updated based on the file uploaded count.?
Forum: Plugins
In reply to: [WC Fields Factory] Not WorkingOk no problem,
Please remove all the Product Fields Group Posts as well as Admin Fields Group Post (if you have any) (Your previous order won’t get affect).
Update the plugin to latest Version 2.0.1, now try to setup the fields again.
Forum: Plugins
In reply to: [WC Fields Factory] Not WorkingCould be version conflicts (php, wp & wc), could you post those respective versions (both localhost as well as server)
Forum: Plugins
In reply to: [WC Fields Factory] Not WorkingPlease refer this.
Forum: Plugins
In reply to: [WC Fields Factory] Datepicker no longer workingHi the fix is released with V 2.0.2, please update.
Forum: Plugins
In reply to: [WC Fields Factory] Datepicker no longer workingI added a feature, using which you can change the product price based on the fields value. For that feature I need to parse the date, but the existing jQuery UI date format won’t work, so I changed to PHP based dateformat.
Even if you set the date format as php based, when injecting date picker on product page the we internally convert them to jQuery ui compatible.
Anyway sorry for the inconvenience, it still have some hiccups, I will test it with more versions and will release an update.
- This reply was modified 8 years, 5 months ago by Saravana Kumar K.
Forum: Plugins
In reply to: [WC Fields Factory] Not working with V2.0.1Hi, sorry for that incovenience.
Go to your single product screen and press the Add To Cart button after that open the browser’s developer console (ctrl + shift + i) and see if there any JavaScript error has been logged.