Okay
  Public Ticket #2297214
Custom Fields
Closed

Comments

  •  14
    bluegraphics started the conversation

    Hello. 

    I am working on the update of a customer's site, and while staging their current site, and setting up Kalium, I have an issue with the custom fields they were using are not showing on the frontend when Kalium is active. 

    I have researched but haven't found the right turnaround to fix this. 

    Is this something you guys could help me with, please?


  •  1,558
    Laborator replied

    Hi there,

    Can you please be more specific by including any screenshot and letting us know which custom fields you are mentioning.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  14
    bluegraphics replied

    Hello Art, 

    thanks for your initial answer. Here are a few screen shots of what I am looking at. Some categories created, that are used on product pages, that then do not display at the front end. What am I missing?

  • [deleted] replied

    Hi bluegraphics,

    I understand the issue here. Unless you implement the code to render the fields on frontend these field groups will not show automatically if you have assigned them.

    To show for example a simple text field you have created for a product, you should firstly add the code in PHP for the right template. For example if you want to add code in product page under the add to cart button then do this way:


    add_filter( 'woocommerce_single_product_summary', function() {
        echo 'Product Sample Field: ';
        echo get_field( 'my_custom_text_field' );
    } );
    For more information how can you implement ACF to frontend you can watch these code examples:

    https://www.advancedcustomfields.com/resources/code-examples/

    I hope this helps you.

  •  14
    bluegraphics replied

    thank you. It does help. 
    Will look into this more carefully.

    thanks!
    G