• Resolved pashaags

    (@pashaags)


    Hello. Great plugin. Please tell me how to fix the currency display: Russian Ruble? Instead of the letter “P”, a square is displayed. And how to center-align the text “Download cart in PDF format”. Thanks.screenshots

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Jensen

    (@dkjensen)

    @pashaags

    Hello, let me troubleshoot on displaying the Russian Ruble correctly and get back to you.

    To center the text of the button add this CSS:

    .button.cart-pdf-button { text-align: center; }

    Plugin Author David Jensen

    (@dkjensen)

    @pashaags Try adding the following to your functions.php. You can play with font alternatives but I know arial works to display the Ruble

    add_filter( 'wc_cart_pdf_mpdf_args', function( $args ) {
    	$args['default_font'] = 'arial'; // or verdana, helvetica, etc
    
    	return $args;
    } );
    Thread Starter pashaags

    (@pashaags)

    Thank you very much, the code works. Is it possible to make sure that when you click on the “Download cart in PDF format” button, the saved file is immediately attached to the letter, the mail of the site administrator is pulled up and it would only be necessary to click on the “Send” button?
    https://disk.yandex.ru/d/hVsPpKJ5NEZbUQ
    https://disk.yandex.ru/d/2j12MvALV9OQGQ

    Plugin Author David Jensen

    (@dkjensen)

    @pashaags This is not currently possible, though you can have the admin get a copy of the PDF and this can be enabled under the customizer settings.

    Thread Starter pashaags

    (@pashaags)

    OK, thanks a lot. You did well

    Plugin Author David Jensen

    (@dkjensen)

    @pashaags Thank you ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The Russian Ruble is not displayed’ is closed to new replies.