Home › Forums › WoodMart support forum › Patterns and size name shows up
Patterns and size name shows up
- This topic has 14 replies, 2 voices, and was last updated 5 years, 4 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 3, 2019 at 10:36 am #148226
KHParticipantHi, why it show like this. Pls see screenshot.
Attachments:
You must be logged in to view attached files.October 3, 2019 at 1:27 pm #148271
Aizaz Imtiaz AwanKeymasterHello,
I have test your site. Actually that is a variable product with multiple variations so that’s why the selected attributes of product shown with their names in the cart.
Pattern is the attribute which you added to that product. So when you add the variable product in your cart those attributes shown in your cart sidebar.
If you want to hide them you can remove them from the attributes option in the product.
Screenshot: https://jmp.sh/pNwMqW9But in this way the attribute also removed from the product page as well. So it’s better to display those attributes in cart.
Best Regards.
October 3, 2019 at 2:41 pm #148300
KHParticipantWhy for this product it doesn’t show the pattern? Pattern name and size are separated by comma. Everything is same setting. See screenshots.
Attachments:
You must be logged in to view attached files.October 4, 2019 at 11:04 am #148410
Aizaz Imtiaz AwanKeymasterHello,
You can check in the screenshot that the attributes name not shown now because of only two attributes:
Screenshot: https://jmp.sh/JpvP8EI
Actually this is the default functionality of woocommerce. Whenever you use three attributes in your product and generate variations for that product and then add that product to cart. It will display the attribute names before the variations as in the screenshot: https://jmp.sh/tKdIMvA
But whenever you used one or two attributes which are less than three then the attribute names will not shown along with the variations in the cart and they just separated as in the below screenshot: https://jmp.sh/MrMxOKV
Best Regards.
October 6, 2019 at 4:07 pm #148718
KHParticipantActually this is the default functionality of woocommerce. Whenever you use three attributes in your product and generate variations for that product and then add that product to cart. It will display the attribute names before the variations as in the screenshot: https://jmp.sh/tKdIMvA
–> No, I use only two attributes, not three, it still show. Look at this screenshot https://www.dropbox.com/s/jhkofsqp79ivz17/sc8.jpg?dl=0
But whenever you used one or two attributes which are less than three then the attribute names will not shown along with the variations in the cart and they just separated as in the below screenshot: https://jmp.sh/MrMxOKV
–> No, I use only two but it shows. Look at this screenshot https://www.dropbox.com/s/jhkofsqp79ivz17/sc8.jpg?dl=0
October 6, 2019 at 4:10 pm #148719
KHParticipantIf it shows, no problem, I can use this code to hide it
.item-variation-name {display:none;}
But I just don’t understand your explanation.
October 7, 2019 at 7:27 am #148822
Aizaz Imtiaz AwanKeymasterHello,
I have test the same product in your site and noticed that you have used three attributes for that product. As I already told you that if you have more than 2 attributes the attribute name will be shown in the minicart so it is the default functionality of the Woocommerce, If you set the 2 attributes for the product then you will see the variations in the mini cart with Comma instead of attribute heading:
https://jmp.sh/Eon2PDGAs you said that the css code also works for you, You can use it if you want to:
.item-variation-name {display:none;}
Best Regards.
October 8, 2019 at 3:42 am #148980
KHParticipantHere I have more than two attributes, still it shows https://www.dropbox.com/s/3z1htt9f3mkuw8u/sc9.png?dl=0
October 8, 2019 at 6:47 am #149008
Aizaz Imtiaz AwanKeymasterHello,
Yes that product have three attributes not the variations and the third one brand is not used for variations if you check your product form the backend: https://jmp.sh/78D8vPX
And that’s what i asked you before that whenever you have more than 2 attributes then the names of attributes will be shown in the cart and this product is the live example.
Best Regards.
October 8, 2019 at 11:50 am #149077
KHParticipantMy point is about the comma. This product has only two variation, just wanna know why such variations are separated by comma.
https://www.dropbox.com/s/m6vwbxt2e71yjjw/collage.jpg?dl=0October 8, 2019 at 2:21 pm #149112
Aizaz Imtiaz AwanKeymasterHello,
Yes, you do not put a check on the third one that’s why it is separated by commas as the count of attribute is not more than two. When you put a check on the third attribute and then create variations then the attribute names will shown except of coma: https://jmp.sh/E269rR3
Product settings: https://jmp.sh/1uv1sa4
Best Regards.
October 9, 2019 at 6:49 am #149191
KHParticipantThis one, who no comma? I didn’t put a check on it. https://www.dropbox.com/s/zvgere1rubrmio7/sc10.png?dl=0
October 9, 2019 at 8:17 am #149207
Aizaz Imtiaz AwanKeymasterHello,
If you used two attributes then comma will shown in the cart between the variations and attribute names will not.
Two attributes: https://jmp.sh/Fd6iOTQ
Result: https://jmp.sh/c10owMz
If attributes are three and the third one not used for variation then you add the product to cart then it also show a comma between the two selected variations and attribute names will not shown.
Three attributes but third one not used: https://jmp.sh/cPeCnOf
Result: https://jmp.sh/vPGAIRi
If the third attribute is checked as “Used for variations” and variations added for that attribute also then in the result the comma will not shown the attributes name will be shown in the cart:
Three attributes: https://jmp.sh/NGo7h1d
All three also used variations: https://jmp.sh/zCExuhb
Result: https://jmp.sh/UgArgm4
In your case when you used the only three attributes and did not check the third one for variation it display like this: https://jmp.sh/45h2z8s
Product Setting: https://jmp.sh/PyhNCvn
And this is the normal expected look that the attribute names did not used while using two attributes for variations.Hope you get my point.
Best Regards.
October 12, 2019 at 3:53 pm #149814
KHParticipantVery confused. Forget it. Anyway I will hide it.
October 14, 2019 at 5:10 am #149918
Aizaz Imtiaz AwanKeymasterHello,
Sure you can hide it.
If you need any help in future, please feel free to contact us anytime, we are always here to help you.
Thanks for contacting us,
Have a great day:-)
Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘Patterns and size name shows up’ is closed to new replies.
- You must be logged in to create new topics. Login / Register