Saravana Kumar K
Forum Replies Created
-
Forum: Plugins
In reply to: [WC Fields Factory] Not compatible with WooCommerce 2.5.0?Hi, V1.2.5 has been released, it comes with more features also it has been tested with latest woocommerce ( upto 2.5.2 ), please update your version.
Forum: Plugins
In reply to: [WC Fields Factory] datepicker problemHI, the fix has been released with V1.2.5, please update yours.
Forum: Plugins
In reply to: [WC Fields Factory] Hide custom fields in Order Details summaryHi, it’s been included in V1.2.5
Forum: Plugins
In reply to: [WC Fields Factory] Multiple File UploadMultiple file upload option has been included with V1.2.5 please update.
Note : by default it would be in disabled state, you will have to enable it through WCFF back end.
Forum: Plugins
In reply to: [WC Fields Factory] Is wccpf_delivery_date a reserved variable?Hi @deeveedee, You have already given a great feedback about this plugin, also please post your suggetion as well, I mean if you feel any additional options that should be included on this plugin, please post.
Ex. I am trying to included some options with my upcoming release.
1. Client Side Validation.
2. Error message for each fields ( would display on bottom of each field ).
3. Custom Fields for back end as well ( on Product Data tabs, like you can add extra fields on general, inventory, shipping, variables, attributes tabs too )these above feature will be included on my next release, will be available within two days, I hope.
( Your request for Order Item Meta visibility also included )
I got few other ideas as well for my future releases, like Custom Pricing ( change total based on selected values ) and Conditional Fields.
Please add your suggestions as well and any other guys here have thoughts please go ahead and fill it here.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Required Fields@michaelcunning thanks for referring that plugin, I didn’t know it exist. also it would be a good value add on if I add that custom pricing option as well with WC Fields Factory.
It seems more obvious, I am receiving more comments, and request for custom pricing.
I think I will include that feature as well. let’s see.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Is wccpf_delivery_date a reserved variable?Hey, no problem.
Thank you.
Forum: Plugins
In reply to: [WC Fields Factory] Using Fields in CSV Order ExportHi, you are almost there. you could use
wc_get_order_item_meta()function to get any order items’s meta. Do some thing like thisFeel free to modify as you need.
function wc_csv_export_modify_column_headers( $column_headers ) { $new_headers = array( 'order_item_meta' => 'Order Item Meta' ); return array_merge( $column_headers, $new_headers ); } add_filter( 'wc_customer_order_csv_export_order_headers', 'wc_csv_export_modify_column_headers' ); // set the data for each for custom columns function wc_csv_export_modify_row_data( $order_data, $order ) { $item_metas = array(); $order = new WC_Order( $order->id ); $items = $order->get_items(); foreach ( $items as $item ) { $item_metas[] = wc_get_order_item_meta( $item_id, "your_wccpf_fields_name" ); } $custom_data = array( 'order_item_meta' => get_post_meta( $order->id, 'Item Meta', implode( "; ", $item_metas ) ) ); return array_merge( $order_data, $custom_data ); } add_filter( 'wc_customer_order_csv_export_order_row', 'wc_csv_export_modify_row_data', 10, 2 );Forum: Plugins
In reply to: [WC Fields Factory] Using Fields in CSV Order ExportHi, could you tell me which exporter plugin you are using.? so that I can examine and if possible I will give the patch update for that plugin so that it includes Order Item Meta as well.
Forum: Plugins
In reply to: [WC Fields Factory] Is wccpf_delivery_date a reserved variable?Hi @deeveedee, No it’s not a reserved variable, what was the error message anyway.?
Forum: Plugins
In reply to: [WC Fields Factory] Required FieldsHi michaelcunning & websperations,we have a fix for this issue with the up coming release ( within two days ).
Forum: Plugins
In reply to: [WC Fields Factory] Multiple File UploadYes, probably middle of this week ( It’s in the testing phase ). multiple file upload option also implemented.
Hi jamesgallagher, Thanks for pointing out and for the fix too.
It will be updated with my next release.
Regards
SarkForum: Plugins
In reply to: [WC Fields Factory] Editing item, values lost from fields.Hi deeveedee, thanks for that solution, it does works, but one problem. If customer chose
Fields Cloningoption, that’s going to be a problem.because
Fields Cloningis 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 Fieldson Cart page, that option also in progress. but I doubt I could made it to my Next Release.!Forum: Plugins
In reply to: [WC Fields Factory] Change price based on customer choicesHi
You could use
woocommerce_before_calculate_totalshook for this purpose, you can put something like this in yourfunctions.phpfunction calculate_cart_total( $cart_object ) { /* additional price that has to be added */ $additionalPrice = 100; foreach ( $cart_object->cart_contents as $key => $value ) { /* Check for the value ( or it could be any condition logic ) */ if( $value['wccpf_your_fields_name'] == "your expected value" ) { //change the price $quantity = floatval( $value['quantity'] ); $orgPrice = floatval( $value['data']->price ); $value['data']->price = ( ( $orgPrice * $quantity ) + $additionalPrice ); } } } add_action( 'woocommerce_before_calculate_totals', 'calculate_cart_total' );