• After selecting which fields to export, if I click on Save Settings, it acts like it is doing something.
    The next time I go to export orders, none of the settings are saved. Doesn’t seem like that is what was intended.

    BTW. Love that you have the option to export First Name and Last Name as one field. Wish you had an option to have City, State, Zip as one field.

    Finally, this is the best export plugin I have found and I have tried at least four.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi

    thank you for the feedback.

    ok, I’ll add field “City, State, Zip” in next update.
    If you need it now – I can provide custom code.

    But I have to know exact error message.

    Could you press “Save Settings” and check javascript errors?
    Learn more

    Do you have access to webserver logs? Probably via ftp or cpanel ?

    thanks, Alex

    • This reply was modified 7 years, 1 month ago by algol.plus.
    Plugin Author algol.plus

    (@algolplus)

    Following code adds 2 new fields

    // add field  "City State Zip"
    add_filter('woe_get_order_fields', function ($fields) {
    	$fields['billing_citystatezip'] = array( 'label' => 'City, State, Zip (Billing)', 'colname' => 'City, State, Zip (Billing)', 'checked' => 1 );
    	$fields['shipping_citystatezip'] = array( 'label' => 'City, State, Zip (Shipping)', 'colname' => 'City, State, Zip (Shipping)', 'checked' => 1 );
    	return $fields;
    });
    // calculate  new field
    add_filter('woe_get_order_value_billing_citystatezip', function ($value,$order, $field) {
    	$texts = array_filter( array(
    		$order->get_billing_city(),
    		$order->get_billing_state(),
    		$order->get_billing_postcode(),
    	));	
    	return join( ", ", $texts);
    }, 10, 3);
    // calculate  new field
    add_filter('woe_get_order_value_shipping_citystatezip', function ($value,$order, $field) {
    	$texts = array_filter( array(
    		$order->get_shipping_city(),
    		$order->get_shipping_state(),
    		$order->get_shipping_postcode(),
    	));	
    	return join( ", ", $texts);
    }, 10, 3);
    Plugin Author algol.plus

    (@algolplus)

    Hi

    Could you try to update the plugin ?

    Code for button “Save Settings” was modified a bit.
    thanks, Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Save Settings does not work’ is closed to new replies.