or If there is a way to replace the brand name to something else with every product with code
Hi @surrainbow
An easy way to do this may be with using CSS code. Can you share a link to your site (and in particular, a page where the Brand shows) so I can see what code is needed to remove it?
Hi thankyou for your reply!
Please see page as requested
Thankyou!
Thank you for the link. Which part on that page would you like to remove exactly? Just the line with the brand name under “Additional Options”?
If that’s the case, the following CSS should help:
.single-product .woocommerce-product-attributes.shop_attributes tr:first-child {
display: none;
}
-
This reply was modified 5 years, 11 months ago by
Senff - a11n.
Thankyou, a question,
What happens if there is already no Brand Name?
And what’s the best way to inject the code?
The code above will remove the entire first line of the Additional Options, regardess of what it says.
To add this code, go into your site’s admin Dashboard and select Appearance → Customize → Additional CSS. In the CSS textbox on the left, add the code.
Select “Save Changes” from the top, and your changes will be applied to your site.
Thankyou. Is there a way to just remove Brand Name? Some of my items don’t have Brand Name in additional information. Are we also able to look for multiple phrases i.e (Brand Name, BrandName)
Thankyou for your help
@senff Are you able to help me with this?
Please do not bump posts.
Is there a way to just remove Brand Name? Some of my items don’t have Brand Name in additional information. Are we also able to look for multiple phrases i.e (Brand Name, BrandName)
This would not be possible with CSS code, you would need to check this with the developer of the plugin you use for brands to see if that can be done in the configuration options. If that’s not available, you’d need to change it in the plugin’s code itself.
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hey @surrainbow
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Thanks,