ACF Positioning & Order Priority

MultivendorX Pro

Resolved
Viewing 34 reply threads
  • Author
    Posts
    • #193795
      Chris
      Participant

      Hi support,

      The ACF positioning & order priority seems not working in vendor dashboard. It display the custom fields in the same position and order no matter what type of settings are used. I want it to display between the product description and product data tab, how would I do that?

    • #193799
      Chris
      Participant
      This reply has been marked as private.
    • #193801
      Chris
      Participant

      Also, the tab views from ACF field are not working well in vendor dashboard too, like the tabs are separated and there’s no any show/hide/toggle visibility via js or whatsoever for the ACF’s tab fields, as shown in the acf admin view screenshot & acf vendor view screenshot.

    • #193823

      Hello @Chris.
      Acf uses a function which helps to add fields in frontend as the field is added on the backend, now by default ACF does not provide css to add the styles in the frontend.
      By default the custom fields will come at the end of the edit product page on the vendor dashboard.
      Now as you want to have the segmentation on the vendor dashboard so kindly create a staging site and add the custom fields you want to add and share the admin access with us. Our team will provide you with css to improve the style segmentation of the custom fields.

    • #193829
      Chris
      Participant

      I see. This is my current front-end view for edit product page. https://prnt.sc/ckI-hjzCqmZI

    • #193830
      Chris
      Participant

      Do we have any solutions to position the custom fields in the middle between product descriptions section and product tabs section (Position B)? or after the product title section (Position A)? https://prnt.sc/7CvPiDd1FQjc
      Or you can use style segmentation via CSS to achieve this?

    • #193844

      With custom css you can change the positioning of the custom fields on the edit product page.
      But it would be great if you can share the staging site access with us where you have configured the custom fields so that we can help you with the css to improve the style segment.

    • #193952
      Chris
      Participant
      This reply has been marked as private.
    • #193964

      @Chris Our developer has checked that there is no such exact class using which we can modify the style segment of the custom fields.
      But we have asked our developer team to reach out to the ACF team and discuss this. If possible in our future updates we will try to improve the style segment of ACF.

    • #193984
      Chris
      Participant

      Ok, thanks for the effort, and I hope that it would be improved soon because I’ll have lots of ACF fields to be added in the future. But for now, I’ve added some custom CSS to it and since the ACF fields is displaying after my custom field named upload guidelines section, which is added by editing original php file and wrapped inside a div, thus the ACF fields having the additional product details seems weird if its coming after the upload guidelines section where the upload guidelines section is after the original product details. So, is there any possible solutions or hooks that can be used to display my upload guidelines section at the end of the edit product page or after ACF field?

    • #193986
      Chris
      Participant
    • #194016

      Kindly share the code you have added for the guideline section so that we can look into that and help you accordingly.

    • #194232
      Chris
      Participant
      This reply has been marked as private.
    • #194256

      Hi,
      Give us some time, will check this by tomorrow.

      Regards,

    • #194302

      Hi,
      kindly use below hook to add your custom field if you want to add after the product settings tab.

      do_action( 'mvx_after_product_excerpt_metabox_panel', $post->ID );
      Copy

      If you want to add after product description then
      Override this template by copying it to yourtheme/MultiVendorX/vendor-dashboard/product-manager/edit-product.php
      and add your custom fields after line no 164.

      Regards,

    • #194321
      Chris
      Participant

      Thanks, I’ve moved my custom fields added via php template files overriding after the hook do_action( ‘mvx_after_product_tags_metabox_panel’, $post->ID ); to make it appears in the end of the product form. Another question for clarification:
      1) But the ACF field is not available for repositioning at the moment right?
      2) Did the ACF field actually fired through this hook do_action( ‘mvx_after_product_excerpt_metabox_panel’, $post->ID ); or which hook?

    • #194361

      Hi,

      1. ACF field added through below hook, so you can change the position of this hook to repositioning.
      2. ACF field actually fired through this hook

      do_action( 'mvx_frontend_dashboard_after_product_excerpt_metabox_panel', $post->ID );
      Copy

      Regards,

    • #194510
      Chris
      Participant

      Thanks, it helps.

    • #194514

      You are welcome. Happy to hear that.

    • #194831
      Chris
      Participant

      Please help, the ACF fields were gone recently. It was there since last modification on July 12 and existed for a period of time until recently. Tried downgraded MultivendorX version also didn’t resolve. All plugins were disabled. The staging site access is still the same.

    • #194832
      Chris
      Participant

      Saw something new added via browser inspection mode, however the ACF fields were gone, only col-md-8 and col-md-4 appears in browser inspection mode, but there’s no content at all.

    • #194850

      @Chris We tried to log in to your staging site to check the issue with the credentials shared in the thread but those credentials are not working https://prnt.sc/5AIAv5Hktg8K.
      Kindly check and share the correct credentials so that we can check.
      However we have checked our end too and all the custom fields are showing perfectly on the admin and vendor end https://prnt.sc/TaIn3vWoMHG8 https://prnt.sc/xJe_sBEiVucl.
      Please reshare the access again.

    • #194858
      Chris
      Participant
      This reply has been marked as private.
    • #194859
      Chris
      Participant
      This reply has been marked as private.
    • #194895

      @Chris Thanks for explaining the flow.
      As I can understand you want some sudden custom field for some specific category only. But there is no such readymade code on our end. So kindly contact the ACF plugin author if they have any such coding snippet for you. If you can find any such code you can share that with us we will surely help you with the modified code for vendor dashboard.

    • #195093
      Chris
      Participant

      I’ve approached them and waiting for their response. I’ve seen similar post to my situation back into 2020 in their forum and it seems like it doesn’t resolve yet. At the moment, I have a better idea as a workaround for this. In ACF location settings, I choose Post Type as Inventory and the fields were showing at RnB Add Inventory Page (including Add New Inventory Page and Edit Inventory Page) from admin end. But the problem now is that it does not show in the add inventory page via vendor dashboard, which is from vendor end. I think I might need to add something in mvx-pro/rental-pro/templates/html-endpoint-add-inventory.php to fire the ACF hook. Could you please assist in this regard? Or is there any snippets for this?
      Thanks

    • #195094
      Chris
      Participant

      And actually, I think ACF had already has some workaround for this with the post taxonomy. From admin view, the ACF field can actually get rendered out and showing in the Add New Product page. But this is not available in vendor dashboard from vendor end. Check the link below for screen recording on this.

    • #195095
      Chris
      Participant
      This reply has been marked as private.
    • #195138
      This reply has been marked as private.
    • #195162
      Chris
      Participant

      Sure, waiting for the fix on this…

    • #195209

      @Chris, we have checked with the dev team, as you know we have ACF support for products and coupons only.

      Now to add the same for taxonomy fields too, it requires a good amount of custom code.
      The team will provide you with the coding guide so you can add the custom codes.

    • #195221

      Hi,
      We use acf_get_field_groups() core function of Advance Custom Field Plugin to get the fields, You have to study our mvx-pro/advance-custom-fields module.

      Also reach to the ACF plugin help to know how to get the particular fields.

      in MultiVendorX you have to use below hook to add the fields in edit product page –

      do_action( 'mvx_after_product_tags_metabox_panel', $post->ID );
      Copy

      Regards,

    • #194231
      Chris
      Participant
      This reply has been marked as private.
    • #197253

      @Chris we are extremely sorry for the inconvenience. We somehow missed this thread. Kindly let us know if you still need assistance from our end or your query has been resolved already.

    • #215243

      Its been long and we have not heard back from you. We presume your query is resolved now. We are closing this thread. If you need help or face issue in future please create a new support ticket.

Viewing 34 reply threads

The topic ‘ACF Positioning & Order Priority’ is closed to new replies.