The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Woocommerce / Payment Gateways - need to remove HTML tags (2 posts)

  1. Candymuse
    Posted 2 years ago #

    My client requires certain formating on Product names so I have added HTML tags to the Product titles. This is working well throughout the site.

    The problem is when a customer goes from Checkout to either Payment Gateway: PayPal and Mijireh, the HTML tags show up.

    I need a way to strip the tags from the Product names but don't know where to code this.

    Site url is: http://gaylemartz.com/

    Specifically going from http://gaylemartz.com/checkout/ and clicking "Place Order"
    Whatever gateway is chosen, the next screen will display with tags.

    Thanks in advance for any suggestions,


  2. Candymuse
    Posted 2 years ago #

    I got the PayPal part of this solved with the help of WooThemes support:

    You'd need a custom filter in your functions.php to filter on 'woocommerce_paypal_args'.

    This gist is untested, but should allow you to manipulate the item names before sending to paypal: https://gist.github.com/mikejolley/8180728

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic