I have got a problem between my Woocommerce shop and the Moowoodle for WooCommerce plugin that acts as a bridge between WordPress/Woocommerce and Moodle. It fetches all the courses from your Moodle instance and makes them available for sale, which may be bought by users through WooCommerce.
The integration and everything works fine but the issue is following:
When somebody is buying the course the user is automatically added to the moodle userlist and can enroll to the course.(this feature works great)
Obviously when a customer is buying another product (not an online course ex. a book or sth) he get also linked to the Moodle userlist with a username + password for the Moodle via email.
I would like that only the people who buy the actual course will get the email with the access to the moodle.
What I am trying to do is something like:
If user buys course_with_moodle_ID
then send email_with_login_info
You can find the source code here in Git.
Maybe someone could help me with a little fix because obviously the support to this plugin is very very slow and limited.
Thanks
There is another plugin that let you configure which product will generate a Moodle enrolment.
Disclaimer: I just wrote that plugin.
You can find it here: https://wordpress.org/plugins/woo-to-moodle/
Related
I am creating a e-commerce website via wordpress. One feature I would like to implement is when a user logs into the portal, their account is unable to make any purchases until they have verified their ID. Once they upload their ID and we verify their account, they can make purchases on our shop.
Any ideas on how this could be done? I was playing around with it for a day now but can't seem to figure it out. I am using the WooCommerce plugin for my site and a custom theme. The wordpress theme I am using is called FeaturedLite.
Hoping I can get some help with this, been stuck on it for a while.
I have made a wordpress site with one post where users can write a comment everyday.
I have installed the plugin Blog Update Reminder because I would like users to receive a daily reminder.
My problem is, that the plugin can only see administrators, not authors or participants. And giving users the administrator role is not an option.
For administration of the users and the logins, I have the plugin Ultimate Member.
I have never worked with wordpress or php before and I don't know where the problem can be?
I hope that somebody can help me, because I am very frustrated about this.
Can you consider using another plugin? The one you are using seems to be only for admin notification. Maybe this could provide you with the functionality you want;
https://wordpress.org/plugins/bnfw/
I am building a simple ecommerce site for a friend who sells gift certificates online. I have decided to use WooCommerce as its free and is more than capable of what is required. As all his products are digital, I have already checked and found that Woocommerce supports digital products.
However I was unable to find if there was any option that allowed you to buy the certificate and enter a friends email so that they received the product as a gift via download link in email. Is there anyway to build this functionality into woocommrece? Is it possible to make it so that if a person checks the box to send it as a gift to a friend, they can write a custom message in the email that will be sent?
I understand this may be hard to do but if someone can provide me with a rough roadmap of how this would be done, it would be really good.
Thanks
Unfortunately, WooCommerce is quite a bit lazy and you'll need to buy a plugin to do it. Smart Coupons and Gift Certificates Pro are plugins that let you do that. If your very smart in PHP + MySql, you might somehow be able to put it in.
I am working for German E commerce website, i need to integrate 2 famous payment methods "giro-pay" and "sofortbanking" in WordPress- woo-commerce plugin.
I already asked this to support team of woo commerce but didn't get any reply. So my last hope SO. I know if I get API then may be I can integrate.
If anyone is aware with this problem then please let me know.
Woothemes run in their own layer on top of wordpress, and all eCommerce themes run on top of that layer.
It is not hard to follow up a tutorial and implement it in wordpress, but you should really get an answer from WooThemes.
Those guys are great and I had no problems is any issue in the pass. Send them a direct email (use the panic button), or send them a tweet, they see them all.
And, as a paid customer you do get a better support as well.
or, if you really do not want that way, you can always search for existing wordpress plugins that have your providers, for example, MultiSafepay has one for Giro Pay.
I'm working on a project that ties into an API and uses virtuemart. Basically a user can buy time for a phone card. the few things I need help with are:
A) can/how can I create a custom php function once the user signs up. For instance, the user adds Items to the cart and proceeds to checkout. once the user clicks checkout they need to create an account, after they create an account is there an area in this process that allows for a custom function so that I can tie the creation of the account to an API?
B) same as above but after checkout. After the checkout goes through, how can I make it so the new values are sent to the API? Is there an area in the files that allow for custom functions here.
C) Lastly is it possible to add more options the the virtuemart customer account maintnance screen. I want an option that will tie into the API and show them exactly how much time the have left for their phone card. This information will be provided by the api.
All of these things can be achieved with a System Plugin. You would simply look for the right url, get any information from the result screen with regex, call your API and insert any changes back into the screen.
I'm not specifically aware of any VM functions for this, but as VM is in flux with Version 2 getting closer, it may not be a good time for any such investment in any case.