ans11
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Automatically refund on order cancellationHi @carolm29
Thank you for your reply. One thing more in refund section I am only showing with manual refund blue button. Can you please guide me how can I also get second automatic button as shown on the docs:
https://woo.com/document/woocommerce-refunds/#automatic-refundsThank you for your response. Can you please explain what these parameters are:
$submission, $transaction, $form_id, $updateData
I mean what data will be there in these function parameters? And also how can I send data to this hook? For example, upon payment success, I want certain data to be stored into the database so how can I send that form data to this hook?
Hi Yeasin Arafat,
Thank your reply. Yes I have developed a functions.php file in my child theme. I will use your suggested hook. But can you also please share some documentation or a code snippet that can help me get started. I will then manage the code snippet according to my needs. Thank you.
Hi @tanvirh,
Thank you for your reply. I myself is also a wordpress developer and working on a project. Though, I am not a highly expert but still I believe I can handle it if you can provide me some more guidance regarding this. So as your team is developed this so can you please provide me little more information about this so that I can go in the right direction. Thank you.
Hi,
Thank you for your reply. I want to know about programmatically. I am using a custom form that I have programmed with PHP and Javascript. I want to get payment in that form. I have used a custom field and enter amount in it with javascript. Now I want to know if the payment has maid so that I can add the data to the database. So is there a way I can know with code that the payment has been made successfully. Thank you.
Hi @jahidulhassan,
I have used your above code, but the storename is still not removed from the required fields. When I tried to update the Edit Profile > Personal it is saying that Store name required. Can you please help me regarding this. Thank you.
Forum: Plugins
In reply to: [WooCommerce] How to enter custom order to woocommerce_order_items tableHi @carolm29
Thank you for your reply to my question. Actually, I do not need customization support regarding woocommerce and dokan. I figured out about the dokan function that I needed. I only need to know how can I manually add data to the table woocommerce_order_items. Actually I can enter the data to this table but then I don’t know what should be the order_item_id. So I only want to know how should I add data to it such that after entering the data I also know the order_item_id. I hope this will not be included in the custom support and will not violate your policy.
Looking forward to hearing from you. Thank you.
Thank you @@jahidulhassan. Yes that is similar to what I want but can you also provide a code snippet that will make it optional so that we can poste the code snippet to the child theme’s function.php
Thank you.
Yes, that helped. Thank you.
Thank you for your reply. I am a developer myself and building a website for my client. I will make a custom solution if you can give me some guidance regarding this.
What I can do is I can make a custom page and add it in the sidebar. Now if you have some short code for “Become a Vendor” page then I will add that short code there. Or if there is some other way of doing this, please let me know. I am looking forward to hearing from you. Thank you.
Hi Yeasin Arafat,
No I am not talking about dokan premium booking. I have made a custom booking page from php and javascript. My clients can use that custom page to make bookings and also give the payment. Now I want to show this booking and payment in terms of dokan sales and commission. Therefore, I need to insert the data to dokan database table. So I want to ask in which dokan database table should I insert my sales (booking) data so that dokan show the sales and commission on the front-end of both admin and vendor dashboard. I hope this clears my question. You can ask any question if you have confusion in my question. Thank you.
Thank you Yeasin Arafat for your reply.
I applied your solution but it does not work. By using your code, it points towards to the main dashboard instead of sending to store url.
https://drive.google.com/file/d/1–_oQlTsQ1Ef5NEoKH9SdycIU56GyISD/view?usp=sharing
Above image has visit store logo highlighted in blue. I want to remove this. Thank you.
- This reply was modified 1 year ago by ans11.
Hi @Tanvir Hasan
Thank you for your reply. Yes I have some understanding of wordpress custom development. Therefore, I have done that.
But I want to ask you one other thing. Where are the actions defined in dokan plugin? For example, in store-form.php file I want to know where the action “dokan_settings_after_store_name” has been defined so that I can change it. And in general how can I know which action has been defined where because I have checked the plugin functions.php and this action is not present there. Thank you.Forum: Developing with WordPress
In reply to: Custom booking formI am also thinking of making a multi step HTML form. Its speed will be better as compared to loading new child pages
Forum: Developing with WordPress
In reply to: Custom booking formYes I also thought to develop child pages but then I am afraid of slow speed of loading new pages.