Home Forums Plugin Support WP User Frontend Pro How to pass woocommerce product attributes in hidden fields?

This topic is: not resolved

This topic contains 6 replies, has 2 voices, and was last updated by  towhid 4 years, 4 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #37258

    Malcolm
    Member
    Post count: 2

    Hi,

    I have a form to create woocommerce products from the front-end. I want to pass the value of a custom product attribute as a hidden field (let's say the product attribute name is “sellable” and the product attribute I want to pass is “yes” ans has an id of 21).

    I created a hidden field, put meta key =”pa_sellable” and value =”21″ (I also tried “yes” as a value and _product_attribute = pa_sellable as meta), but the attribute doesn't appear on the product in the woocommerce back-end.

    Any ideas?

    Thanks

    #37427

    towhid
    Participant
    Post count: 4505

    Hello Malcolm,

    I will try to reproduce this issue and let you know the solution. Please allow me some times.

    Thank You ๐Ÿ™‚

    #37534

    towhid
    Participant
    Post count: 4505

    Hello Malcolm,

    I have tried to reproduce this issue but can not makeup according the way you mentioned. Please provide your login details by using this form – http://wedevs.com/provide-login-details/. I need to checkout what you are actually going to do with the form.

    Thank you ๐Ÿ™‚

    #37675

    Malcolm
    Member
    Post count: 2
    This reply has been marked as private.
    #38427

    Malcolm
    Member
    Post count: 2

    Hi.

    Any chance of getting instructions on how to use hidden fields for custom woocommerce product attributes?

    Thanks.

    #38465

    towhid
    Participant
    Post count: 4505

    Hello Malcolm,

    Sorry for my late reply. Hope tomorrow I will come-up with a right solutions.

    Thank You for you patience. ๐Ÿ™‚

    #38712

    towhid
    Participant
    Post count: 4505

    Hello Malcolm,

    I have talked with my developer team. They told me apparently this is not possible due to – hidden field does not has any provision to accumulate any attribute's meta value.

    Thank You ๐Ÿ™‚

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

The topic ‘How to pass woocommerce product attributes in hidden fields?’ is closed to new replies.