Forum Replies Created
-
AuthorPosts
-
November 30, 2023 at 12:45 PM in reply to: Category pyramid guide doesn’t handle subcategories correctly. #214594embpriParticipant
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'; } );
CopyThis 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.
November 30, 2023 at 12:38 PM in reply to: Have “Virtual” and “Downloadable” options required and checked by default #214591embpriParticipantHi,
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; }); });
CopyI 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.
November 24, 2023 at 7:09 PM in reply to: Category pyramid guide doesn’t handle subcategories correctly. #214267embpriParticipantHi,
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.
November 24, 2023 at 1:51 AM in reply to: Have “Virtual” and “Downloadable” options required and checked by default #214171embpriParticipantThank 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. 🙂
November 24, 2023 at 1:41 AM in reply to: Prevent vendors from selecting “Uncategorized” category in category picker. #214170embpriParticipantThank you very much for your assistance Sangita ji, please close this thread. 🙂
embpriParticipantThank 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
Copyand 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. 🙂
embpriParticipantCould 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.
November 23, 2023 at 3:08 PM in reply to: Prevent vendors from selecting “Uncategorized” category in category picker. #214139embpriParticipantThank 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?
Attachments:
November 10, 2023 at 2:36 PM in reply to: Grammatical errors in default text used; how to fix? #204192embpriParticipantThank you very much, this is exactly the kind of solution I was hoping for! Please close this topic as my issue is resolved. 🙂
November 10, 2023 at 2:36 PM in reply to: Automatically mark paid orders for digital products complete. #204191embpriParticipantThank you very much, please mark this topic as closed. 🙂
embpriParticipantI 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%; }
CopyThanks, please close this thread. 🙂
embpriParticipantThank you, this worked. A silly oversight on my part; thank you again for your prompt reply. 🙂
November 1, 2023 at 3:07 PM in reply to: Cannot select “Stripe Connect” as disbursement method. #195890embpriParticipantHello,
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. 🙂
November 1, 2023 at 3:07 PM in reply to: Cannot select “Stripe Connect” as disbursement method. #195900embpriParticipantUnderstood. Thank you for your assistance, you may please close this thread. 🙂
embpriParticipantThank you, I will try it. Do you have any “officially” recommended ways to do this? If not, you can close this thread. 🙂
-
AuthorPosts