Integration with Advanced Custom Fields

Hello everyone,

I'm currently building an e-commerce site using BeTheme, WooCommerce, and ACF.

I've created a checkbox group (named "extras") with ACF and associated it with the products. This group allows users to select additional options for a product.

However, I'm having trouble displaying the selected values on the front-end. The shortcode {acf:extras} doesn't seem to work with the checkbox field.

Has anyone encountered this issue before, or do you have any suggestions on how to solve it?

Thanks in advance for your help!

Best regards!

Comments

  • Hi,

    Betheme supports only simple text based values.

    https://www.advancedcustomfields.com/resources/shortcode/#limitations

    So it means that groups cannot be used and they will not work.


    Best regards

  • edited May 5

    Plain text isn't working now either. Since you can't create in ACF a custom field OUTSIDE a group, I guess.

    It isn't working for me no matter what I try. Enabling shortcodes, adding the activate to the functions.php file, even simple plain text fields. NOTHING.

    Tried to add them to a query loop and it does nothing...

  • Hi @tradeart,

    By plain text, do you mean string-based values?

    Plain text is the name of a BeBuilder element, so I am not sure what you mean.

    Please check if you create it as described in the following video tutorial:

    https://support.muffingroup.com/video-tutorials/advanced-custom-fields-in-action-with-bebuilder/

    What is not supported are all kinds of ACF array fields like galleries or groups, and if you are trying to add them then they will not work.


    Best regards

  • The previous comment by your team says "Betheme supports only simple text based values." which was what I created.

    Then I added them to a simple text element and enabled the shortcode rendering for that field...

    But in my query loops these values were always empty no matter what I tried.

    I never looked on individual portfolio item pages - I didn't actually get that far.

    If you believe it is supposed to work in these index pages (loops) then I'll rebuild an example to show you.

    Maybe they don't work there?

    Thanks!

  • @tradeart,

    Please send us the WordPress dashboard access privately through the contact form, which is on the right side at https://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Sending incorrect or incomplete data will result in a longer response time.

    Therefore, please ensure that the data you send are complete and correct.

    Thanks

  • Good evening.

    I've added access to the form supplied.

    The page the loop is on is called TradeCycle for PS Mockup

    The ACF fields are price and stock_number

    I've re-added the plugin, recreated the fields, populated the first portfolio item for testing with values in those fields. Its the one with the pic.

    I've also re-edited my functions.php file following their instructions to activate the shortcode, but it doesn't work either way.

    I'm probably missing something, but right now I can't tell if its a compatibility issue or not finding good instructions, since I can't seem to make the plugin work at all.

    Thanks!

    Chris

  • I just checked your website, and ACF fields work properly:

    Please check the BeSupport test page I created on your website.


    Best regards

  • Can you tell me where you found instructions to add it like this? If I had those instructions I would never had needed to ask for help. I looked everywhere I could think of before asking for help.

    {acf:price} works perfectly using curly braces.

    The reason I asked where you found that info is that it doesn't follow any of the instructions I could find from ACF.

    Their instructions say to use brackets: [acf field="price"]. Its even on the page that was in a previous comment above...

    It also doesn't require editing to functions.php for this to work, which that page claims.

    Would you mind explaining how you just KNEW to use a different format? Even knowing what works I can't find any reference to this method in their docs anywhere.

    Man documentation is simply abysmal everywhere lol. It must be a nightmare being a theme creator with such awful 3rd party documentation everywhere.

    I'm sorry I needed to bother you with this.

    Thank you for your help.

  • Nevermind - I found it.

    It's completely miserable to have to SLOWLY GO THROUGH A WHOLE VIDEO (or multiple videos) TO MAYBE, POSSIBLY, FIND a format that should just be written.

    I've been begging you guys to take just ~2 hours and print transcripts for your videos for help files. Youtube already provides them for your videos. Just add them to your help index. I guarantee you will save COUNTLESS HOURS replying to tickets when people can actually search for answers instead of guessing which hours of videos they have to watch to get a 20 second answer.

    PLEASE PLEASE HELP US WITH searchable text.

    I cannot be the only person who is forever frustrated by this. UGH

  • I have sent you a link to the video tutorial explaining that in the first message to you:

    Anyway, we will take your suggestion about the transcript into account.


    Best regards

  • First, let me apologize. I was computer raging a little bit yesterday.

    Its true it was partly my own fault, and partly because it really is quite unreasonable to require that people spend so much time to very slowly watch a whole vide on the off chance their answer might be somewhere in the video. Videos are great - just not by themselves. For what its worth, this is a comparison of 5 seconds to 5 minutes.

    It would have taken 5 seconds to find that format in text, and 5 minutes to find it in the video. People do not have that kind of time to do something this basic.

    That said, yes, I should have watched the entire video before commenting back.

    So I apologize for venting on you.

    I'm a very big fan of BeTheme. I know your users will be much happier if you add searchable and written documentation they can skim through for a simple answer like this one: "use curly braces instead of brackets".... :)

    Thanks for the help and patience

  • @tradeart,

    No worries. Everybody occasionally gets frustrated about something, and emotions run high. I am not mad, and I appreciate the apology.

    Also, you are right that transcripts would be useful and may shorten the time spent searching for the solution, and that is why I passed this suggestion on to the team.


    I wish you a pleasant weekend,

    Best regards

Sign In or Register to comment.