Bug link mail for view product.
I have tested my plugin online and in my mail i don't have the link for viwed my product. I have checked all option in fancy plugin, but i don't if have an option for this.
Well i have found in class-admin-order.php the solution, at line 27 i have replaced this:
$url = add_query_arg( array('order' => $order->id, 'item_id' => $item_id), get_permalink( $item['product_id'] ) );
echo sprintf( '<a target="blank" href="%s" style="display: block;font-size: 0.9em;">Voir votre ballon</a>', $url, fpd_get_option('fpd_label_wc_order_email_view') );
with this :
$url = add_query_arg( array('order' => $order->id, 'item_id' => $item_id), get_permalink( $item['product_id'] ) );
echo sprintf( '<a target="blank" href="%s" style="display: block;font-size: 0.9em;">View product</a>', $url, fpd_get_option('fpd_label_wc_order_email_view') );
And now i received correctly the link for viwed my product.
Rafael you have add option for dwonload the PDF with the information it's a good idea, now the best it's attach the pdf when the mail is send at the admin order mail.
Thanks, we'll take a look at it.