I want to include to the administrator the option to disable login accounts, no data would be erased from the account, but if would be disabled for users not using it more, once cleared, the user would not notice any newsletters or anything else, just one last mail notifying the deactivating your account.
This is an interesting one. I've looked into this previously, and there is an is_active flag on the customer database record, but it is not accessed or written anywhere by the core Magento code. In order to achieve this requirement, you'll need to override the Mage_Customer_AccountController to check the value of this field inside loginPostAction() and then to make that field visible within the adminhtml Customer blocks.
I'm a little nervous about implementing that code as it bothers me that Varien would include the field but not utilise it at all. I'd be interested in others' thoughts about this.
HTH,
JD
Or, you could use this free extension from Magento Connect.
magentocommerce (deadlink) Customer Activation Extension
edit: Github project
Related
I am using Woocommerce Subscription plugin.
I have two types of plans right now.
1. Is paid
2. Free
When user registers on my site, I want every user to show default free membership subscribed to that account in beginning until it upgrades manually later.
Is there any Hook which I can use?
I have tried checking in Plugin settings but I didn't find anywhere if I can set a subscription plan 'as default'.
The solution is to create an order, then create a subscription, link the order to the subscription using WooCommerce classes. Below is the link where I found my answer:
wordpress.stackexchange.com/questions/202873/
The response given by Jeremy Warne worked for my website's logical flow.
so I need to ask a question, I need to setup a simple paypal express checkout system, that one can allow users to change currencies, and two can then update the page with the updated currencies.
Then I need a way for me to get the order information. As I will be selling website templates so I need a way for me to get their email address, so I can then email them with the link to the template file download.
So my question is what data do I get if I set up an express checkout system. And what code do I need, Do i need to create a database to get the returned data back from paypal? Or do I just get an email or can i see that when i log into my paypal account and check orders and see their details that way, but the main important detail i need is their email address?
Can I also say that this is the first time I have looked into express shopping carts. So I am a complete novice in this field, So I will struggle with the coding aspect. But I think it is the route I need to go down.
Also I want to make it all in php as well. But also I don't want to use ready made systems. I just need the back-end code so that I can then just implement it into my current design. Not sure if paypal give you the code when you click the express shopping cart option in All tool section. I did notice though it redirects to a page that lists many partner sites. I couldn't find anywhere for any implementation advice or tips or code.
EDIT: Also I know I will also need to use either IPN or PDT but the documentation I read is highly confusing and just is making me unsure if I can even set a system up. I also read that you should implement both systems, but I also read that that had a risk of doing the payment twice. So yeah i am kinda a bit unsure how to even go about implementing a system I need.
Thanks in advance.
I would like to have an account in Joomla and have a custom field called "paid" then have the user pay money to set this field to true. I can make a profile plugin and then use PHP to do the MySQL check for the field and then serve the file. But how can I make the users pay money to change this field?
Most people want a free solution, but if you're willing to pay a small fee for a GREAT component, I'd highly recommend Membership Pro. We use several of their components and they're among our favorites to work with.
I am trying to find a way to update the accounts already created in admin panel.
During the create process, the account was created mistakenly in Admin section (caused user to not login via frontend).
See Screenshot: http://puu.sh/9Rjvp/6f4fffd1c6.jpg or http://i.stack.imgur.com/0Q2vm.jpg
I am looking for a programmatic approach using which I can update the account created in value to "website" after-which the customer can be able to login to site. (this can be database direct update if its best suite)
Reason behind for looking a programmatic solution is clear for following reasons.
The number of effected accounts are about 500+
Each or many of these accounts have orders belonging to their account (therefore re-create is not a good approach).
Let me know what database values I have to change for this fix or what should I need to instruct to my custom module?
Any help is highly appreciated.
Following is customer update code snippet:
$customer = Mage::getModel('customer/customer')->load(1212);
$customer->setWebsiteId(2)
$customer->save();
The above code will update website to 2 for customer 1212.
God luck!
From last few hours I'm stuck into a problem, my client want status override feature for every membership, but facing issues on some memberships while editing. I've also checked that myself, in some memberships it's there and in some it's not there. When I went into page source I can see memberStatus is there with correct select html. But checkbox for Status override isn't coming can someone tell me how to fix it. I'm a developer and if you guide me a little I should be able to do that. I went into code files but I don't want to do something which may create further issues.
I've attached screenshots as well, one noticeable information that I just noticed is that the problem lies usually with those membership edits which have auto-renewals checked, which is something strange to me.
Another very important problem for those membership edits which with null/[ ] override status: I got this error "There is no valid Membership Status available for selected membership dates."
I'll be really thankful if someone can guide.
Version of my CiviCRM is 4.2.12 and is installed on Wordpress.
CiviCRM doesn't allow admin to override status since the auto-renewal process is sequential based on earlier membership state. Any Changes in the normal workflow will no longer keep the membership in renewal state, eventually may lead to corrupt membership data.
I think it is your auto-renew doing it. If you're overriding the status, why should it auto-renew? Try unchecking the autorenew box.