Meta Keys for attributes

This topic contains 19 reply and 6 voices, and was last updated by Abdul Aziz 9 years, 3 months ago
Viewing 15 Posts - 1 through 15 (of 19 total)
Author Posts
June 10, 2013 at 8:55 am 4733
Abdul Aziz 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
June 10, 2013 at 9:52 am 4740
Tareq Hasan Tareq Hasan

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.

June 10, 2013 at 10:00 am 4741
elgunk elgunk

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

June 10, 2013 at 10:04 am 4742
Tareq Hasan Tareq Hasan

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
June 10, 2013 at 10:06 am 4743
elgunk elgunk

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

June 10, 2013 at 10:13 am 4744
Mahi Mahi

Is it solved ? You may check this tutorial

Please confirm so we can mark it as solved .

Thank you.

June 10, 2013 at 10:16 am 4745
elgunk elgunk

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.

June 10, 2013 at 10:17 am 4746
Mahi Mahi

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.

June 10, 2013 at 10:27 am 4748
elgunk elgunk This reply has been marked as private.
June 10, 2013 at 10:35 am 4749
Mahi Mahi

ok tested and fixed. You missed metakey _price .

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

June 10, 2013 at 10:37 am 4750
elgunk elgunk

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

June 10, 2013 at 10:43 am 4752
Mahi Mahi

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.

June 10, 2013 at 10:46 am 4753
elgunk elgunk

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.

June 10, 2013 at 12:14 pm 4758
elgunk elgunk

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.

June 10, 2013 at 1:46 pm 4761
elgunk elgunk

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.

June 10, 2013 at 6:01 pm 4764
Mahi Mahi

Sorry, its hard to figure out what you did with your attributes as i dont know your language !

but, i assume that you took them from Custom Taxonomies field. You should create Custom fields with same meta key and make as text.

and, search option is just here – http://awesomescreenshot.com/09d1dpk2e3

Viewing 15 Posts - 1 through 15 (of 19 total)