• Resolved choutin

    (@choutin)


    action hook added to the function.php is not showing on the pdf. they are showing fine in the email but not pdf file. Any sugessition?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @choutin

    Can you post here your code please?

    Thread Starter choutin

    (@choutin)

    I got it now.
    change the
    add_action( ‘woocommerce_email_before_order_table’, ‘wpo_wcpdf_pickup_time’, 10, 2 );
    function wpo_wcpdf_pickup_time ($template_type, $order) {

    to

    add_action( ‘wpo_wcpdf_after_order_data’, ‘wpo_wcpdf_pickup_time’, 10, 2 );
    function wpo_wcpdf_pickup_time ($template_type, $order) {

    Now just another question. How do you change the size of item_meta/product meta.
    I use the woocommerce-custom-product-addons to add the product options. but on pdf the options is really small. I can change all others size but not the options.
    Here is the link to the product.
    https://acowebs.com/downloads/woocommerce-custom-product-addons/

    Thank you for the help

    Thread Starter choutin

    (@choutin)

    Ok, I have change it on the style.css

    Plugin Contributor alexmigf

    (@alexmigf)

    Hello @choutin

    I’m assuming that you fixed both situations and because of that I’m closing this topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘action hook not display on pdf file’ is closed to new replies.