ehsan1111
Forum Replies Created
-
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Import from SP+On my behalf: Of course SP+ is a really good plugin, and not only I, many users have trusted for years. but after the last major update, many users were disappointed and this new movement, this disappointment was further increased. We can see the new and old plugins are exactly the same, these changes are accompanied by poor support for RTL.
Forum: Plugins
In reply to: [Awesome Support - WordPress HelpDesk & Support Plugin] Import from SP+Because you are a better option. Especially in support
Less than an hour’s response to my topic tells everything.Thank You. I hope you have good news for me in the next post.
Forum: Plugins
In reply to: [WP Support Plus Responsive Ticket System] translation problemHi,
My wp-admin lang was in En and frontend was in Fa. So i changed my admin lang to Fa and all translation works.Forum: Plugins
In reply to: [WP Support Plus Responsive Ticket System] translation problemproblem solved
Forum: Plugins
In reply to: [WooCommerce] Order status set to "On-Hold"did you test this hack:
add_filter( ‘woocommerce_payment_complete_order_status’, ‘virtual_order_payment_complete_order_status’, 10, 2 );
function virtual_order_payment_complete_order_status( $order_status, $order_id ) {
$order = new WC_Order( $order_id );if ( ‘processing’ == $order_status &&
( ‘on-hold’ == $order->status || ‘pending’ == $order->status || ‘failed’ == $order->status ) ) {$virtual_order = null;
if ( count( $order->get_items() ) > 0 ) {
foreach( $order->get_items() as $item ) {
if ( ‘line_item’ == $item[‘type’] ) {
$_product = $order->get_product_from_item( $item );
if ( ! $_product->is_virtual() ) {
// once we’ve found one non-virtual product we know we’re done, break out of the loop
$virtual_order = false;
break;
} else {
$virtual_order = true;
}
}
}
}// virtual order, mark as completed
if ( $virtual_order ) {
return ‘completed’;
}
}// non-virtual order, return original status
return $order_status;
}not working for me 🙁
Forum: Plugins
In reply to: [WooCommerce] Order status set to "On-Hold"me too!