• Resolved Alexander

    (@alexlead)


    Hi All,

    I need some advice I have not found on documentation.
    I developed plugin to add woocommerce product from frontend. On another hand I use ACF field by woocommerce categories (using taxonomy).
    I can fill ACF fields on admin dashboard but I can not find any tools to add these fields on front end.
    I need an advice how can I get fields if I change current product category and how can I save data from user.

Viewing 1 replies (of 1 total)
  • Thread Starter Alexander

    (@alexlead)

    If any body need – I found a solution for getting conditions of acf fields.
    The fields groups and fields save in wp_post table, they have mark as ‘acf-field-group’ and ‘acf-field’ on post_type coluumn.
    From ‘post_content’ column you can get array with field data (like name, type of field, placeholder, and etc), from group post type you can take a conditions of the fields group.
    The data from filled ACF save to wp_postmeta table. All meta data save as two fields: one is related to wp_post table, another content saving data.
    So for direct saving you can use update_meta() function.

    let me know If you `ll need any help

Viewing 1 replies (of 1 total)
  • The topic ‘get ACF by taxonmy on frontend’ is closed to new replies.