• Resolved kandap

    (@kandap)


    We have built 3 custom attributes for each product where we store brand, feedsku, and upc. We are no longer able to find brand and feedsku in the Attribute Value pulldown that shows store variables. We used to be able to see all 3 of our custom attributes.

    Looking at the code, I see this query to populate the Value pulldown:

    SELECT meta_key as name, meta_value as type FROM wp_postmeta group by meta_key

    This will get ALL the custom postmeta rows in the entire wp_postmeta table which will give you all the specific postmeta variables that may have been setup for any product or even just regular post in the ENTIRE wordpress database.

    Two questions:

    1) CUSTOM WOOCOMMERCE PRODUCT ATTRIBUTES are actually stored in ONE row in that table called _product_attributes. In order to offer those as options you would have to traverse that array of product_attributes, which the plugin did at one time I think. I do see reference to it in the code in a few places, but it’s definitely not traversing it to offer as options in the dropdown. Was functionality changed with regards to the Value pulldown options?

    2) Could the dropdown be limited to just custom attributes for PRODUCTS which are a specific post type instead of the entire range of posts that may have meta? That would make the dropdown smaller it seems but get everything that normally applies to the mapping process. Right now, it will include ANY post meta, even if it has no relation to a Woocommerce PRODUCT at all.

    It doesn’t seem like this question needs me to submit a debug file but let me know if that would help. We are operating off of a manual feed right now so the dynamic is not fully configured.

    Thanks, Karen

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Karen,

    Our apologies for the late reply to this topic. We did not realise in-time you were an Elite user. Now let’s get back to your questions:

    1.) Nothing has changed with regards to the values in the dropdown forms. We definitely did not remove any functionality from it;

    2.) I understand that the drop-downs are long, which sometimes makes it hard to find the right attribute. However, even though you might not be using attributes that are not directly related to products other users are. If we would just ‘remove’ those it would break the filters/rules and mappings they created for their product feeds.

    That being said, I will reach out to your email to see how we can sort the issue at hand.

    All the best,
    Eva

    Follow-up by mail so closing this issue for housekeeping reasons.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product Attribute Value Pull Down Not Showing All Variables’ is closed to new replies.