• Resolved adwjoe

    (@adwjoe)


    Hi,

    I am setting up a bottle shop and designing the eCommerce store to go with it.

    I have setup a test Square inventory and added custom attributes of ‘ABV’ and ‘Brewery’. On the WooCommerce -> Product -> Attributes I have added two new attributes ‘ABV’ and ‘Brewery’.

    In terms of inventory management I will be adding all the relevant data to the products that are for sale on the Square Dashboard and syncing that to WooCommerce. Image, category, price, description, etc. When I sync products I need all that data to come across including the custom attributes.

    Question
    The custom attributes are not appearing. Is there any way to get these?

    There are other fields I would likely need to add. E.g. volume.

    Thank you,
    Joe

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi Joe,

    Question
    The custom attributes are not appearing. Is there any way to get these?
    There are other fields I would likely need to add. E.g. volume.

    The attributes will only get synced for product variations. Setting the custom attributes for simple products or globally is not supported by the sync.

    Are you using product variations in Square?

    Kind regards,

    Thread Starter adwjoe

    (@adwjoe)

    Hi Con S.,

    Thank you for the response.

    Are there plans to support custom attributes?

    I am still learning everything but I am fairly sure I have been using variations.

    On the Item management page, when creating a new item I fill in the “Details” at the top of the page, I skip the “Options”, then fill in the “Variations” section with a single variation, the one product variation that is being sold. There won’t be more than one and the product lines will be constantly changing.

    Underneath “Variations” there is a heading “Custom Attributes”. On there I have added 3 Custom Attributes so far: ABV, Brewery, Container Size. I have applied these custom attributes to all the stock.

    I need those attributes to come over to the website and be applied to the products on WooCommerce. I need it so the information is displayed on the product page, but crucially I need it to be able to create filters for customers to search for what they are looking for. If they want to follow the hype of a particular brewery, if they want to find something of a lower ABV, and so on.

    Thank you,

    Joe

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    There’s not plans currently to sync custom attributes not used for variations.

    I need those attributes to come over to the website and be applied to the products on WooCommerce. I need it so the information is displayed on the product page, but crucially I need it to be able to create filters for customers to search for what they are looking for. If they want to follow the hype of a particular brewery, if they want to find something of a lower ABV, and so on.

    This is definitely something you can do with WooCommerce.

    It sounds like you’d want to create a few global attributes, such as ABV, Brand, Size, etc.

    Here’s the guide to this: https://docs.woocommerce.com/document/managing-product-taxonomies/#section-6

    Make sure you select for the attributes to show on the product page.

    You can also filter on the attributes easily using the built in filters for WooCommerce.

    You would typically add this in via a widget or a block, and the one you are looking for is Filter Products by Attribute – Display a list of attributes to filter products in your store.

    Here’s a guide to using that widget https://docs.woocommerce.com/document/woocommerce-widgets/

    Hopefully that helps! Have a great one!

    Thread Starter adwjoe

    (@adwjoe)

    Why are custom attributes not supported on the import? That’s such a crucial part of running an online store.

    I’ve already added the custom attributes on WooCommerce, but the idea of having to manually go through every product to add the attribute values is quite ridiculous when the data already exists on Square. That is a time-consuming job and there are so many other aspects to running the business that doing the same job twice seems like such a waste of time.

    Could you tell me exactly where on the server the import script is? And where the product data for every product is stored? I am self-hosted with complete access to the files and the database. I’ve been a web developer for the past 10 years so I want to view the scripts where this is managed to see if I can fix this issue.

    Thanks!

    Hi there!

    We are checking these details with our developers, and we will get back to you as soon as possible.

    Feel free to get back to us in the meanwhile if you need further help. ??

    Hi again @adwjoe,

    To answer your questions of:

    Why are custom attributes not supported on the import? That’s such a crucial part of running an online store.

    Right now the import scripts only looks into specific data and doesn’t take into account custom attributes from Square. This is something that may change in the future, but for right now it does not.

    Could you tell me exactly where on the server the import script is? And where the product data for every product is stored?

    You can find the import script here – woocommerce-square/includes/Sync/Product_Import.php

    Thread Starter adwjoe

    (@adwjoe)

    Hi,

    Why has this been marked as resolved? It’s definitely not resolved and I would hate for this topic to be brushed over now that it’s got the resolved tag on it.

    I have submitted a feature request here while I also dig into the code and try to solve it myself, but please could you unmark this as resolved.

    Thank you.

    Cheers,
    Joe

    Hi Joe. Apologies, we close threads if there haven’t been responses for a week, but we usually post a message when we do this to avoid confusion. I can unresolve this thread.

    Just to clarify, though, there isn’t much more that can be done from a support perspective on this issue. Per our support policy, customizations are outside the scope of the support we can offer, but we have a customizations page with resources for contacting a developer for help, if you’d like.

    You can also ask about this on the WooCommerce Slack Community or WooCommerce FB group which are great places for customization questions like this.

    Thread Starter adwjoe

    (@adwjoe)

    Hi Austin M – A11n,

    Thank you for the explanation. And thank you for the links to third party help. I have sent a request to join the Facebook group. Hopefully I can figure this out with some help there.

    Cheers,
    Joe

    Plugin Support stephjacq a11n

    (@stephjacq)

    Automattic Happiness Engineer

    Thanks for the update @adwjoe

    I’ll leave this thread open so you can add your findings here for others to reference.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Import Custom Attributes’ is closed to new replies.