WCMp Vendor Vacation
-
AuthorPosts
-
-
January 5, 2021 at 5:27 PM #112985
Benny
ParticipantHi there,
Trust you are well.
I would like to follow up on the below request concerning a custom way my users can request a total withdrawal rather than ticking per items.Kindly find below the last reply I got from you and I would like to override this flow, what can i do at this stage?
Regards
————————————————Hi,
My replies are inline:
As per your requirement it’s needs good amount of custom code to change our default flow.
>> First of all you need to default flow of vendor dashboard >> vendor-withdrawal table in our default flow we selecting the id and then process the ids and make a withdrawal request, if you need to change then override the flow as per your requirement.
>> Then use above hook to change the transaction amount.Thank You.
-
January 7, 2021 at 10:02 AM #113149
MVX Support Ninja
KeymasterHello Benny,
Thank you for reaching out to us.
Can you please share the thread link for the above mentioned replies.
-
January 11, 2021 at 1:17 AM #113382
Benny
ParticipantPlease find below :
https://multivendorx.com/support-forum/topic/custom-withdrawal/ -
January 11, 2021 at 6:58 PM #113428
GeekyCoder Abhirup
ModeratorHi,
It needs good amount of custom code on your end and have to change the default flow.
As per your requirement by default you can not add any field on withdrawal page. if you want this then you have to code for your end.
If you want to add a field on vendor dashboard >> under storefront then using below action hook
—wcmp_after_shop_front
CopyTo save data use below action hook
—before_wcmp_vendor_dashboard
CopyThen you have to modify the withdrawal page default flow it need good amount of code.
disable data table select check box.
by overridden templates/vendor-dashboard/vendor-withdrawal.php template by copying it to yourtheme/dc-product-vendor/vendor-dashboard/vendor-withdrawal.php.Then use below filter to change the amount –
wcmp_commission_transaction_amount
CopyRegards,
-
January 13, 2021 at 7:37 PM #113637
Benny
ParticipantPlease I am really struggling to understand the new flow
“If you want to add a field on vendor dashboard >> under storefront then using below action hook”
On the above statement, are you referring to change the widthdrawal page to allow withdrawal under StoreFront page?—————————————–
“Then you have to modify the withdrawal page default flow it need good amount of code.
disable data table select check box.”On the above statement, once I disable the table, Is the next step adding “wcmp_commission_transaction_amount”?
and where should I add the above filter?Regards
-
January 14, 2021 at 7:06 PM #113716
GeekyCoder Abhirup
ModeratorHi,
our replies are inline –
>> On the above statement, are you referring to change the withdrawal page to allow withdrawal under StoreFront page?
— No, using below hook you can add a field where vendor can set the withdrawal amount or you also set a field for vendor dashboard withdrawal . For that you have to override templates/vendor-dashboard/vendor-withdrawal.php template by copying it to yourtheme/dc-product-vendor/vendor-dashboard/vendor-withdrawal.phpand also you have to modify the flow of withdrawal page.
Then using above hook you can change the amount of transaction.Regards,
-
January 14, 2021 at 10:26 PM #113732
Benny
ParticipantThank you, please where can I add the below codes?
1. wcmp_after_shop_front
2. before_wcmp_vendor_dashboard
3. wcmp_commission_transaction_amount
I have overridden templates/vendor-dashboard/vendor-withdrawal.php template by copying it to yourtheme/dc-product-vendor/vendor-dashboard/vendor-withdrawal.php.————————
How would you recommend me to modify the flow of withdrawal page? -
January 18, 2021 at 5:45 PM #113935
GeekyCoder Abhirup
ModeratorHi,
You have to add code in the function.php of the current active theme when you are using hook and filter.>> It needs huge amount of custom code. please check out code and find the way.
Regards,
-
January 19, 2021 at 1:55 PM #113976
Benny
ParticipantHi Abhirup,
Please can you take me step by steps on how I can achieve this and advising me on the necessary codes, please.
Regards
-
January 19, 2021 at 7:11 PM #114011
GeekyCoder Abhirup
ModeratorHi @Benny,
As per our default flow on withdrawal page all checked commission are going for withdrawal request so you have to change this flow it is need good amount of custom coding you have to take a look on our code and then change the flow. after using this filter you can add this amount for withdrawal.Please take a look our plugin flow and modify using hook and filter or template override.
Regards,
-
January 29, 2021 at 9:34 PM #114702
-
February 2, 2021 at 10:46 AM #114860
WCMp Admin
KeymasterHi Benny,
Your requirement deals with complete [plugin’s flow change (as discussed). Wish we could assist you with custom code, but as per the support policy- You may wish to tweak/customize our plugins and themes to suit your exact business need. We’re happy to try help with these modifications, but only if a customization requires few lines (10-15) of new code. However, if your requirement requires more than that kind of efforts, we recommend you to contact a developer or commission us for “Custom development” services.
https://multivendorx.com/how-to-get-support/
Hope you can understand our concern too.
Regards,
-
April 7, 2021 at 2:33 PM #119149
MVX Support Ninja
KeymasterWe have not received any update from you for a long. Hope this ticket is already been resolved.
We are now closing this ticket. Kindly create a new one if you need any further help.
-
-
AuthorPosts
The topic ‘Custom Withdrawal 2 ( #108054)’ is closed to new replies.