Skip Navigation

[Resolved] Can't get rid of toolsetCommonEs styleToHead in Woocommerce tab

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Waqar 1 year, 9 months ago.

Assisted by: Waqar.

Author
Posts
#2554295

I'm using Toolset to add information in tabs in Woocommerce. You have given me some CSS code to hide a lot of junk code, but I can't get rid of the last line "toolsetCommonEs.styleToHead()".

I've inactivated all plugins and used a standard theme, it didn't help. I tried the "suppress filter true" idea from another support thread, but it didn't solve it.

The problem is on all products in the second tab.

Grateful for any help,
Stina

#2554829

Hi Stina,

I recall suggesting the custom CSS code in the last ticket and I'll be happy to take a look at this again.

Can you please share temporary admin login details, along with the link to an example product page, where this line can be seen?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2558183

Hi, I'm waiting for another support team. Right now, the tabs with the problem are not visible. I'll get back to you as soon as that problem is solved. Thank you for your patience.

#2558487

Sure please take your time and I'll wait to hear back from you.

#2560891

Hi again, Now the other problem is solved and time to solve this one 🙂
So, if you look at any book on the site, you'll see four tabs, the second one starts with "toolsetCommonEs.styleToHead()". It's always the second one that has the code, even if I shift the places of the second and the third tabs.

I've added the CSS:
.get_custom_product_tab_data .tces-js-style-encoded {
display: none ;
}

This takes away most of it, but not this last part because it's not inside a container I can reach with CSS.

For example:
hidden link

Please tell me if you need any logins.

Thank you!
Stina

#2563007

For removing stray text/string like this, you can include some custom script in the content template.

For example:


jQuery(document).ready(function( $ ) {
	$(".get_custom_product_tab_data").each(function() {
		$(this).html($(this).html().replace('toolsetCommonEs.styleToHead()',""));
	});
});