i am struggling with magento add custom function for checkout method.
how to get popup messages after click the "onepage-guest-register-button" in checkout method.Also need to send email to the vendor with the selected product id in magento.
I am new in magento,any one please help to me.
Thanks,
You can customize login template here:
[Magento root]/app/design/frontend/[your theme package]/[your theme]/template/persistent/checkout/onepage/login.phtml
or here
[Magento root]/app/design/frontend/[your theme package]/[your theme]/template/persistent/customer/form/login.phtml
If you want send mail when someone add product to cart (or something else) you have to check about observer (events handler) on Magento.
Related
I administrate a wordpress page and I have a problem with the woocommerce checkout.
My checkout is not like every other checkout, it is shown as a dialouge and I dont know why.
It is looking like this
Does anyone know where I can search for the reason or know why this checkout is created.
My theme is BeTheme and I use elementor. I have already tried to disable all plugins, which are not woocommerce.
Thank you in advanced.
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 :)
In magento I have:
created one template which I want to send to subscribed users.
Added that template in queue.
set cron job in magento.
I want to send newsletter template automatically to all subscribed users of store when admin added new products or new promotions using magento admin panel. How can I do that?
My Magento Version is 1.9.0.1
I was talking about the use of event-observer in magento. This is like a hook with the help of which you can insert your logic or code before or after some event occurs. For example
catalog_product_save_after
is the event which occurs after product is saved. You can learn more about it here.
You have to create a module that observe this event and there you have to implement your logic that is:
get the sku of the recently saved product and check it is already present or not(To check either the product is new or not.This should be check because the product can be edited too because while editing and saving also same event is observed), and then you can do rest i.e sending an email newsletter.
My explaination may seem confusing to you because you are new to this check that link and you will have your concept clear.
Hope this will help.
If you are simply wanting to add a link to the product into the newsletter then you can add a new newsletter template, then insert into this template using the cms widget "Catalog Product Link" you can add a link to a product. This is the same as adding a link to a product via a cms page or block.
If you are looking at sending a product list then I would suggest looking into how the widget "Catalog New Products List" works. You could extend this to take a list of product ids that need to be included in your list.
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
i need WordPress shopping cart function with or without any pluggins. When a registered user click the add to cart button on the normal post, it needs to go to shopping cart. The checkout function should not have the shipping and payment gateways as the user click the check out button he should recieve the mail for order confirmation with the permalinks of the post bought by him, meanwhile the post permalinks has to be saved in data base which can be viewed by the user later. Admin should recieve the mail for perchasing order.
Perhaps you can use this plugin. Its a wordpress e commerce plugin and should take care of all the things you have mentioned.
Salman, Try WP e-Commerce one of my favorite and o.s plugin
For more http://sixrevisions.com/wordpress/top-5-excellent-e-commerce-plugins-for-wordpress/
If you really need a simple cart other than Wordpress integrated plugin, you can go for OpenCart, which was easily administrate and user friendly with analytics and so on...
Please see my answer to similar question here.
In addition - the WP Order Cart plugin does not save orders to database, it only sends the order email to both buyer and seller - this functionality is still in development.