cmontcour
Forum Replies Created
-
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & Messaging] Periodic redirection to plugin pageThat seemed to do the trick. Thank you !
Forum: Plugins
In reply to: [3CX Free Live Chat, Calls & Messaging] Periodic redirection to plugin pageHi, I too have this problem of periodic redirections. I have the latest’s plugin version. The redirections seem to happen exactly every half-hour.
Is there a workaround ? I had to deactivate the plugin since it’s almost impossible to work with this bug.
Hi,
I was able to achieve this using the code below (as an php snippet)
`/*
* alg_format_item_number_in_pdf_invoice.
*/
function alg_format_item_number_in_pdf_invoice( $cell_data, $args ) {
$item_total_tax_excl = $args[‘order’]->get_formatted_line_subtotal( $args[‘item’], false, true );
if ( ‘line_total_tax_excl’ === $args[‘column’] ) {
$cell_data = sprintf( $item_total_tax_excl);}
return $cell_data;
}
add_filter( ‘wcj_pdf_invoicing_cell_data’, ‘alg_format_item_number_in_pdf_invoice’, PHP_INT_MAX, 2 );`Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Custom Input fieldsOk, thank you
Thank you for your answer. Sadly, it doesn’t seem to work :
Screenshot
My code :if( class_exists('YITH_YWRAQ_Frontend') ){ remove_action( 'woocommerce_single_product_summary', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 35 ); add_action( 'woocommerce_after_add_to_cart_button', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 1 ); add_action( 'woocommerce_after_single_variation', array( YITH_YWRAQ_Frontend(), 'add_button_single_page' ), 15); }I just duplicates the button.
Thank you in advance.