How to remove “Add button” on Attributes

WCMp Core

Resolved
Viewing 6 reply threads
  • Author
    Posts
    • #125811
      ilim
      Participant

      Hi they all,

      I have 4 product attributes. I want these 4 features to come automatically without pressing the add button. I also want to remove the add button. How can I do that? Can you share an example code? Thanks.

    • #125817

      @ilim, thanks for getting in touch with us.

      Can you please translate the page into English and then share the screenshot with us, so we can help you out.

      Looking for your co-operation regarding the same.

      • #125824
        ilim
        Participant

        I have 4 product attributes. I want these 4 features to come automatically without pressing the add button. I also want to remove the add button. How can I do that? Can you share an example code? Thanks.

    • #125837

      Hi @ilim, add this css via WCMp >> Settings >> Vendor >> Vendor frontend >> Custom css :

      button.btn.btn-default.add_attribute {
          display: none !important;
      }
      Copy
      • #125839
        ilim
        Participant

        attributes cannot be added when I put this code.

    • #125852

      @ilim, in order to add the attribute you need the “Add” button. But as you requested to remove them, then I am sorry but the attributes can’t be added.

      So please do check the flow and let us know what kind of modification are you looking for.

      • #125863
        ilim
        Participant

        We have 4 features. We want these 4 features to be added automatically without pressing the Add button.

    • #125888

      @ilim, You can only add the attribute if you press the “Add” button.

      Now I presume you don’t want the vendor to add their own custom attribute? In that case, we can share a css to remove the custom attribute tab.

      Just to keep you posted, if you want the attributes to be added without pressing the Add Button, then you have to do custom code.

      • #125941
        ilim
        Participant

        I just want the attributes to come automatically. That is, without pressing the add button.

    • #125951

      @ilim, in that case it requires a good amount of custom code. Do you have any developer with you so we can guide them with the coding procedure?

      Alternatively, you may hire our service team (https://multivendorx.com/custom-development/) so they can add this feature in your site.

      • #126000
        ilim
        Participant

        my developer is with me now

    • #126078

      Hi,
      Kindly use below hook and add your custom code to set the product attributes,

      after_wcmp_edit_product_endpoint_load
      Copy

      Regards,

Viewing 6 reply threads

The topic ‘How to remove “Add button” on Attributes’ is closed to new replies.