Home Forums Plugin Support WP User Frontend Pro How to use conditional logic with the same meta key?

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Nayem 3 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #69047

    Adzureus
    Member

    Hey,

    I'm trying to use the conditional logic. I'm using woocommerce so I need to receive the price via the meta key: “_price”. But when I create two radio field areas with the same meta key and I apply conditional logic on them then they don't work.

    These two radio field areas will be shown simultaneously.

    When I change the meta key of one of these fields to “_price2” then it works correctly.

    Could you please help me how to fix this?

    Thanks

    #69087

    Nayem
    Moderator
    Post count: 6480

    Hello,

    You can not use same meta key in two custom fields. Because when you will put same meta key that time those value will be stored in that meta which will conflict that time and for that it was not working. When you have inserted different meta key that time the second value was inserted in another meta and it was working fine.

    Thanks.

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

The topic ‘How to use conditional logic with the same meta key?’ is closed to new replies.