Banner Logo

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

embpri

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • embpri
    Participant

    Hi,

    Thank you for creating the issue, in the meantime you can mark this topic as closed.

    To resolve the issue on my website, I have currently stopped using the CPG (which is not ideal but that’s okay) and reverted back to the default category picker.

    I had to use some additional JS to make sure that Vendors could only pick categories from the last level of a subcategory tree, and only choose one category at any time.

    In my opinion this is the point of using the CPG, and the flow should be changed.

    For anyone having a similar issue, here’s how I solved it on my website:

    
      document.querySelectorAll('.product_cat ul').forEach( (e) => {
        e.parentElement.firstChild.remove();
      } );
    
      document.querySelectorAll('input[name="tax_input[product_cat][]"]').forEach( (e) => {
        e.type = 'radio';
      } );
    
    Copy

    This JS makes all category checkboxes into radio boxes so that only one can be selected at any time, and then it removes the checkbox input from all parent categories so that only categories from the the last level of a tree can be selected.

    embpri
    Participant

    Hi,

    The filter that you provided was perfect, with some additional JS I was able to solve the issue, so please mark this ticket as closed.

    For anyone that has the same or a similar requirement, here’s how I solved it on my site.

    
    jQuery(document).ready(function() {
      jQuery.when(jQuery('a.btn:nth-child(1)').trigger('click')).done(() => {
        document.querySelector('.file_name > input:nth-child(1)').required = true;
        document.querySelector('tbody.ui-sortable > tr:nth-child(1) > td:nth-child(3) > input:nth-child(1)').required = true;
      });
    });
    
    Copy

    I used jQuery to automatically click the “Add File” button in the download section and make the resulting “File Name” and “File Link” fields required by the browser.

    embpri
    Participant

    Hi,

    Thank you very much for your reply. I understand what you’re saying, however this still poses a problem.

    If I disable the CPG, then vendors can choose top-level categories (which I don’t want). The way the CPG is structured only allows vendors to select the last subcategory in the tree (which is the desired flow).

    With the CPG’s structure, it makes sense that the product should only belong to the final subcategory selected, and not in each of the categories selected along the way.

    I don’t want to change the CPG’s flow, just the fact that once a category has been selected from the CPG, the product should ONLY be in that category, and not individually in each of its parents.

    If you could please guide me as to how I can change this behaviour on my own, I’ll be very grateful as this is an important requirement. 🙂

    Thanks.

    embpri
    Participant

    Thank you very much, this works perfectly!

    I just had one last question: is there a way for me to make adding at least one download to the product compulsory? I don’t want vendors to be able to save/publish their products without adding at least one download to it.

    Thanks. 🙂

    embpri
    Participant

    Thank you very much for your assistance Sangita ji, please close this thread. 🙂

    in reply to: Change default vendor storefront header image. #214142
    embpri
    Participant

    Thank you, however I need some more help.

    I took a look at this file but I can’t find how I can replace the default image being used. For additional context; I am using Elementor and the MVX Store Page template that is provided.

    The default image being used is

    dc-woocommerce-multi-vendor/packages/mvx-elementor/assets/images/default-banner.jpg
    Copy

    and I need a way to change this path to another image so that the default banner is changed and doesn’t revert after an update.

    Thanks. 🙂

    in reply to: Conditional fields in Vendor Registration form. #214141
    embpri
    Participant

    Could you please guide me as to how I can create a new field-type in the Registration Form? I will then custom script it to be conditional; but I would like this field to be a part of the Vendor account’s metadata – just like how Location, PayPal Email, and other fields from the Registration Form are a part of the vendor’s profile.

    embpri
    Participant

    Thank you very much; this removes the category from the list, but it is still visible if searched for. Is there a way to remove it form the search as well?

    in reply to: Grammatical errors in default text used; how to fix? #204192
    embpri
    Participant

    Thank you very much, this is exactly the kind of solution I was hoping for! Please close this topic as my issue is resolved. 🙂

    embpri
    Participant

    Thank you very much, please mark this topic as closed. 🙂

    in reply to: Vendor Dashboard: All Products section layout bug. #197416
    embpri
    Participant

    I couldn’t find any conflicting plugin/theme issues, but I fixed this issue using some custom CSS. I’m adding it here so anyone facing the same issue can also fix it the same way.

    
    #product_table_wrapper > div:nth-child(2) {
      width: 100%;
    }
    
    Copy

    Thanks, please close this thread. 🙂

    in reply to: Empty CSV export for Commissions. #195597
    embpri
    Participant

    Thank you, this worked. A silly oversight on my part; thank you again for your prompt reply. 🙂

    in reply to: Cannot select “Stripe Connect” as disbursement method. #195890
    embpri
    Participant

    Hello,

    Thank you for your reply. I am still facing some issues which I require assistance with.

    I am trying to open a marketplace using Stripe Connect where my platform/admin is based in India, and I’m trying to pay out to vendors internationally (basis Stripe availability).

    Now I tried to test payouts using manual withdrawal option, but I am facing errors.

    I wanted to know: how does MultivendorX handle Stripe Connect payouts? Does it create Direct Charges? That seems to be the only option that Stripe supports for making cross-border payments to vendors.

    Also, does “Admin Fee” equate to “Application Fee” (application_fee_amount) in Stripe?

    Can you please tell me if I will be able to use Stripe to make cross-border payouts?

    Thanks. 🙂

    in reply to: Cannot select “Stripe Connect” as disbursement method. #195900
    embpri
    Participant

    Understood. Thank you for your assistance, you may please close this thread. 🙂

    in reply to: Offload Downloadable Files by Vendors to Cloud. #197341
    embpri
    Participant

    Thank you, I will try it. Do you have any “officially” recommended ways to do this? If not, you can close this thread. 🙂

Viewing 15 posts - 1 through 15 (of 15 total)