WordPress.org

Forums

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

  1. Candymuse
    Member
    Posted 1 year 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,
    Candy

    http://wordpress.org/plugins/woocommerce/

  2. Candymuse
    Member
    Posted 1 year 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 - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic