Showing img_url from custom meta key

Top WooCommerce & WordPress Plugins Forums Product XML Feeds for WooCommerce Showing img_url from custom meta key

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #105728
    Art
    Guest

    hello.

    i want to display value of “img_url” from meta key “_bdroppy_url”

    example – https://i.imgur.com/MCUfEM2.png

    [alg_product_meta name=”img_url”] not working

    how can i do this? thanks.

    #105729
    WPWhale
    Moderator

    Hi Art,

    Two things here, a fix from our side will be done to show product without including ID (which currently happens in the user-defined meta_key, this will be released in an update tomorrow or the day after.

    The other thing is that the meta_key you used _bdroppy_url returns an array and not a single text (img_url), I think you need to define a new meta key that returns ONLY the image url and not in an array.

    Will let you know once an update is out.
    Omar

    #105730
    WPWhale
    Moderator

    Hi again,

    Hope I’m not late on you, please update to 1.9.3 and use the following shortcode:

    [alg_product_meta name=”_bdroppy_url” array_key=”0″ array_key_child=”img_url”]

    I created these two attributes for your case, which should read the values from the array, please test and let me know if you have any feedback.

    A review will be great if you’re happy with the plugin 😉

    Omar

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.