Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3136350
Customize email
Closed

Comments

  •  1
    Maurizio Coda started the conversation

    Hello,

    I would like to know if there is a possibility to change the content of the New Order email about composite products .
    Specially about products price showe are not clear, if you see attached file customer do nor understand the price sum of composite product plus their composition, do you?

    thank you

  •  767
    Janilyn replied

    Hi Maurizio,

    Thanks for contacting WPClever Support Forum. We're not available at the weekends so today (Monday) I am able to process your ticket.

    For your information, to preserve the transparency, we have included all prices in the order details to make sure customers know how much they have saved from the offer. 

    If you would like to hide the prices of either the main composite or component sub-products, kindly know that sometimes customers might request more details about their order.

    I will find one of our developers to help you with this issue. He will provide you with custom codes to hide prices on the order detail.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1
    Maurizio Coda replied

    Hi Janilyn, thanks a lot for your help

    Maurizio

  •  153
    Henry replied

    Hi,

    We will assist you to check, why the price in the invoice is not correct.

    Please send me your website credentials (wp-admin link, username, password) then I can check and fix this issue for you.

    Best regards,
    Henry N.

  •   Maurizio Coda replied privately
  •  153
    Henry replied

    Hi,

    You can choose to hide the main product in the order detail. https://www.screencast.com/t/Tkd8hny0Kw

    I have added the below code in the child theme's functions.php file: 

    https://www.bois1920.it/wp-admin/theme-editor.php?file=functions.php&theme=betheme-child

    // Wpclever team support ticket-3136350
    add_filter( 'woocommerce_order_item_visible', function($flag, $item){
        if( isset($item['wooco_ids']) ) {
            return false;
        }
        return $flag;
    }, 99, 2 );

    Please check again: https://www.bois1920.it/wp-admin/admin.php?page=codemanas-woocommerce-preview-emails

    Best regards,
    Henry N.

  •  1
    Maurizio Coda replied

    Hi Henry, thank you a lot for the solution!

    Is there any hook to add custom text into product description column?

    In any case thank you so much

    Maurizio

  •  153
    Henry replied

    Hi,

    Do you want to add text, here? https://www.screencast.com/t/iAjboOw3M4jN

    Best regards,
    Henry N.

  •  1
    Maurizio Coda replied

    Yes, if its easy i wish to put a text there

  •  153
    Henry replied

    You want to add generic text for the sub-products of the bundled product or separate text for each product. Can you say more about this?

    Best regards,
    Henry N.

  •  1
    Maurizio Coda replied

    Per both it was great!

    If not, ok for sub-product

    I wish to put a "<br>" to let description go new line

  •  1
    Maurizio Coda replied

    Product title, i mean

  •  153
    Henry replied

    In the order have included the name of the parent product and the name of the child product. I don't understand what product name you want to add.

    https://www.screencast.com/t/iAjboOw3M4jN

    Could you please provide more details (preferably images and links to your published products) to clarify your request/ question?

    Best regards,
    Henry N.

  •  1
    Maurizio Coda replied

    Hi Hery, thank you

    i attach you an example i like

    maurizio

  •  153
    Henry replied

    Hi,

    To hide text ( Composite: ... ), I have added the below code in the child theme's functions.php file:

    // Wpclever team support ticket-3136350
    add_filter( 'wooco_before_order_itemmeta_component', function($html){
        return '';
    }, 99 );

    To add <br/> tag, I have added the below code in the child theme's functions.php file:

    add_filter( 'wooco_cart_item_name', function($_name){
        return str_replace('→ ', '→<br>', $_name);
    }, 99 );

    Screenshot: https://www.screencast.com/t/2keoOG3Efccc

    Test: https://www.bois1920.it/wp-admin/admin.php?page=woocommerce-email-test

    Best regards,
    Henry N.

  •  1
    Maurizio Coda replied

    What you have done is fabulous!

    It is the solution I wanted, perfect


    Thanks for all the support.
    Have a great day Maurizio

  •  153
    Henry replied

    If you are satisfied with our plugin and support, please reward it with a full five-star ★★★★★ rating. https://wordpress.org/support/plugin/wpc-composite-products/reviews/?filter=5#new-post

    Thank you in advance!

    Best regards,
    Henry N.