• Resolved cgabelli

    (@cgabelli)


    I have installed the beta version but before the total it doesn’t show me the delivery cost yet

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter cgabelli

    (@cgabelli)

    Can You help me? please!
    If You tell me which string to add. I edit the file

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    @cgabelli

    It seems to be possible to get the shipping total, and shipping tax directly from the WooCommerce order object, so you can add the following two lines to the star_cloudprnt_print_order_summary function in order-handler.php. These can be added just above or below the line of code used to print the current total.

    $printer->add_text_line("Shipping Total: ".star_cloudprnt_get_codepage_currency_symbol().$order->get_shipping_total());
    $printer->add_text_line("Shipping Tax: ".star_cloudprnt_get_codepage_currency_symbol().$order->get_shipping_tax());
    Thread Starter cgabelli

    (@cgabelli)

    Great! ty

    problem solved

    • This reply was modified 3 years, 8 months ago by galib32.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shipping total cost’ is closed to new replies.