• Resolved pinnosea

    (@pinnosea)


    Hello, I am totally new to creating feeds. I am currently using another plugin but thinking about switching to ctx. Could someone please tell me how we can create custom product attributes such as “color” and “size” for each individual product variation. I saw this video https://www.youtube.com/watch?v=ueqDSr0FE7U&t=289s but it only tells us how to do it for the entire product.

    The plugin I use currently allows me to do that and input the values manually per product per variation. You can see it from the image here: https://ibb.co/Y367qDK How can I achive the same thing using CTX please?

    I appreciate your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thanks for reaching us,

    For creating custom attributes Color and Size for variations, you can use ACF and then use the attribute while configuring your feed. The feed will retrieve the attribute from your variation’s custom fields.

    When using WooCommerce, variations can be created based on attributes such as size and color. If variations are created this way, there is no need to create custom attributes for a variation as the variations itself created via color, and size and they already have these attributes. For a better understanding, you can follow this article.

    • This reply was modified 8 months, 3 weeks ago by Shahed.
    Thread Starter pinnosea

    (@pinnosea)

    Hello Shahed,
    Thanks for your reply.
    We import products to our site from our suppliers and the attribute information is quite messed up. For example, red color is sometimes set as “red” as attribute but sometimes they are set as just random number or in a different language. It will take us less time to just define new attribute for each variation than just redo everything. You mentioned that “you can use ACF and then use the attribute while configuring your feed. The feed will retrieve the attribute from your variation’s custom fields.” but do you have a tutorial that explain this more? the video i watched shows how to add attributes on product level using ACF but not for variations.

    Thanks again for your kind help.

    Hello,

    Thanks for reaching us,

    If you aren’t using the custom fields from CTX Feed for anything else, I suggest using it to handle your size and color. It will add these custom fields to your product page within variations. The values from these fields can be retrieved using these attributes. If you are used to ACF, the process for creating custom fields and using them will remain the same just make sure that you’re using the attribute that comes from ACF and make sure you’re using the latest version of CTX Feed.

    • This reply was modified 8 months, 3 weeks ago by Shahed.
    • This reply was modified 8 months, 3 weeks ago by Shahed.
    • This reply was modified 8 months, 3 weeks ago by Shahed.
    • This reply was modified 8 months, 3 weeks ago by Shahed.
    Thread Starter pinnosea

    (@pinnosea)

    Hello Shahed,

    Thanks for the info, I was able to find the custom fields in settings. I also see theese custom attribute fields showing up under each product variation tabs. Could you please further explain how we can:

    1. Set default information for custom fields but in a way that we can still overwrite them. For example, how can we make it so that GTIN is filled automatically using SKU information already available on the site, but still allow us to change manually wherever needed.

    2. We would like to use one of those Custom fields (Custom field 0, Custom field 1 etc) for Color. How exactly do we link them to our woocommerce color attribute in a way that they will be filled automatically using attribute information already available but still allow us to change wherever we see neccessary. (I am asking this because some of the color names are set as numbers in our wocommerce attribute and we would like to change them to names instead, for example, attribute name “#FF0000” to RED instead)

    Thank you in advance.

    Thread Starter pinnosea

    (@pinnosea)

    Also, I did a test using GTIN attribute. I have it set to the GTIN is showing product ID number. I then went into one of the product varitaions where it allows me to input a value for GTIN for that specific variation. But when I refresh and check the feed again, the GTIN is still showing the product ID number instead of the new value i entered manually.

    Why would you allow us to enter values at the variation levels but the result doesnt show the new value that we add? Did i miss something here?

    Thread Starter pinnosea

    (@pinnosea)

    i have been testing your plugin all day but still cant find a way to override default values set for each attribute. can you confirm that this is not possible with your plugin? thanks

    Thread Starter pinnosea

    (@pinnosea)

    Under “Edit Feed”, I added Age Group attribue and set the default as Adult text.
    https://ibb.co/yQTJvgK

    and then i go to one of the products that need it’s Age Group field set as Kids instead, i see the filed allowing me to enter new values:

    https://ibb.co/37rZtqW

    But when I export the feed and check, all Age Group fields are still showing as Adult. None has been changed to Kids, includng the one I try to override.

    So is this not possible with CTX or how should i do it? the fact that you have the fields editable makes me think that override is possible.

    Hello,

    Thanks for reaching us,

    In the first case, you select the text and enter the value “Adult,” which is considered a static value, resulting in all of your products getting the “adult.” as a value.

    To obtain different dynamic values for each product, you need to use the attribute “Age Group“. By doing so, the feed will retrieve the value from the custom field. If you want to obtain the value conditionally, i.e., if the field contains the value “kids,” then obtain that value; otherwise, obtain the static value “adult,” then you can use Dynamic Attribute.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to create custom attribute per product variation’ is closed to new replies.