Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

sell musics

MultivendorX

Tagged: ,

Resolved
Viewing 16 reply threads
  • Author
    Posts
    • #189900
      2ki
      Participant

      Good morning,

      I would like to sell music with other people.
      When I’m on the product creation page on the dashboard, I can only put an image. How it will be possible that the seller can upload a sound file via the dashboard to sell it on my site?

      Best regards

    • #189903
      2ki
      Participant

      And I would like to add additional text on the same page. Can you tell me which file to edit. THANKS

    • #189940

      Hi thanks for your query .
      As you can see this is product image uploader, so you can only upload images :
      https://prnt.sc/4k0q_TPfe7HY

      You can upload files of your product by checking the Downloadable box https://prnt.sc/peitC0t6CBKA in the product metadata field and you will get the option of adding downloadable files https://prnt.sc/jypcuV9lUPBB

      Now where do you want to add additional text messages, kindly share a screenshot. So we can assist you out accordingly.

    • #189967
      2ki
      Participant

      Thank you very much, I was able to make the changes.

      Is it possible to make fields always visible and actived ?

    • #189970
      2ki
      Participant

      at I would also like to remove the two lines in the screenshot. THANKS

    • #190004

      Please translate the pages into english, then share the images again.

    • #190010
      2ki
      Participant
      This reply has been marked as private.
    • #190048

      Hello @2ki, The scrrenshot you have shared is from WooCommerce add product page, do you want to remove the same for vendor’s add product page? Then all you have to do is override the “ edit-product.php” template file. You will get further instruction on how to override here https://github.com/multivendorx/MultiVendorX/blob/main/templates/vendor-dashboard/product-manager/edit-product.php

      To set product as default virtual and downloadable enabled, add this code in the function.php of the theme :

      add_filter( 'mvx_product_type_options', 'autocheck_vd');
      
      function autocheck_vd( $options ){
          $arr['virtual']['default'] = "yes"; 
          $arr['downloadable']['default'] = "yes"; 
          return $options;
      }
      Copy
    • #190053
      2ki
      Participant

      “Hello @2ki, The scrrenshot you have shared is from WooCommerce add product page, do you want to remove the same for vendor’s add product page? ”

      – Yes that is exactly what I am trying to do

      To set product as default virtual and downloadable enabled, add this code in the function.php of the theme : PERFECT

    • #190054
      2ki
      Participant

      I added the code given in the function.php file in my child theme, but nothing happens. The virtual and downloadable fields are not active.

    • #190070

      Sorry, use this updated code :

      add_filter( 'mvx_product_type_options', 'autocheck_vd');
      
      function autocheck_vd( $options ){
          $options ['virtual']['default'] = "yes"; 
          $options ['downloadable']['default'] = "yes"; 
          return $options;
      }
      Copy
    • #190074
      2ki
      Participant

      THANKS,
      it works very well.

      However, I don’t see where to make the change in the edit-product.php file.
      I can’t find the part of code where to remove “Download limit” and “Download timout”

    • #190084
      2ki
      Participant

      I added this code to remove the fields:

      #_download_limit {
      display: none !important;
      }
      #_download_expiry {
      display: none !important;
      }
      For now I’ll do it like this

    • #190138
      2ki
      Participant
      This reply has been marked as private.
    • #190143

      Hi, as both are taxonomy, hence you can detect whether this is vendor taxonomy by checking with is_tax( ‘dc_vendor_shop’ )

    • #190147
      2ki
      Participant

      All right. But I confess that I do not understand what I have to do with this code. I am a beginner

    • #190172

      @2ki, we are not sure about the flow you are looking for. Can you share some images to explain the query so we can assist you on this.

Viewing 16 reply threads

The topic ‘sell musics’ is closed to new replies.