Support

Account

Home Forums Front-end Issues Product Custom Fields in WooCommerce cart

Solved

Product Custom Fields in WooCommerce cart

  • Hello !!
    I’m using ACF for almost all website I create as it gives me the opportunity to customize a lot and fits almost all needs ! Love it.

    I have an issue for a specific issue.

    I use WooCommerce and have customs fields inside my products (year of creation, custom description, origin of the product and more).

    I tried to show some of those fields on the cart page after the product name.
    But I found no way to show them. I tried the ACF boolean testing method that return a FALSE 0.

    Do you have any hint to implement this and show my custom fields in my cart page ?

    Thanks a lot !

    Guillaume

  • Just to say I managed to do it !

    For those in the same situation, I just forgot to input the ID of my product in the function that calls my field…

    I felt dumb.. !

  • Do you mind sharing the code that made it work?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.