• Resolved farlington

    (@farlington)


    We upgraded from WooCommerce 3.8 to 4.1 and noticed custom fields (on v2.4.4) appear fine in basket and checkout pages but some fields or all fields are now variably missing in the order-received page plus this content is missing in emails of sale to the customer and vendor. Full details are still in the actual woo commerce order item. btw we also added a litespeed cache plugin CDN but am assuming not related.
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter farlington

    (@farlington)

    Ok I’ve checked and when I revert to v2.4.3 it works fine and breaks again on reloading v2.4.4
    Definitely not related to caching.
    Please help!

    Thread Starter farlington

    (@farlington)

    Ok I now see that you are hiding hidden fields in
    woo-custom-product-addons/tags/2.4.4/includes/class-wcpa-order-meta.php
    `
    if ($wcpa_meta_data_item[‘type’]==’hidden’ ) {
    102 $item->update_meta_data(‘_’.$wcpa_meta_data_item[‘label’], $data->value, $data->id);
    103 }else{
    104 $item->update_meta_data($wcpa_meta_data_item[‘label’], $data->value, $data->id);
    105 }
    `
    Could you please put an option in settings to show hidden fields in emails and order complete page

    • This reply was modified 4 years, 8 months ago by farlington.

    Hi,

    Sorry, the hidden fields are only to be shown at the back-end. It can’t be shown anywhere else as per our current plugin. The hidden fields are used to pass a value from the form back-end to the order back-end. So, it can’t be shown anywhere else.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields missing from order-received page’ is closed to new replies.