Thank you.
]]>Is it possible to cancel an event (e.g. due to illness) but leave it in the list of events so that customers can see that this event was cancelled?
I’ve seen that there is a conditional “is_cancelled” in the formats but I don’t know how to trigger it.
Thanks,
Mark
There are no existing posts in WP. I delete them all every time I try to import. I’ve confirmed that the podcast is not locked.
It doesn’t seem to be a plugin conflict issue. I disabled them one by one to see if one of them was causing an issue, but there were no conflicts.
Any suggestions on solving the import issue?
]]>These are the order notes for an example order. In many cases, orders stay at the Payment Pending status despite a successful Stripe charge. In this case and a few others, the payment window closes and the order is set to cancel. I can see the successful payments on the Stripe dashboard.
As a result the stock levels are also manipulated and raised again despite the order payment going through, so we have issues with overselling limited items.
Potrebovali by sme to ideálne nezávisle na tom, aky je nastaveny dátum splatnosti (v aplikácii SuperFaktúry je toti? mo?né prehodi? FA do “will not be paid” iba v prípade, ak uplynul termín splatnosti).
V podstate to asi pojde analogicky, ako ste nám poradili pri inej príle?itosti, len potrebujem vedie?, ako to presne spravi?:
function my_woocommerce_order_status_changed( $order_id, $old_status, $new_status )
{
if ( $new_status == 'cancelled' )
{
$order = wc_get_order( $order_id );
$invoice_id = $order->get_meta( 'wc_sf_internal_regular_id', true );
if ( ! $invoice_id ) {
return;
}
$sf = WC_SuperFaktura::get_instance();
$response = $sf->sf_api()->... ? // AKO TO UROBIT?
}
}
add_action( 'woocommerce_order_status_changed', 'my_woocommerce_order_status_changed', 99, 3 );
]]>The documentation refers to a shortcode [cancelled] but this code does not function for me. Does anyone know how to display a list of cancelled events?
]]>However, in Category pages that show event lists, it is NOT at all clear whether an event has been cancelled or not.
https://tinyurl.com/yl4tpzkc
How can we make it clear if an event has been cancelled or not?
]]>