Forum Replies Created

Viewing 15 replies - 121 through 135 (of 164 total)
  • Plugin Support Upendra Kapse

    (@wpupen)

    Hi @enriqueborja,

    First of all, apologies for the delay in getting back to you on this.

    We do have the plugin partially translated to the Spanish language. If you change the language of your site to Spanish from the Settings>> General and then print the Invoice it will come in the Spanish language.

    If there are any strings missing to be translated, you can translate them using the woocommerce-delivery-notes-es_ES.po file which is there under \wp-content\plugins\woocommerce-delivery-notes\languages\.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @musabaltaci,

    First of all, apologies for the delay in getting back to you on this.

    I am afraid there is no direct way to do this, it will require custom code changes in the plugin.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @jennyong,

    First of all, apologies for the delay in getting back to you on this.

    Are you saying that the fields added with the Gravity Forms Product add-ons plugin are not coming in the Invoice? If yes, I recommend you to use the below mentioned filter to add these fields to the Invoice using their meta keys:

    /**
     * Add this code snippet in functions.php file of your currently active theme.
     * An example that adds a 'VAT' and 'Customer Number' field to the end of the list. 
     */
    function example_custom_order_fields( $fields, $order ) {
        $new_fields = array();
            
        if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
            $new_fields['your_meta_field_name'] = array( 
                'label' => 'VAT',
                'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
            );
        }
        
        if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
            $new_fields['your_meta_field_name'] = array( 
                'label' => 'Customer Number',
                'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
            );
        }
        
        return array_merge( $fields, $new_fields );
    }
    add_filter( 'wcdn_order_info_fields', 'example_custom_order_fields', 10, 2 );

    Instead of the VAT ID and Customer number examples in the above snippet you can add your fields added using the Gravity Forms plugin using the meta keys for those fields.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @tkwing009,

    Apologies for the delay in getting back to you on this.

    Can you tell us which other plugin you are using for the delivery date info?

    Also, we do have a filter to remove certain fields from the Invoice. You can refer to this example code snippet that will help you with this:

    /**
     * Add this code snippet in functions.php file of your currently active theme.
     * An example that removes the 'Payment Method' field.
     */
    function example_removed_payment_method( $fields ) {
        unset( $fields['payment_method'] );
        return $fields;
    }
    add_filter( 'wcdn_order_info_fields', 'example_removed_payment_method' );

    In the above snippet you can add the field that you want to remove from the Invoice instead of the Payment Method field.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @maaike53,

    To make CSS changes in the pdf Invoice please make sure that you are using the following filter that we have:

    function example_serif_font_and_large_address() {
        ?>
        <style>	
                #page {
                    font-size: 1em;
                    font-family: Georgia, serif;
    				<strong>color: red;</strong>
                }
                
                
        </style>
        <?php
    }
    add_action( 'wcdn_head', 'example_serif_font_and_large_address', 20 );

    In the above code snippet, you can apply this for the particular section where you want to change the font color.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @evalast,

    Apologies for the delay in getting back to you on this.

    I just checked this on our end and the variation is getting printed fine just once in the Invoice. Can you please tell us if you have added the variations with the default WooCommerce way or you are using some plugin to modify them?

    Also, please tell me the other plugin you are referring to here so that I can test this by activating that plugin on our end.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @1796media,

    First of all, apologies for the delay in getting back to you on this.

    We do have a filter using which you can add a custom field to the Invoice using the meta key of that field. Here’s an example code snippet that will help you do this:

    function example_custom_order_fields( $fields, $order ) {
        $new_fields = array();
            
        if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
            $new_fields['your_meta_field_name'] = array( 
                'label' => 'VAT',
                'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
            );
        }
        
     
        return array_merge( $fields, $new_fields );
    }
    add_filter( 'wcdn_order_info_fields', 'example_custom_order_fields', 10, 2 );

    You can use the meta key for your delivery date field in the above code snippet to add your field to the Invoice.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @ma7aba-star,

    First of all, apologies for the delay in getting back to you on this.

    We do have a filter using which you can add a custom field to the Invoice using the meta key of that field. Here’s an example code snippet that will help you do this:

    function example_custom_order_fields( $fields, $order ) {
        $new_fields = array();
            
        if( get_post_meta( $order->id, 'your_meta_field_name', true ) ) {
            $new_fields['your_meta_field_name'] = array( 
                'label' => 'VAT',
                'value' => get_post_meta( $order->id, 'your_meta_field_name', true )
            );
        }
        
     
        return array_merge( $fields, $new_fields );
    }
    add_filter( 'wcdn_order_info_fields', 'example_custom_order_fields', 10, 2 );
    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @is4lman,

    First of all, apologies for the delay in getting back to you on this.

    I am afraid right now there is no direct way to do this. Can you please confirm if you want to print these three copies in different colors for the Invoice? Or you want to have a different color of header in the Invoice, delivery note, and receipt?

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @iuda,

    First of all, apologies for the delay in getting back to you on this.

    Here’s a filter we have using which you can change the fonts on the Invoice:

    /**
    * Add this code snippet in functions.php file of your currently active theme.
    */
    function example_serif_font_and_large_address() {
    ?>
    <style>
    #page {
    font-size: 1em;
    font-family: Georgia, serif;
    }

    .order-addresses address {
    font-size: 2.5em;
    line-height: 125%;
    }
    </style>
    <?php
    }
    add_action( ‘wcdn_head’, ‘example_serif_font_and_large_address’, 20 );

    You can adjust the font size in the above snippet as per your requirement.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hello @oummanet,

    First of all, apologies for the delay in getting back to you on this. Are you still facing this issue? If yes, you can send us a screenshot by capturing it using a screenshot tool and share the screenshot link with us here: https://prnt.sc/

    Or you can email us on support at tychesoftwares dot freshdesk dot com.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hi @facepaintworld,

    Can you please tell us what is the exact compatibility issue you face when both these plugins are used together? Also, please share the exact plugin page URL that you are referring to.

    If it is a paid plugin, can you share a copy of the plugin with us on support at tychesoftwares dot freshdesk dot com so that we can temporarily activate it on our local test site to see what the compatibility issue is?

    If this is something that can be fixed from our end we will do our best to help.

    Kind Regards,
    Upendra

    Plugin Support Upendra Kapse

    (@wpupen)

    HI @tdsshah,

    I am afraid right now there is no direct way in the plugin to print separately for each item in the order. You will be able to print the Invoice, delivery note, and receipt per order only.

    Kind Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hello @kombimedia,

    Thank you for confirming this. But as I mentioned in my last response I am afraid right now there is no direct way in the plugin to let the customer choose their preferred delivery week.

    Regards,
    Upendra.

    Plugin Support Upendra Kapse

    (@wpupen)

    Hello @kombimedia,

    I am afraid right now it is not possible to let the customer select a delivery week, they can only select a delivery date.

    Do you want to let them select, for example, the first week of June, the second week of June, etc. from a dropdown option?

    Kind Regards,
    Upendra.

Viewing 15 replies - 121 through 135 (of 164 total)