• Resolved julienbernier

    (@julienbernier)


    Hi,

    How could I remove:

    • the SKU’s under the products names (SKU: CS0004)
    • the taxes next to the prices (includes Tax: 5.03305785)

    from the email reminders please ?

    Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support oluisrael

    (@oluisrael)

    Hi @julienbernier Please the code below to remove the SKU from product names:

    add_filter( 'wcal_email_sku', 'hide_sku', 10, 2 );
    function hide_sku( $sku, $product_id ) {
    $sku = '';
    return $sku;
    }

    Ensure you return as blank so that the SKU will be hidden in the reminder email.

    To remove the taxes, use the code below for that:

    function hide_taxes( $display ) {
    $display = false;
    return $display;
    }
    add_filter( 'wcal_show_taxes', 'hide_taxes', 10, 1 );
    Thread Starter julienbernier

    (@julienbernier)

    Worked perfectly, thank you !

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.