Forum Replies Created

Viewing 15 replies - 1 through 15 (of 60 total)
  • Thread Starter Sam

    (@forbiddenchunk)

    Hi @algolplus,

    I’ve tried multiple times to use the ticket system but the recaptcha always fails despite me only adding text in the fields.

    This is why I have to upload my issues here 🙁

    {
        "now": {
            "version": "2.0",
            "mode": "now",
            "title": "",
            "skip_empty_file": true,
            "log_results": false,
            "from_status": [],
            "to_status": [],
            "change_order_status_to": "",
            "statuses": [
                "wc-pending",
                "wc-processing",
                "wc-on-hold",
                "wc-completed"
            ],
            "from_date": "",
            "to_date": "",
            "sub_start_from_date": "",
            "sub_start_to_date": "",
            "sub_end_from_date": "",
            "sub_end_to_date": "",
            "sub_next_paym_from_date": "",
            "sub_next_paym_to_date": "",
            "from_order_id": "",
            "to_order_id": "",
            "shipping_locations": [],
            "shipping_methods": [],
            "item_names": [],
            "item_metadata": [],
            "user_roles": [],
            "user_names": [],
            "user_custom_fields": [],
            "billing_locations": [],
            "payment_methods": [],
            "any_coupon_used": "0",
            "coupons": [],
            "order_custom_fields": [
                "_orddd_timestamp = {tomorrow}"
            ],
            "product_categories": [],
            "product_vendors": [],
            "products": [],
            "product_sku": "",
            "exclude_products": [],
            "product_taxonomies": [],
            "product_custom_fields": [],
            "product_attributes": [],
            "product_itemmeta": [],
            "format": "XLS",
            "format_xls_use_xls_format": "0",
            "format_xls_sheet_name": "Orders",
            "format_xls_display_column_names": "1",
            "format_xls_auto_width": "1",
            "format_xls_direction_rtl": "0",
            "format_xls_force_general_format": "0",
            "format_xls_row_images_width": "50",
            "format_xls_row_images_height": "50",
            "format_csv_enclosure": "\"",
            "format_csv_delimiter": ",",
            "format_csv_linebreak": "\\r\\n",
            "format_csv_display_column_names": "1",
            "format_csv_add_utf8_bom": "0",
            "format_csv_item_rows_start_from_new_line": "0",
            "format_csv_encoding": "UTF-8",
            "format_csv_delete_linebreaks": "0",
            "format_csv_force_quotes": "0",
            "format_tsv_linebreak": "\\r\\n",
            "format_tsv_display_column_names": "1",
            "format_tsv_add_utf8_bom": "0",
            "format_tsv_item_rows_start_from_new_line": "0",
            "format_tsv_encoding": "UTF-8",
            "format_xml_root_tag": "Orders",
            "format_xml_order_tag": "Order",
            "format_xml_product_tag": "Product",
            "format_xml_coupon_tag": "Coupon",
            "format_xml_prepend_raw_xml": "",
            "format_xml_append_raw_xml": "",
            "format_xml_self_closing_tags": "1",
            "format_xml_preview_format": "0",
            "format_json_start_tag": "[",
            "format_json_end_tag": "]",
            "format_json_unescaped_slashes": 0,
            "format_json_numeric_check": 0,
            "format_json_encode_unicode": 0,
            "format_pdf_display_column_names": "1",
            "format_pdf_repeat_header": "1",
            "format_pdf_direction_rtl": 0,
            "format_pdf_orientation": "L",
            "format_pdf_page_size": "A4",
            "format_pdf_font_size": "8",
            "format_pdf_header_text": "",
            "format_pdf_footer_text": "",
            "format_pdf_pagination": "C",
            "format_pdf_fit_page_width": "0",
            "format_pdf_cols_width": "25",
            "format_pdf_cols_align": "L",
            "format_pdf_cols_vertical_align": "T",
            "format_pdf_page_header_text_color": "#000000",
            "format_pdf_page_footer_text_color": "#000000",
            "format_pdf_table_header_text_color": "#000000",
            "format_pdf_table_header_background_color": "#FFFFFF",
            "format_pdf_table_row_text_color": "#000000",
            "format_pdf_table_row_background_color": "#FFFFFF",
            "format_pdf_logo_source_id": "0",
            "format_pdf_logo_source": "",
            "format_pdf_logo_width": "0",
            "format_pdf_logo_height": "15",
            "format_pdf_logo_align": "R",
            "format_pdf_row_images_width": "15",
            "format_pdf_row_images_height": "15",
            "format_pdf_row_images_add_link": "0",
            "format_pdf_row_dont_page_break_order_lines": "0",
            "format_html_display_column_names": "1",
            "format_html_repeat_header_last_line": "0",
            "format_html_font_size": "13",
            "format_html_header_text": "",
            "format_html_footer_text": "",
            "format_html_cols_align": "L",
            "format_html_header_text_color": "#000000",
            "format_html_footer_text_color": "#000000",
            "format_html_table_header_text_color": "#000000",
            "format_html_table_header_background_color": "#FFFFFF",
            "format_html_table_row_text_color": "#000000",
            "format_html_table_row_background_color": "#FFFFFF",
            "format_html_row_images_width": "100",
            "format_html_row_images_height": "100",
            "format_html_images_add_link": "0",
            "format_html_custom_css": "",
            "all_products_from_order": "1",
            "skip_refunded_items": "0",
            "skip_suborders": "0",
            "export_refunds": "0",
            "export_matched_items": "0",
            "date_format": "Y-m-d",
            "time_format": "g:i a",
            "sort_direction": "DESC",
            "sort": "order_id",
            "format_number_fields": "0",
            "export_all_comments": "0",
            "export_refund_notes": "0",
            "strip_tags_product_fields": "0",
            "round_item_tax_rate": "0",
            "cleanup_phone": "0",
            "convert_serialized_values": "0",
            "enable_debug": "0",
            "billing_details_for_shipping": "0",
            "custom_php": "1",
            "custom_php_code": "add_filter( \u0027woocommerce_hidden_order_itemmeta\u0027, function ( $fields ) {\r\n    $fields[] = \u0027_WCPA_order_meta_data\u0027;\r\n    return $fields;\r\n});",
            "mark_exported_orders": "0",
            "export_unmarked_orders": "0",
            "summary_report_by_products": "0",
            "duplicated_fields_settings": {
                "products": {
                    "repeat": "rows",
                    "populate_other_columns": "1",
                    "max_cols": "10",
                    "group_by": "product",
                    "line_delimiter": "\\n"
                },
                "coupons": {
                    "repeat": "rows",
                    "max_cols": "10",
                    "group_by": "product",
                    "line_delimiter": "\\n"
                }
            },
            "summary_report_by_customers": "0",
            "order_fields": [
                {
                    "segment": "coupons",
                    "key": "coupons",
                    "colname": "Coupons",
                    "label": "Coupons",
                    "format": "undefined"
                },
                {
                    "segment": "common",
                    "key": "plain_orders_Delivery Date",
                    "label": "Delivery Date",
                    "format": "date",
                    "colname": "Delivery Date"
                },
                {
                    "segment": "common",
                    "key": "order_id",
                    "label": "Order ID",
                    "format": "number",
                    "colname": "Order ID"
                },
                {
                    "segment": "products",
                    "key": "products",
                    "colname": "Products",
                    "label": "Products",
                    "format": "undefined"
                },
                {
                    "segment": "products",
                    "key": "plain_products_product_name_main",
                    "label": "Product Name (main)",
                    "format": "string",
                    "colname": "Product Name (main)"
                },
                {
                    "segment": "products",
                    "key": "plain_products_product_variation",
                    "label": "Product Variation",
                    "format": "string",
                    "colname": "Product Variation"
                }
            ],
            "order_product_fields": [
                {
                    "label": "SKU",
                    "format": "string",
                    "colname": "SKU",
                    "default": 1,
                    "key": "sku"
                },
                {
                    "label": "Item #",
                    "format": "number",
                    "colname": "Item #",
                    "default": 1,
                    "key": "line_id"
                },
                {
                    "label": "Item Name",
                    "format": "string",
                    "colname": "Item Name",
                    "default": 1,
                    "key": "name"
                },
                {
                    "label": "Quantity",
                    "format": "number",
                    "colname": "Quantity",
                    "default": 1,
                    "key": "qty"
                },
                {
                    "label": "Item Cost",
                    "format": "money",
                    "colname": "Item Cost",
                    "default": 1,
                    "key": "item_price"
                }
            ],
            "order_coupon_fields": [
                {
                    "label": "Coupon Code",
                    "format": "string",
                    "colname": "Coupon Code",
                    "default": 1,
                    "key": "code"
                },
                {
                    "label": "Discount Amount",
                    "format": "money",
                    "colname": "Discount Amount",
                    "default": 1,
                    "key": "discount_amount"
                },
                {
                    "label": "Discount Amount Tax",
                    "format": "money",
                    "colname": "Discount Amount Tax",
                    "default": 1,
                    "key": "discount_amount_tax"
                }
            ],
            "id": 0,
            "post_type": "shop_order",
            "export_rule_field": "date",
            "export_filename": "orders-%y-%m-%d-%h-%i-%s.xlsx",
            "sort_by_products": "1"
        },
        "profiles": [],
        "cron": {
            "1": {
                "version": "2.0",
                "mode": "cron",
                "title": "Tomorrow Products",
                "skip_empty_file": "on",
                "log_results": "",
                "from_status": [],
                "to_status": [],
                "change_order_status_to": "",
                "statuses": [
                    "wc-pending",
                    "wc-processing",
                    "wc-on-hold",
                    "wc-completed"
                ],
                "from_date": "",
                "to_date": "",
                "sub_start_from_date": "",
                "sub_start_to_date": "",
                "sub_end_from_date": "",
                "sub_end_to_date": "",
                "sub_next_paym_from_date": "",
                "sub_next_paym_to_date": "",
                "from_order_id": "",
                "to_order_id": "",
                "shipping_locations": [],
                "shipping_methods": [],
                "item_names": [],
                "item_metadata": [],
                "user_roles": [],
                "user_names": [],
                "user_custom_fields": [],
                "billing_locations": [],
                "payment_methods": [],
                "any_coupon_used": "0",
                "coupons": [],
                "order_custom_fields": [
                    "_orddd_timestamp = {tomorrow}"
                ],
                "product_categories": [],
                "product_vendors": [],
                "products": [],
                "product_sku": "",
                "exclude_products": [],
                "product_taxonomies": [],
                "product_custom_fields": [],
                "product_attributes": [],
                "product_itemmeta": [],
                "format": "XLS",
                "format_xls_use_xls_format": "0",
                "format_xls_sheet_name": "Orders",
                "format_xls_display_column_names": "1",
                "format_xls_auto_width": "1",
                "format_xls_direction_rtl": "0",
                "format_xls_force_general_format": "0",
                "format_xls_row_images_width": "50",
                "format_xls_row_images_height": "50",
                "format_csv_enclosure": "\"",
                "format_csv_delimiter": ",",
                "format_csv_linebreak": "\\r\\n",
                "format_csv_display_column_names": "1",
                "format_csv_add_utf8_bom": "0",
                "format_csv_item_rows_start_from_new_line": "0",
                "format_csv_encoding": "UTF-8",
                "format_csv_delete_linebreaks": "0",
                "format_csv_force_quotes": "0",
                "format_tsv_linebreak": "\\r\\n",
                "format_tsv_display_column_names": "1",
                "format_tsv_add_utf8_bom": "0",
                "format_tsv_item_rows_start_from_new_line": "0",
                "format_tsv_encoding": "UTF-8",
                "format_xml_root_tag": "Orders",
                "format_xml_order_tag": "Order",
                "format_xml_product_tag": "Product",
                "format_xml_coupon_tag": "Coupon",
                "format_xml_prepend_raw_xml": "",
                "format_xml_append_raw_xml": "",
                "format_xml_self_closing_tags": "1",
                "format_xml_preview_format": "0",
                "format_json_start_tag": "[",
                "format_json_end_tag": "]",
                "format_json_unescaped_slashes": 0,
                "format_json_numeric_check": 0,
                "format_json_encode_unicode": 0,
                "format_pdf_display_column_names": "1",
                "format_pdf_repeat_header": "1",
                "format_pdf_direction_rtl": 0,
                "format_pdf_orientation": "L",
                "format_pdf_page_size": "A4",
                "format_pdf_font_size": "8",
                "format_pdf_header_text": "",
                "format_pdf_footer_text": "",
                "format_pdf_pagination": "C",
                "format_pdf_fit_page_width": "0",
                "format_pdf_cols_width": "25",
                "format_pdf_cols_align": "L",
                "format_pdf_cols_vertical_align": "T",
                "format_pdf_page_header_text_color": "#000000",
                "format_pdf_page_footer_text_color": "#000000",
                "format_pdf_table_header_text_color": "#000000",
                "format_pdf_table_header_background_color": "#FFFFFF",
                "format_pdf_table_row_text_color": "#000000",
                "format_pdf_table_row_background_color": "#FFFFFF",
                "format_pdf_logo_source_id": "0",
                "format_pdf_logo_source": "",
                "format_pdf_logo_width": "0",
                "format_pdf_logo_height": "15",
                "format_pdf_logo_align": "R",
                "format_pdf_row_images_width": "15",
                "format_pdf_row_images_height": "15",
                "format_pdf_row_images_add_link": "0",
                "format_pdf_row_dont_page_break_order_lines": "0",
                "format_html_display_column_names": "1",
                "format_html_repeat_header_last_line": "0",
                "format_html_font_size": "13",
                "format_html_header_text": "",
                "format_html_footer_text": "",
                "format_html_cols_align": "L",
                "format_html_header_text_color": "#000000",
                "format_html_footer_text_color": "#000000",
                "format_html_table_header_text_color": "#000000",
                "format_html_table_header_background_color": "#FFFFFF",
                "format_html_table_row_text_color": "#000000",
                "format_html_table_row_background_color": "#FFFFFF",
                "format_html_row_images_width": "100",
                "format_html_row_images_height": "100",
                "format_html_images_add_link": "0",
                "format_html_custom_css": "",
                "all_products_from_order": "1",
                "skip_refunded_items": "0",
                "skip_suborders": "0",
                "export_refunds": "0",
                "export_matched_items": "0",
                "date_format": "Y-m-d",
                "time_format": "H:i",
                "sort_direction": "DESC",
                "sort": "order_id",
                "format_number_fields": "0",
                "export_all_comments": "0",
                "export_refund_notes": "0",
                "strip_tags_product_fields": "0",
                "round_item_tax_rate": "0",
                "cleanup_phone": "0",
                "convert_serialized_values": "0",
                "enable_debug": "0",
                "billing_details_for_shipping": "0",
                "custom_php": "1",
                "custom_php_code": "add_filter( \u0027woocommerce_hidden_order_itemmeta\u0027, function ( $fields ) {\r\n    $fields[] = \u0027_WCPA_order_meta_data\u0027;\r\n    return $fields;\r\n});",
                "mark_exported_orders": "0",
                "export_unmarked_orders": "0",
                "summary_report_by_products": "0",
                "duplicated_fields_settings": {
                    "products": {
                        "repeat": "rows",
                        "populate_other_columns": "1",
                        "max_cols": "10",
                        "group_by": "product",
                        "line_delimiter": "\\n"
                    },
                    "coupons": {
                        "repeat": "rows",
                        "max_cols": "10",
                        "group_by": "product",
                        "line_delimiter": "\\n"
                    }
                },
                "summary_report_by_customers": "0",
                "export_rule_field": "date",
                "order_fields": [
                    {
                        "segment": "coupons",
                        "key": "coupons",
                        "colname": "Coupons",
                        "label": "Coupons",
                        "format": "undefined"
                    },
                    {
                        "segment": "misc",
                        "key": "plain_orders_Delivery Date",
                        "label": "Delivery Date",
                        "format": "",
                        "colname": "Delivery Date"
                    },
                    {
                        "segment": "common",
                        "key": "order_id",
                        "label": "Order ID",
                        "format": "number",
                        "colname": "Order ID"
                    },
                    {
                        "segment": "products",
                        "key": "products",
                        "colname": "Products",
                        "label": "Products",
                        "format": "undefined"
                    },
                    {
                        "segment": "products",
                        "key": "plain_products_product_name",
                        "label": "Product Name",
                        "format": "string",
                        "colname": "Product Name"
                    },
                    {
                        "segment": "products",
                        "key": "plain_products_product_variation",
                        "label": "Product Variation",
                        "format": "string",
                        "colname": "Product Variation"
                    }
                ],
                "order_product_fields": [
                    {
                        "label": "SKU",
                        "format": "string",
                        "colname": "SKU",
                        "default": 1,
                        "key": "sku"
                    },
                    {
                        "label": "Item #",
                        "format": "number",
                        "colname": "Item #",
                        "default": 1,
                        "key": "line_id"
                    },
                    {
                        "label": "Item Name",
                        "format": "string",
                        "colname": "Item Name",
                        "default": 1,
                        "key": "name"
                    },
                    {
                        "label": "Quantity",
                        "format": "number",
                        "colname": "Quantity",
                        "default": 1,
                        "key": "qty"
                    },
                    {
                        "label": "Item Cost",
                        "format": "money",
                        "colname": "Item Cost",
                        "default": 1,
                        "key": "item_price"
                    }
                ],
                "order_coupon_fields": [
                    {
                        "label": "Coupon Code",
                        "format": "string",
                        "colname": "Coupon Code",
                        "default": 1,
                        "key": "code"
                    },
                    {
                        "label": "Discount Amount",
                        "format": "money",
                        "colname": "Discount Amount",
                        "default": 1,
                        "key": "discount_amount"
                    },
                    {
                        "label": "Discount Amount Tax",
                        "format": "money",
                        "colname": "Discount Amount Tax",
                        "default": 1,
                        "key": "discount_amount_tax"
                    }
                ],
                "id": 1,
                "post_type": "shop_order",
                "schedule": {
                    "type": "schedule-1",
                    "weekday": {
                        "Sun": "on",
                        "Mon": "on",
                        "Tue": "on",
                        "Wed": "on",
                        "Thu": "on",
                        "Fri": "on",
                        "Sat": "on"
                    },
                    "run_at": "22:00",
                    "times": "",
                    "date_times": "",
                    "last_run": 1628114427,
                    "last_report_sent": 1628114427,
                    "next_run": 1628200800
                },
                "export_rule": "none",
                "export_rule_custom": "3",
                "export_filename": "orders-%y-%m-%d-%h-%i-%s.xlsx",
                "destination": {
                    "type": [
                        "email"
                    ],
                    "email_from": "website@website”.co.uk,
                    "email_from_name": “Client - Website",
                    "email_subject": "Daily Products",
                    "email_body": "",
                    "email_recipients": “email@“email.com,
                    "email_recipients_cc": “email@“email.com,
                    "email_recipients_bcc": "",
                    "ftp_server": "",
                    "ftp_port": "",
                    "ftp_user": "",
                    "ftp_pass": "",
                    "ftp_path": "",
                    "ftp_conn_timeout": "",
                    "ftp_max_retries": "",
                    "sftp_server": "",
                    "sftp_port": "",
                    "sftp_user": "",
                    "sftp_pass": "",
                    "sftp_private_key_path": "",
                    "sftp_path": "",
                    "sftp_conn_timeout": "",
                    "sftp_max_retries": "",
                    "http_post_url": "",
                    "http_post_conn_timeout": "",
                    "http_post_max_retries": "",
                    "path": "\/home\/website\/public_html\/",
                    "zapier_export_order_product_columns": "10",
                    "zapier_export_order_coupon_columns": "10"
                },
                "sort_by_products": "1"
            }
        },
        "order-action": []
    }
    Thread Starter Sam

    (@forbiddenchunk)

    Hi @algolplus,

    No I don’t, I’ve taken a screenshot of my settings so far;

    https://ibb.co/wLwPJzC

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @algolplus,

    Yep, I’ve checked that one and did an export as an XLS and the products were still in any order and not organised by product name.

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @algolplus,

    Which checkbox?

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @algolplus,

    I applied the code // Sort by product name // Format XLS to my functions and tested and nothing changed.

    Thread Starter Sam

    (@forbiddenchunk)

    Hi Alex – @algolplus,

    I tried submitting a ticket on the website with the plugin attached but got the following;

    Captcha verification failed, try again!

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @prodograw,

    Thanks for replying,

    I’ve added those bits and still not getting any orders;

    I’ve uploaded an screenshot of the custom fields and code in settings;
    https://ibb.co/cTRVTBb

    Thread Starter Sam

    (@forbiddenchunk)

    Hi (Alex) @algolplus,

    Thanks for replying, I’ve followed those steps but when I press ‘export’ it says nothing can be found.

    I am using a plugin called ‘Order Delivery Date Pro for WooCommerce’ to output my delivery dates.

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @alanfuller

    Thanks for replying, I’ve tried and no difference, page 2 and 3 are just the same 3 articles from page 1

    Thread Starter Sam

    (@forbiddenchunk)

    Thanks, @slash1andy will do!

    Thread Starter Sam

    (@forbiddenchunk)

    Submitted and got ticket reference number thanks

    Thread Starter Sam

    (@forbiddenchunk)

    @bcworkz that worked thanks!

    I was had read up on that method but couldn’t get it to work.

    Thanks for the help 🙂

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @bcworkz thanks for the reply.

    So how would you do it so the user can select for example,

    Abuse OR diabetes from “experiment_type”

    AND

    Posters OR Journals from “media_type”?

    Which then the filter would only show anything that fits those 4 parameters

    Thread Starter Sam

    (@forbiddenchunk)

    Hi @joyously

    Thanks for the reply, I tried that and it didn’t work. I think my foreach loop is outputting my array wrong;

    foreach($experimentChoices as $Key=>$Value){
            if(count($Value)){
                foreach ($Value as $Inkey => $Invalue) {
                    $exp_query[] = array( 
                        'key' => $Key, 
                        'value' => $Invalue, 
                        'compare' => '=',
                    );
                }
            }
        }

    This is why it outputs;

    FOREACH (broke)

    Array ( [0] => Array ( [key] => experiment_type [value] => abuse-dependence [compare] => = ) [1] => Array ( [key] => experiment_type [value] => diabetes [compare] => = ) )

    WRITTEN CODE (working)

    Array ( [relation] => OR [0] => Array ( [key] => experiment_type [value] => abuse-dependence [compare] => = ) [1] => Array ( [key] => experiment_type [value] => diabetes [compare] => = ) )

    and will add sanitization thanks

    Thread Starter Sam

    (@forbiddenchunk)

    Makes sense thanks, good way of looking at it that I hadn’t considered using post ID and user meta.

    Any guides on where to start learning these areas. I have some knowledge of not enough to dive straight in.

    Thanks again!

Viewing 15 replies - 1 through 15 (of 60 total)