Rupee symbol broken in invoice pdf

WCMp PDF Invoice

Rupee symbol broken in invoice pdf Resolved

Viewing 3 reply threads
  • Author
    Posts
    • #40176
      dhimant
      Participant

      Hello guys,

      We are using your wcmp-pdf-invoice extension for your wcmp plugin. We are facing a issue with the pdf template when we download the invoice pdf as a vendor, the rupee symbol in the total and alike fields is broken. I am attaching the screenshot of the same. Please check and respond back asap.

      Attachments:
    • #40182
      WCMp Admin
      Keymaster

      Hi @dhimant, thanks for reaching WCMp Support!!

      Please add the following code to the function.php of the current active theme and the issue should be fixed :

      function wpdocs_dequeue_script() {
         if(class_exists('WCMp') && is_vendor_dashboard()) {
             if(wp_script_is( 'fashstore-pro-common', $list = 'enqueued' )) {
              wp_dequeue_script( 'fashstore-pro-common' );    
             }
         }
      }
      add_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );
      add_filter( 'woocommerce_currency_symbol', 'func_test', 10, 2 );
      function func_test( $currency_symbol, $currency ) {
      $currency_symbol = '<span style="font-family: DejaVu Sans; sans-serif;">&#8369;</span>';
      return $currency_symbol;
      }
      copy

      Please keep us posted also.

    • #40185
      Harshit
      Participant

      Thanks guys the code helped. We just replaced the currency_symbol code from peso to rupee symbol.

    • #40186
      WCMp Admin
      Keymaster

      @Harshit, great to know that 🙂

Viewing 3 reply threads

The topic ‘Rupee symbol broken in invoice pdf’ is closed to new replies.

WCMp bundle is available at a slashed price

Grab It Now