Home Forums Plugin Support WP User Frontend Pro Meta Keys for attributes

This topic is: resolved

This topic contains 19 replies, has 6 voices, and was last updated by  Abdul Aziz 4 years, 4 months ago.

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #4733

    elgunk
    Participant
    Post count: 12

    Hello Tareq,

    Thanks for User Fronted PRo. I have done most of it. I was wondering if there is a possibility to add attributes via meta keys?

    How I can find other meta keys for woo commerce to use?

    Also I need help with CSS name. Could you me example? I want to style them. Thanks

    #4740

    Tareq Hasan
    Keymaster
    Post count: 2831

    Attributes are basically taxonomy. So when you create the attributes in woocommerce, they will be visible in your form editor custom taxonomy area. So just add them in the form.

    #4741

    elgunk
    Participant
    Post count: 12

    oh. I did not know that. Thanks so much.

    Another problem is the price.

    I used meta key but it does not add price. It adds it to the description field.

    Product link: http://siz.bakumoz.com/product/bakumoz/

    at the same time they are not automatically published even I have chosen published. They can be viewed but do not shop up in the category until you edit and re publish it.

    http://siz.bakumoz.com

    Thanks

    #4742

    Tareq Hasan
    Keymaster
    Post count: 2831

    Did you used the right meta key _price?

    There are various meta keys that WooCommerce uses

    _price =
    _stock_status = outofstock
    _downloadable = yes
    _wpuf_form_id = 43
    _edit_lock = 1370858513:1
    _edit_last = 1
    _visibility = visible
    total_sales = 0
    _virtual = no
    _product_image_gallery =
    _regular_price =
    _sale_price =
    _tax_status =
    _tax_class =
    _purchase_note =
    _featured = no
    _weight =
    _length =
    _width =
    _height =
    _sku =
    _product_attributes = a:1:{s:7:"pa_test";a:6:{s:4:"name";s:7:"pa_test";s:5:"value";s:0:"";s:8:"position";s:1:"0";s:10:"is_visible";i:1;s:12:"is_variation";i:0;s:11:"is_taxonomy";i:1;}}
    _sale_price_dates_from =
    _sale_price_dates_to =
    _sold_individually =
    _stock =
    _backorders = no
    _manage_stock = no
    _file_paths = a:0:{}
    _download_limit =
    _download_expiry =
    linked_item = 0
    
    #4743

    elgunk
    Participant
    Post count: 12

    Yes. Let me use regular price and see how it works. Thanks

    #4744

    Mahi
    Member
    Post count: 1555

    Is it solved ? You may check this tutorial

    Please confirm so we can mark it as solved .

    Thank you.

    #4745

    elgunk
    Participant
    Post count: 12

    No. It does not add price. Could you help? It does not publish itself. I can give logins to look at ? What should I do?

    I have checked it already before writing here. I it correct but it does not work somehow. I can give loin to someone to look at.

    #4746

    Mahi
    Member
    Post count: 1555

    First – try to deactivate other plugins (if any) they may conflict.

    Second – if still no luck give us login details , make sure to make as private reply.

    #4748

    elgunk
    Participant
    Post count: 12
    This reply has been marked as private.
    #4749

    Mahi
    Member
    Post count: 1555

    ok tested and fixed. You missed metakey _price .

    Again , please follow the metakey provides by tareq above or form tutorial.

    #4750

    elgunk
    Participant
    Post count: 12

    YEs. I added it as exactly as you show. Maybe it changes automatically. Why it does not publish automatically? You cna view it but it does not show in the homepage.

    Secondly, the price is also automatically added to the Product description page. How can I remove it?

    THanks

    #4752

    Mahi
    Member
    Post count: 1555

    NO you didn't. It was Price: , I changed it to _price

    Why it doesn't show on front page – simply you have to make them as featured product.

    And, price added to description – from WP User frontend Settings -> General Settings -> Custom Fields in post just uncheck it.

    You better play with woocommerce and WP User frontend PRO bit more time , you will get all by ur self.

    #4753

    elgunk
    Participant
    Post count: 12

    Hi Mahi,

    Thanks for support. I solved it. Because when you change field label it automatically changes.

    That is not a big issue. But I edit and republish it and it works. Let me add more docs and if problem exists I will get back. Thnaks for all your quick response. It was pleasure to have this kind of support.

    #4758

    elgunk
    Participant
    Post count: 12

    Hello,

    Sorry to bother again but it does something strange. Even all my attributes are TEXT not selective, it does make them automatically dropdown, multi select or check box. I want text add

    Attributes: http://awesomescreenshot.com/00b1dnkd4c

    How can I change this to tex adding?
    http://awesomescreenshot.com/0161dnko92

    Sorry for bothering again.

    #4761

    elgunk
    Participant
    Post count: 12

    I really need help. Forum does not have a search button to search for the same problems if have been solved. So i can't go 222 forum posts to find a solution.

Viewing 15 posts - 1 through 15 (of 20 total)

The topic ‘Meta Keys for attributes’ is closed to new replies.