• Resolved bulettenberti

    (@bulettenberti)


    I want to add some custom product attributes to my products for internal use only.

    I figured this would be easily achieved by simply unchecking the “Visible on the product page” and “Visible during checkout” checkboxes. However, while this does hide the custom attributes on the product page, they will still show up on the cart page rendering these options completely pointless.

    Is it possible to add custom meta data / attributes to a product that will _not_ be shown on the website? I need it for internal use only, i.e. it is being queried by WC APIs and should not be shown to the customer at all.

    I would prefer if this could be done without any additional plugins or custom code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @bulettenberti,

    I’m not sure how you’ll manage to hide an attribute in the front end without custom code, since out of the box that won’t be possible with the default options of WooCommerce.

    If you’re willing to add custom code you can follow this Stack Overflow question that has a snippet to hide a specific custom attribute from all pages.

    Alternatively, you can consult with a developer who can help you create a custom solution.

    I hope that this helps point you in the right direction. Please let me know if you have any other questions.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you, I’m going to mark this thread as resolved.

    Hopefully, the above information helped you out! If you have further questions, please feel free to open a new topic.

    Cheers.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @bulettenberti Please do not create duplicate topics. I know @rainfallnixfig said create a new topic but that was wrong.

    You can continue here.

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