Home New Guten › Forums › WoodMart support forum › Add attributes to the product title h1
Add attributes to the product title h1
- This topic has 5 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
June 19, 2025 at 11:38 pm #668547
destyle25ParticipantHi.
I want to add several attributes to the product title on the product page. How do I do this?Attachments:
You must be logged in to view attached files.June 20, 2025 at 12:45 pm #668654
Aizaz Imtiaz AwanKeymasterHello,
Yes, since you’re using a custom layout for the single product page, there are two ways to show multiple attributes near the product title or elsewhere on the page:
Using the “Product additional information table” widget:
In your custom layout, you can drag and drop the Product additional information widget (available in the layout builder). This will display all assigned attributes in a clean table format: https://ibb.co/RTGbnv16
Additionally, there is the option in theme settings. Navigate to Theme Settings > Single Product > Elements, and enable the option “Show attributes table after short description.” This automatically displays all attributes below the short description area.
Best Regards,
June 22, 2025 at 1:47 am #668895
destyle25ParticipantYes, I use it in the details section. But I need to make a custom h1 header. For example:
<h1>{Category} {Brand} {Product Name} {Article}</h1>-
This reply was modified 1 month, 3 weeks ago by
destyle25.
June 23, 2025 at 10:19 am #669008
Aizaz Imtiaz AwanKeymasterHello,
Sorry, but I did not understand your requirements properly. Can you please explain it with an example or share some screenshots?
Best Regards,
June 24, 2025 at 10:24 am #669296
destyle25ParticipantHi.
I have a product. Its name in the admin panel is Толстовка Puma Team Hoodie ‘Green’ 539274-24.
I have set up the Product Page layout via Gutenberg. The “Product name” block is responsible for the title. This block inserts <h1>Толстовка Puma Team Hoodie ‘Green’ 539274-24</h1>But the problem is that the actual product name is only Team Hoodie ‘Green’.
Толстовка — is a category,
Puma — is a brand,
539274-24 — is an article numberNow I have to call the products that way because I can’t make a composite h1 according to the scheme <h1> {Category} {Brand} {Product name} {Article}</h1>
Can you help me so that inside the h1 tags I can specify which attributes and other product data the title should consist of? So that the header of the attributes is automatically generated in the front-end, and is not rigidly written in the backend for the product, as it is now.
Attachments:
You must be logged in to view attached files.June 24, 2025 at 1:12 pm #669349
Aizaz Imtiaz AwanKeymasterHello,
Unfortunately, it is not possible. The HTML structure does not allow solving it. Such modification requires complicated WooCommerce code customization, which is not covered by our support.
Best Regards,
-
This reply was modified 1 month, 3 weeks ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register