I have created one custom form (Wordpress Woo-commerce) for purchasing products.
I need to insert data into ORDER tab OR After Orders I would like to create one more tab called Subscription Orders same like Orders, but inside this post type data is only for subscription orders.
Can you please guide and help me, How I can achieve this. I have also put screenshots so you can get better idea.
Thank you in advance.
try to override template of woocomerce via themes
and use the hooks.
https://docs.woocommerce.com/document/template-structure/
https://docs.woocommerce.com/wc-apidocs/hook-docs.html
Related
Looking for a solution to display / filter only the orders made manually in woocommerce. I looking to add a filter or something to only list the orders made manually in the backend.
Any idea on how to achieve that.. advance thanks..
So i'm working with WordPress and WooCommerce for a website and i have a task that i don't know how to solve. When i create a WooCommerce product i need another landing page for that product to be created automatically where i can see details of the product and similar products.
I was trying to use wp_insert_post() but i can't figure it out how to add the page after adding a product
Is there a way i can do that or is there a plugin that gives you the function to do that?
I hope i was clear in the question.
Thank you in advance
You could try to use the WordPress save_post action: https://codex.wordpress.org/Plugin_API/Action_Reference/save_post
On saving a post, check if the post type is Woocommerce's product post type. If true, you can do whatever you want :)
How can we customize cart items in magento. I have used custom options but it is not working as intended. All I need is to show some configurable data in cart page and in order page.
Can some one help how can I achieve it.
Edit: To elaborate, along with cart item, type and qty. I want to display supporting text for each item type. I got it working with custom options, but I had to include qty inside custom options which created an issue on cart page during cart update. Now I am looking for some other way by which I can acheive same thing.
Thanks
According to your question, you are trying to edit the product that are in the cart. Hope i am getting you right. For this you just need to have a look at the file default.phtml in
app/design/frontend/base/default/template/checkout/cart/item/default.phtml
This phtml file is responsible for displaying the item in the cart. Here you can get the custom options of the product as well. You can edit as per your requirement.
But remember before you edit copy this file to your theme because this is the best practice not to edit the magento's core files.
Hope this will help.
I want to add two custom field on my magento site cart page. Something like bellow screenshot.
I want to add this two field on the Cart page and this field input i want to display in the Order and Invoice. I have Also use FME extra field extension but its use for the checkout page only.
So please suggest me if any good extension or good link using which i can set this functionality.
Please help to out from this problem
Hi #Jalpesh how are you?, how familiar you are with the Magento code because to get what you want need to extend a little code and use some Observer to add this info to Order and then to Invoice...
You can start using this extension, Magemaven OrderComment.
I hope this can help.
Best,
GrinGo.
I am building an E-Commerce Website with Wordpress using the WooCommerce plugin. Trying to add a feature for customers to add a photo to their profile page. I want this to be manadorty so if the client did not upload photo, I want it to be requested at the process of checkout.
How should I go about this, I been looking all day and can't even find the right file that I am supposed to be editing. Thanks in advance.
You need :
Add a form in my-account.php (Check woocommerce_before_my_account hook for this)
Create a custom code to save the file in wp_usermeta table (Check add_user_meta() function ).
Check woocommerce hook after_woocommerce_pay to check if there is a photo associated to current user