Home › Forums › WoodMart support forum › Single product labels
Single product labels
- This topic has 8 replies, 2 voices, and was last updated 1 year, 6 months ago by
Hung Pham.
-
AuthorPosts
-
January 17, 2024 at 2:09 pm #530782
gordan.petrovicParticipantHi people,
I went through your documentation and regarding product labels, even the custom ones, everything works like a charm.
I’d like to know if there is a way to display discount label, or any other attribute related label on single product page? On top of the featured image to be exact.
Best,
GordanJanuary 18, 2024 at 8:15 am #531019
Hung PhamKeymasterHi gordan.petrovic,
Thank you for reaching to us.
In WoodMart, there is an option
Show attribute label on products
https://monosnap.com/file/8lNyPZLW7vpsjUClLkKPw2rxwT5DFT with the help of which the term will be displayed https://prnt.sc/S4BjhAdyCQGPPlease read our documentation for more details https://xtemos.com/docs-topic/product-labels/
Regards,
January 18, 2024 at 1:22 pm #531140
gordan.petrovicParticipantThank you for response.
That’s exactly what I did. I have labels available on product archive pages but I want them also to show on single product page.
Is that even possible? Perhaps you should consider that feature.
January 18, 2024 at 2:21 pm #531176
Hung PhamKeymasterHi gordan.petrovic,
Please add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
body:not(.single-product) .product-labels.labels-rounded .product-label.label-attribute-pa_brand { display: none; }
You can replace
pa_brand
with your attribute name, such as:pa_discount
Regards,
January 18, 2024 at 2:26 pm #531178
gordan.petrovicParticipantThe detailed informations are in hidden section
January 18, 2024 at 3:51 pm #531219
Hung PhamKeymasterHi gordan.petrovic,
Please remove previous Custom Code and try below one:
body:not(.single-product) .product-labels.labels-rectangular .product-label { display: none; }
Regards,
January 19, 2024 at 8:06 am #531389
Hung PhamKeymasterHi gordan.petrovic,
Please provide me temporary wp-admin info (wp-admin URL, username, password) to Private Content area, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
January 19, 2024 at 12:05 pm #531463
gordan.petrovicParticipantThanks.
I’ve found the way to fix it. I’d like to ask you for a favor, posted in “Extra information” section of this post. 😉
Thanks in advance.
Best,
GordanJanuary 19, 2024 at 6:59 pm #531664
Hung PhamKeymasterHi gordan.petrovic,
Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!
I deleted that replies.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register