• Resolved joomapp

    (@joomapp)


    Hi Guys,

    I installed the free version on a product page but whatever kind of shortcode product ID or even no ID i fill in it always shows “This product currently has no customers”.
    I have tested it with variable products.

    To show that the current product HAS users who bought it i wrote a small script:

    $customer_ids = $wpdb->get_col(“SELECT DISTINCT meta_value FROM $wpdb->postmeta
    WHERE meta_key = ‘_customer_user’ AND meta_value > 0”);

    Which does output values in a table. I have set the plugins settings to “Processing” and “Completed”

    Live URL in topic logged in field

    This website uses WP 5.5 and WC 4.7.1 so i was expecting it to work out of the box.
    I am using Oxygen here, but even with efault template enabled i get the same results.
    So quite a bit lost here as according to all other posts it should work.

    Jasper

    • This topic was modified 5 years, 3 months ago by joomapp.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kokomo

    (@kokomoweb)

    Hi @joomapp,

    indeed i’m suspecting a conflict with your setup. Can you check your javascript console to see if there are any errors?

    Also, the plugin settings are independant of the shortcode, so you’d need to add the parameters to tell it which type of orders to show, i think that by default it would only show completed orders, so if you didnt set the parameter that would explain why.

    Thread Starter joomapp

    (@joomapp)

    Hi,

    Ah great thanks. Yes, the globals were the issue, need to set them in the shortcode too. Also “seperated by comma’s” meant without a space (in the FAQ there is a space between “wc-completed, wc-processing”.
    Anyways, works!

    Thanks!

    Plugin Author Kokomo

    (@kokomoweb)

    glad it worked! Thanks for the heads up for the FAQ, will fix that asap.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cannot get any output’ is closed to new replies.