Bug link mail for view product.

Posted almost 8 years ago by Mike

Post a topic
Answered
M
Mike

 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.

 

0 Votes

D

Deleted Agent posted almost 8 years ago Best Answer

Thanks, we'll take a look at it.

0 Votes


1 Comments

D

Deleted Agent posted almost 8 years ago Answer

Thanks, we'll take a look at it.

0 Votes

Login or Sign up to post a comment