To retrieve the Menu Name:
$menu_name = wp_get_nav_menu_name("menu-products");
Then, using the menu name you can get data like the nav menu:
$term = get_term_by('name', $menu_name, 'nav_menu');
And using the term taxonomy ID you can pull the ACF fields
$menu_id = $term->term_taxonomy_id;
$post_id = 'term_'.$menu_id;
$field = get_field('my_acf_field', $post_id);
To retrieve list of menu Items:
$menu = wp_get_nav_menu_items( $term );
On the CMS side, the ACF Group, you need to select the Rule:
Menu Item | Is equal to | Product Location
Related Posts:
- Is it possible to add custom fields to a WooCommerce attribute term? [closed]
- How to display product price of the product in loop
- Position image widget in mega menu
- Display Advanced Custom Fields value in Woocommerce admin order details
- Display custom field without plugin in woocommerce
- wp_set_object_terms being undone
- Redirect to another page using contact form 7? [closed]
- How to give each category name its own ACF background color?
- Need to check if user has completed a woo commerce payment
- How to show specific admin menu to specific user role?
- WooCommerce and ACF: How to Redirect Upon Add to Cart – Partially Working Example
- ACF in WooCommerce mail template
- creating number of database entries based on users numerical input
- How to store ACF from product in user_meta?
- how to get woocommerce product id by acf field in wordpress and display product
- How to get an Array from “select” field in advanced custom fields
- Insert a custom field as a second email address to a completed order in WooCommerce
- Add field to category woocommerce page
- Custom e-commerce display for specific users [closed]
- acf_form() – “On Update” action [closed]
- Verify if woocommerce supports this design [closed]
- Account Status/Login on Main Menu with Avatar Pictures
- ACF Create Array of All Woocommerce Product IDs with a Checkbox ticked
- WooCommerce: expiring date for products (and on sale some days before)
- Calculate order end date based on date and number of weeks ACF fields
- wc_get_template_part( ‘content’, ‘product’ ) | Where is this file located?
- Create WooCommerce custom stock option that is non-purchasable
- Query multiple post type and categories
- Shipping restrictions with WooCommerce variable products
- WooCommerce – Flat rate shipping based on X quantity steps?
- Custom URL for each product variation – rewrite rules
- Where can I find a single item template
- Change “Shipping” text to “Delivery” everywhere I appears in woocommerce
- Customize WooCommerce orders displayed shipping
- Woocomerce language
- How to set default values in Woocommerce checkout? [closed]
- Payment methods are not displaying in Woocommerce
- How to update the WooCommerce cart Icon to show new products added with JavaScript
- How to configure Woocommerce Payment Methods programmatically?
- Add content to the last slide of each product
- Remove add to cart icon/view product button woocommerce
- Products Shortcode is Displaying Single Product Page Price for all Products [closed]
- Subscription on Checkout
- Woocommerce – display product in page but in list format with excerpt
- Woocommerce is_shop not on page slug? [closed]
- Debugging why featured images have stopped showing in WooCommerce on the homepage [closed]
- WooCommerce minimum order amount for specific country excluding local pickup [closed]
- woocommerce list product by id
- Woocommerce Login Redirect to old domain
- CF7 Ajax isn’t working when called inside WooCommerce “woocommerce_before_add_to_cart_button” hook [closed]
- How to change a WooCommerce Subscription Deposit and Monthly Payment? [closed]
- How to display WooCommerce product tag names on home and category pages
- Specifically Link To the “Leave a review” part of product page? [closed]
- Variation Swatches for WooCommerce – too many variations
- Show different menu on each woocommerce category page
- Can’t hide product attributes with css on WooCommerce Product Page
- Updating product image
- Split in 2 columns add to cart button and variable forms
- Images not uploading on product page of woocommercr
- How to access WC()->cart in CF7 hook wpcf7_special_mail_tags
- How to integrate e-transfers with checkout in WooCommerce
- Manual Admin Orders search for billing_company
- Woocommerce to get restaurant table numbers in the checkout fields from the url
- Send all emails to Shop Manager along with admin
- Snippet to copy product affiliate link to a custom field
- UX Builder not loading for product description edits
- I need help with storefront theme shop page
- How to get rid of variations with unspecified attributes
- How to upload very large JPGs to Media Library for WooCommerce digital download prints
- use vendor address instead of store main address for shipping and taxes calculation
- where does $checkout in form-checkout.php woocommerce come from? [closed]
- woocommerce add button underneath order details
- How to trace errors in debug.log for WooCommerce 3.0?
- Auto set Woocommerce product ID as SKU on save
- I want to show always 4 category boxes everytime in woocommerce
- Empty Cart on just mobile and Microsoft edge browser
- Possible to have multiple Authorize.net accounts on the same site?
- Allow HTML in product attributes for WooCommerce
- WP All import sale price 0 [closed]
- WooCommerce database upgrade behaviour
- How to neutralize a parent theme php template?
- Import download attachment from woocommerce product
- Echo a String Based On Geolocation? [Woocommerce || ACF]
- Understanding WooCommerce Build-In Geolocation/ Geo_IP classes
- Same WooComerce shop for different WP sites?
- Custom Shipping Method: need non-instance settings and non-global settings
- Menu’s built in the edit theme view do not have active states set when on child pages
- how to query single product in woocommerce? [closed]
- Woocommerce 404 after chang default language
- When creating a new order (on the dashboard) how can I get the ID of the selected customer
- Setup WooCommerce to properly handle inventory with variable product?
- Link Back to Parent Category – Woocommerce
- Why does have_comments return false but get_comments return array of commemts?
- WooCommerce: I Need to hide my page title/header (including menu) from all the WooCommerce related product pages, such as category and keyword pages
- How to add another ordercomments field to woocommerce checkout
- Select Child Attributes Based on Parent [closed]
- How to get all child categories of current parent category in product detail page of woocommerce? [closed]
- Mandatory Fields For WooCommerce Products Before Publishing
- In woo commerce , Products change back to “Draft” from “published” automatically after it is purchased on the woo commerce shop page.Theme WP rentals [closed]
- how to refrence woocommerce blocks in code?