Custom Fields
Re-Envisioned
Support MB Views Woocommere field in views

  • Creator
    Topic
  • #29706
    Resolved Erik
    Participant

    Hi,
    I want to make a view to display somme product on a homepage of a site.

    I achieve this

    {% set args = { post_type: 'product', posts_per_page: -1 } %}
    {% set posts = mb.get_posts( args ) %}
    {% for post in posts %}
    <h3>{{ post.post_title }}</h3>
    <p>{{ post.post_content }}</p>
    {% endfor %}

    How can i insert the other field like price and small description
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.