Skip to main content
5 votes

magento 2 - class error on backend after remover facebook-for-magento

Facebook\BusinessExtension\Model\Config\Source\Product\GoogleProductCategory could be used for custom attribute option source. Please search in eav_attribute table, especially in source_model column. ...
dudzio's user avatar
  • 620
5 votes
Accepted

MagePlaza Social Logins Facebook Error: Ooophs, we got an error: Authentication failed! Facebook returned an invalid user id

In the base_facebook.php in method getAccessTokenFromCode() change this: $response_params = array(); parse_str($access_token_response, $response_params); to this: $response_params = json_decode($...
nedik's user avatar
  • 66
4 votes
Accepted

How to add user in magento by custom code?

One of the example of creating customer $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $appState = $objectManager->get('\Magento\Framework\App\State'); //$appState-&...
Muhammad Hasham's user avatar
4 votes

How to add user in magento by custom code?

This code for creating customers in Magento 2: $data = array( 'website_id' => 0, 'email' => '[email protected]', 'firstname' => 'Mac', 'lastname' => 'Hamon', 'group_id' ...
Jamy's user avatar
  • 165
2 votes
Accepted

Add facebook pixel code into magento 2

It has not changed much from Magento 1, I reckon you should use the app/code/Magento/Checkout/view/frontend/templates/success.phtml NB: don't change that file directly as your changes will be ...
Raphael at Digital Pianism's user avatar
2 votes
Accepted

How many Facebook Pixel Code can you have in Magento?

One pixel is enough to work. Using more than one will probably make them stop tracking There are several (and free) extensions available for implementing it, some examples: https://www.apptrian.com/...
Raul Sanchez's user avatar
  • 3,145
2 votes

Facebook pixel question

You would require a separate extension. Facebook pixel is for tracking purposes.
Dominic Pixie's user avatar
2 votes

magento 2 - class error on backend after remover facebook-for-magento

problem solved after delete the attribuite. thanks
murugan's user avatar
  • 31
2 votes

Magento 2 Refused to frame 'https://www.facebook.com/' because an ancestor violates the following Content Security Policy directive:

I'm guessing you updated to 2.3.5 version. Just run this terminal command php bin/magento module:disable Magento_Csp More information here: https://maxchadwick.xyz/blog/magento-disable-csp
Joao71's user avatar
  • 1,195
1 vote
Accepted

Facebook Business Extension throws an error when adding a variant of configurable product

I ran into the same Problem with the Facebook Business Extension 1.2.0. Upgrading it to 1.2.3 (download from https://www.facebook.com/business/help/532749253576163) solved it for me.
cmonsqpr's user avatar
  • 126
1 vote

Magento Facebook Social Integration

Magento Facebook Social Integration has been deprecated. Unfortunately, the Magento Social extension has been removed by Magento. Magento dev docs stating the removal of Magento Social Integration ...
Raj Mohan R's user avatar
  • 2,048
1 vote

Add Facebook Pixel code

you can try using this module available on git https://github.com/Magento-Garage/m2-facebook-pixel
Aman Srivastava's user avatar
1 vote

Add Facebook Pixel code

The Simplest way to add this facebook pixel code is to Download the ready made Module and Use. For ex: You have Apptrian Extensions - Click Here Or You have BSS Commerce Extensions - Click ...
Oscprofessionals's user avatar
1 vote
Accepted

addtocart pixel after add to cart event happened

the event checkout_cart_product_add_after is dispatched in app/code/core/Mage/Checkout/Model/Cart.php like this : Mage::dispatchEvent('checkout_cart_product_add_after', array('quote_item' => $...
Julien Loizelet's user avatar
1 vote
Accepted

How to add the facebook pixel code script in particular category page?

1.) create a template file with you FB pixel code and put it into app/design/frontend/THEME/PACKAGE/template/your_file.phtml 2.) add a block to layout with your modules layout.xml or local.xml in ...
sv3n's user avatar
  • 11.7k
1 vote

Magento : Facebook Pixel

You can add FaceBook Pixel directly into the phtml file OR can inject using observer. If you're redirecting the customer to a unique registration success page instead of a common dashboard page then ...
Shyam's user avatar
  • 1,690
1 vote

unable to add extension

Most extensions are packaged up and only include the folders that contain the extension files. For example, if the extension was: Dreystone_Seo It includes the files for the following location: app/...
Phil M's user avatar
  • 748
1 vote

Include custom attribute on Facebook registration

I have no idea what a facebook registration is, because it's not in the core, but most probably you should take a look at how the $data variable looks. Maybe you find what you need in there. Something ...
Marius's user avatar
  • 198k
1 vote

Add facebook pixel code into magento 2

It is the same as in version 1.0. checkout/success.phtml Use templates - Be ware any change can be overridden by an upgrade, hence don't change the file directly. Look here as well: Install ...
Ken Knight's user avatar
1 vote

Facebook Pixel addToCart Ajax

Integration through Google Tag Manager: I stumbled upon a similar problem when trying to implement AddToCart event on an AJAX request on product page as well as catalog pages utilizing product ...
dchayka's user avatar
  • 500
1 vote

How to add new facebook tracking pixel to magento site?

Please check free magento extension with advanced pixel settings. https://www.pearlbells.co.uk/facebook-pixel-magento-extension/
Liz Eipe C's user avatar
  • 1,296
1 vote

How to add new facebook tracking pixel to magento site?

To make new FB pixel tracking work you need to touch on the different sections of your website -: Here are the steps to implement the tracking correctly Step 1 The following piece of code will go ...
stevensagaar's user avatar
1 vote

Install Facebook Pixel Tracking

The easiest way to do this is in template\checkout\success.phtml, (pls note in your local package) $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); (function() { ...
Shivani Nayyar's user avatar
1 vote

Install Facebook Pixel Tracking

Facebook has recommended to use new Facebook Pixel since second half year of 2016, it's better to use the new script and insert them into app/design/frontend[your theme folder]\template\page\html\head....
John Yin's user avatar
  • 191

Only top scored, non community-wiki answers of a minimum length are eligible