PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Meta key lookup not pulling the field information

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi, I'm currently testing WPCS and so far so good, I have an issue with using the following shortcode though

[wpcs_price meta_value=any_meta_field_key]

when I change this to

[wpcs_price meta_value=regular_price]

It is not pulling the field information in and it just placing a 0 (zero) number instead. I'm using ACF and a number field on the backend to store the data.

Could you please advise on this as this is the only plugin I can find to do everything I need especially this meta key lookup.

thanks

Hello

Are you sure this is the correct meta field key? Also, this field must store a numeric value.

You can see here this is what I'm using sir

https://ibb.co/L6cjgNX

https://ibb.co/3CMTv1M

If i can get this working, then I can purchase the full plugin, thanks

Hello

Please  check  this  data  in  "custom fields" tabs -  https://c2n.me/4aar6az.png

I have and, I sent you a screenshot, this is the field

https://ibb.co/3CMTv1M

 

Hello

It should look different - https://c2n.me/4adkPLF.png

Your screenshot is information of a third-party plugin and does not show the real meta key

Hi, finally I managed to figure out why it was not showing so this is the shortcode that I am now using and this is the correct meta key

[wpcs_price meta_value=field_5fb9732bdda1e]

As you can see from here, it is still not pulling the data through

https://ibb.co/tQSCr6x
https://ibb.co/J7BThKY

If you want to log in and take a look then please let me know how to send my login details to you.

Thanks

Hello

There are only two reasons why this doesn't work:

  1. You are using the wrong meta key
  2. The key is correct, but it does not store data in a number format

I recommend that you contact the author of this third-party functionality and ask how to find the correct key

OR  you  can check  all  meta  to your  post:

var_dump(get_post_meta($curent_post_ID));

And you can see what keys the post has and what data it stores