Home › Forums › WoodMart support forum › woodmart attribute swatch and import custom attributes via CSV
woodmart attribute swatch and import custom attributes via CSV
- This topic has 11 replies, 2 voices, and was last updated 2 years, 9 months ago by
Artem Temos.
-
AuthorPosts
-
June 1, 2022 at 2:33 pm #380471
loraloraParticipantHello
My global attribute “Color” (I entered it into the database and use it for filtering) is “pa_color”. For the swatch attribute , I specify the “pa_color” key in the file CSV ( _woodmart_swatches_attribute ) – and it turns out for the swatch attribute uses the “pa_color” attribute and this attribute is shown as a photo. – ОК
But.
If a custom attribute is used – how can I correctly specify it in the file CSV?
For example: I entered the name of the attribute “My custom attribute 1”, then set the value to “1” for the value of “Attribute 1 global”. What should I specify for my plugin attribute swatches?? pa_…?I asked a question about the export of custom attributes, by the developers of the export / import plugin WooCommerce (this is a standard import WooCommerce).
On the account of how to specify a value for the swatch attribute for custom attributes, they advised to contact you. Here is a link to the question: https://wordpress.org/support/topic/individual-product-attributes-and-their-import/#post-15698773Please help
-
This topic was modified 2 years, 9 months ago by
loralora.
June 1, 2022 at 3:06 pm #380510
Artem TemosKeymasterHello,
Our attribute swatches can be enabled for global attributes only. You can’t enable our theme’s swatch functionality for the custom attribute created for the product only.
Kind Regards
June 1, 2022 at 5:27 pm #380577
loraloraParticipantIs there a “special code”/”setup” to make this possible?
I have a cosmetics category where a lot of products are supposed to have their own color, completely different from the global attribute.
June 1, 2022 at 5:40 pm #380581
loraloraParticipantMaybe it is possible to make it possible to assign a custom attribute from the product card?
Of course, it will take a very long time if suppliers update their products with new imports/exports…
Now it’s just as impossible.Attachments:
You must be logged in to view attached files.June 2, 2022 at 9:12 am #380694
Artem TemosKeymasterUnfortunately, there are no other ways to use swatches. You can add them for global attributes only.
Kind Regards
June 2, 2022 at 9:38 pm #380895
loraloraParticipantI have a question and I need your help.
If I create a custom attribute with one value “Color1” and set it as a single custom attribute to create an additional color (for example, I will assign one name to all custom attributes).
THEN I will get the name of the attribute “Color1” (please look at the photo, it may not be true, but as far as I understand it has some ID.
Maybe you still have additional code to automatically add this id “Color1” to the swatch attribute???
Actually a bit of a weird story, why does this function only work for global attributes? I don’t understand a little the point of making the swatch attribute with limited functionality, not being able to expand it in any way (by analogy with additional paid plugins for the swatch attribute).
I ask you to consider the possibility of expanding the functionality and I consider it very important.
June 2, 2022 at 9:38 pm #380896June 3, 2022 at 9:04 am #380972
Artem TemosKeymasterUnfortunately, there is no custom code for this. We will consider extending this functionality for product custom attributes in the future but, currently, it works with global attributes only.
Kind Regards
June 3, 2022 at 12:41 pm #381029
loraloraParticipantIs there a timeline, within which the issue will be resolved?
June 6, 2022 at 11:24 am #381384
Artem TemosKeymasterIt is not an issue but how our theme and variable products work. We will consider this as a feature request but can’t guarantee that it will be implemented soon.
Kind Regards
June 7, 2022 at 7:17 pm #381745
loraloraParticipantyour answer sounds like: “we will take note of this, but you can wait for many years. And not the fact that we are interested.”
I’m not asking you for a “super new feature”. And the fact that the swatch attribute does not support custom attributes was a new discovery for me, because I was always sure that if you made a swatch attribute, then it is well thought out and I should not worry about it. But in fact it turned out that you have only a limited version and it is not clear when it will be solved, because: “we cannot guarantee you” …
June 8, 2022 at 9:07 am #381811
Artem TemosKeymasterCurrently, it is not technically possible to do this for custom attributes. And it probably will require the whole rebuild for the swatches mechanism that will lead to breaking changes for all our current customers.
Note that the fact it works with global attributes was always stated in our documentation too.Kind Regards
-
This topic was modified 2 years, 9 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register