DP & Advanced Custom Fields

Home Forums General Help DP & Advanced Custom Fields

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2135
    Eric
    Guest

    Hello again. It seems I’m having trouble wrapping my head around these custom fields. Correct me if I’m wrong:

    – DP uses custom fields in posts to add info to products
    – DP provides a nice GUI for the ‘duka’ custom post type
    – You can use your own custom post type by adding custom fields

    I’ve run through the documentation but am probably missing something. I would like to use Advanced Custom Fields to provide the price etc fields for my custom post type, but for whatever reason I can’t get anything to show up in the grid views.

    Side note: the grid view shortcode is properly configured, it works great for post_type=’duka’, just not anything else.

    Could I be naming my advanced custom fields incorrectly? Can I even use ACF? The price one doesn’t get any simpler – I named it ‘price’.

    Anyway, thanks for any ideas you might have 🙂

    #2136
    Eric
    Guest

    Oh man, brutal. Answering my own question, not even 5 minutes later… turns out I was requesting the third shop page when only 1 existed. *1.5hr facepalm*

    Advanced Custom Fields works great! For those interested, the fields can be found here: http://dukapress.org/docs/custom-fields-used/

    The bold parts are what you should name your advanced custom fields: price, dropdown_option, currently_in_stock, item_weight, and digital_file. I haven’t actually played with anything other than the price so take that with a grain of salt, but it’s a relief to find out that this works 😀

    #2140
    Kelvin
    Keymaster

    Sorry we got here late, but glad you figured it out!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘DP & Advanced Custom Fields’ is closed to new replies.
© 2024 DukaPress. All rights reserved.
Design By Madoido.