Title: Shop Name error when adding html formatting
Last modified: August 22, 2023

---

# Shop Name error when adding html formatting

 *  Resolved [kds26](https://wordpress.org/support/users/kds26/)
 * (@kds26)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/)
 * Hi, when I add html formatting to my Shop Name e.g. <h3 align=”right”>SHOP NAME
   </h3> it results in “SHOP NAME”/>” being shown under by logo on the invoice.
 * Could you please advise a fix for this. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [kds26](https://wordpress.org/support/users/kds26/)
 * (@kds26)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/#post-16990767)
 * For now I have added a space to the Shop Name field. And added my Shop name in
   the Shop Address field.
 *  Plugin Contributor [alexmigf](https://wordpress.org/support/users/alexmigf/)
 * (@alexmigf)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/#post-16995127)
 * Hi [@kds26](https://wordpress.org/support/users/kds26/)
 * Can you show us your field with the data please? You can host your image [here](https://imgbb.com).
 *  Thread Starter [kds26](https://wordpress.org/support/users/kds26/)
 * (@kds26)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/#post-16996711)
 * Hi [@alexmigf](https://wordpress.org/support/users/alexmigf/)
 * Please see screenshot here. [https://ibb.co/C2fM8nZ](https://ibb.co/C2fM8nZ)
 * The Shop Name is showing under the logo and also where I want it on the right
   above address details.
 *  Plugin Contributor [alexmigf](https://wordpress.org/support/users/alexmigf/)
 * (@alexmigf)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/#post-16997288)
 * Hi [@kds26](https://wordpress.org/support/users/kds26/)
 * We do some cleaning when saving the setting value, that’s why isn’t working as
   expected in your case.
 * Please add the code snippet below:
 *     ```wp-block-code
       add_filter( 'wpo_wcpdf_shop_name_settings_text', function( $text, $document ) {
       	return '<h3 style="text-align:right;">Solar Camping Australia</h3>';
       }, 10, 2 );
       ```
   
 * If you never worked with filters, please read this documentation page: [How to use filters](https://docs.wpovernight.com/general/how-to-use-filters/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shop Name error when adding html formatting’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [alexmigf](https://wordpress.org/support/users/alexmigf/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/shop-name-error-when-adding-html-formatting/#post-16997288)
 * Status: resolved