All about Magento E-commerce Store.......MagentoForum: login
Showing posts with label login. Show all posts
Showing posts with label login. Show all posts

Thursday, July 28, 2011

Magento Connect and Facebook Extension Series (P1)


First of all, if you don't want to waste time with "draft" code published somewhere on community. Please look at these package – everything you need and work perfectly
Facebook Shop Publisher
Facebook Store Pro
Magento Enterprise Partners Optaros have recently released a Magento Connect extension called Facebook Connect Social Shopping which allows you to integrate social shopping via Facebook with your Magento storefront. Ever seen a cool item and wished you could ask your friends what they thought before you went ahead an decided to buy? Then this extension is definitely for you! Check out this video for a quick run through.

Saturday, June 11, 2011

Disabling customer logging


All the tables that start with 'log_' become pretty big after some uptime.
If you don't need these here is a solution to disable them.
Create your own Magento extension. Let's call it 'Custom_Log'.
For this you need to create in app/code/local the folder 'Custom' and inside it the folder 'Log'.
Each module needs a config file.
Create inside the 'Log' folder a folder named 'etc' and inside it a file called config.xml with this content:

<?xml version="1.0"?>
<config>
<modules>
<Custom_Log>
<version>0.0.1</version>
</Custom_Log>
</modules>
<frontend>
<!-- [+] Disable logging -->
<events>
<controller_action_predispatch>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</controller_action_predispatch>
<controller_action_postdispatch>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</controller_action_postdispatch>
<customer_login>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</customer_login>
<customer_logout>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</customer_logout>
<sales_quote_save_after>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</sales_quote_save_after>
<checkout_quote_destroy>
<observers>
<log>
<type>disabled</type>
</log>
</observers>
</checkout_quote_destroy>
</events>
<!-- [-] Disable logging -->
</frontend>
</config>

now you need to tell Magento to use your module.
In app/etc/modules create the file 'Custom_Log.xml' with this content:
<?xml version="1.0"?>
<config>
<modules>
<Custom_Log>
<active>true</active>
<codePool>local</codePool>
</Custom_Log>
</modules>
</config>

now just clear the cache (contents of folder var/cache) and you are done.
The downside of doing this is that you won't get any details of the customers visits. But you can live with that. There's Google Analytics for this