• sipakmarcin

    (@sipakmarcin)


    Hello,
    I need help with removing <span></span> from product titles saved in Woocommerce orders. Span is inserted between product title and attributes chosen by customer. I’m using some plugins like klaviyo for Woocommerce and 2 other plugins, that import product title and then use it in communication with customers and in software for orders fulfillment. Is there a simple way to get rid off this span tags?

Viewing 4 replies - 1 through 4 (of 4 total)
  • $(document).ready(function(){
    $(".hideme").hide(); //or $(".hideme").remove();
    });

    Using Javascript to remove/hide span tags that have a certain class

    Thread Starter sipakmarcin

    (@sipakmarcin)

    These spans don’t have any class. I think we need some PHP code for this.

    Use will go to Auto

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @sipakmarcin,

    I understand your concern about the span tags in your product titles.

    Please note that this will require custom coding and helping out with custom coding of this nature is outside the scope of support we can help out with here, although I would recommend the following:

    1. Running the exact question you’re asking, through an AI platform like ChatGPT for recommendations.
    2. Checking whether there are existing plugins in the WordPress plugin repository that might be doing that already.
    3. Joining our WooCommerce Slack community (it does have a developer channel where you can ask coding questions): https://woo.com/community-slack/

    Hope it helps!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.