Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
I have a website Moreslides.com, i want to share on facebook and twitter if someone click on add to cart button after login. i dont know where to put the code and what code i have to use please help to sort out the problem. i am using Inchoo_SocialConnect plugin for facebook google and twitter login. which allow user to login and provide the login setting into dashboard.
Hi,
Nice thing you got there, but here what you need to do:
1- You need to take the extension on the local to add your own changes.
2- The code that you will use is to add observer in every add to cart so here what event you should use checkout_cart_product_add_after but this will work only on Magento 1.9
3- After setting the observer you will need to do your code on it and connected with the extension to share the products.
Hint: if you are using an old MagentV(1.8, 1.7...) you can use this link.