Meta Key or Meta Value as number

Pending
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme December 26, 2021
Login to reply
Igor Sunz Support Agent
2 years ago

Use ACF plugin or similar

Anna Gaudia
2 years ago

How do I do that?

Igor Sunz Support Agent
2 years ago

You need create custom meta if you want to order by value

Anna Gaudia
2 years ago

So there is no way to do that?

Igor Sunz Support Agent
2 years ago

You can’t order by attribute value because it’s not in numeric format

Пн, 27 дек. 2021 г. в 05:07, Sizam Support Help Desk <
sizamtheme+NEKBMpWwQKVR47XRnDOG@mail.support-hub.io>:

Anna Gaudia
2 years ago
yes I am calling the query using the Custom taxonomy and it brings up the Cappucino Price but what I'm trying to do it to order them by the price of the cappuccino not by title, date etc What can I do to do just that?
Igor Sunz Support Agent
2 years ago

Attributes are not custom meta. You need to use Custom taxonomy panel in options 

Anna Gaudia
2 years ago

Hi,

I'm trying to display the 'Woocomarece query' and want to order the products by one of the attributes, the 'cappuccino-regular' but I can't make it work. What am I doing incorrectly? Should I use Meta Key or Meta Value as a number?

Thanks!

Additional Info

Link on page with issue: https://www.globalnomad.guide/global-nomad-guides/nomad-finances/what-is-the-cappuccino-index-why-do-we-love-it/?preview_id=3737&preview_nonce=956c43f40a&preview=true&_thumbnail_id=5996