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

    (@kokomoweb)

    Hi @mrjsanderson,

    unfortunately there is no option for that at the moment, but if you know a bit of php, you could do a conditional statement that checks if the product has any orders, then display the shortcode conditionally using the function do_shortcode()

    Thread Starter mrjsanderson

    (@mrjsanderson)

    Hi Kokomo.
    Thank you for the reply and your suggestion.
    One more question – I’m using ‘order_total’. Is it possible to get a total of the totals. e.g. Table shows 3 product orders ($1 + $2 + $3). Show ‘Total orders: $6’

    Plugin Author Kokomo

    (@kokomoweb)

    That is unfortunately not possible at this time, sorry

    Thread Starter mrjsanderson

    (@mrjsanderson)

    Ok. Thank you.

    For your reference, I’m using this to show ‘donations’ for a fundraising page. I have this setup as a variable product in WooCommerece.

    Your plugin works really well to show first name + amount of donation.

    All the best.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide table + contents if empty’ is closed to new replies.