• Resolved digitivup

    (@digitivup)


    Hello,

    I would like to be able to pre-fill some custom fields via PHP code. I want to enter in a field the number of products in the cart. I have no problem to get the number of items, but I can’t prefill the field.

    Can you tell me how I can do this.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @digitivup

    I am sorry but our plugin does not have the function of retrieving a value other than the one stored in the user profile (this applies to fields from sections that WooCommerce caches for the next order).
    This is a custom modification for a specific case and our technical support does not cover it.

    Thread Starter digitivup

    (@digitivup)

    Thank you for your answer, in this case, I will modify the form with JQuery to fill the fields with the values I will have retrieved before.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Pre-fill some custom fields via PHP code’ is closed to new replies.