diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/Helper/LogOrganization.php b/Helper/LogOrganization.php
index c619164..6afacb1 100644
--- a/Helper/LogOrganization.php
+++ b/Helper/LogOrganization.php
@@ -70,8 +70,9 @@ public static function organizeLogs() {
}
$countCrit = 0;
+
+ fclose($fp);
}
- fclose($fp);
$amuLogs = self::tailCustom("var/log/facebook-business-extension.log", 100);
$amuLogsArr = explode("\n", $amuLogs);
diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml
index 50be1ef..c6bd445 100644
--- a/etc/adminhtml/system.xml
+++ b/etc/adminhtml/system.xml
@@ -9,6 +9,14 @@
facebook
Facebook_BusinessExtension::system_config
+
+
+
+
+ Magento\Config\Model\Config\Source\Yesno
+ Disables ProductInfoForAddToCart call
+
+
diff --git a/view/frontend/layout/catalog_category_view.xml b/view/frontend/layout/catalog_category_view.xml
index 75f24f7..3442b61 100644
--- a/view/frontend/layout/catalog_category_view.xml
+++ b/view/frontend/layout/catalog_category_view.xml
@@ -4,12 +4,14 @@
diff --git a/view/frontend/layout/catalog_product_view.xml b/view/frontend/layout/catalog_product_view.xml
index 59d3c6c..9ad5719 100644
--- a/view/frontend/layout/catalog_product_view.xml
+++ b/view/frontend/layout/catalog_product_view.xml
@@ -5,12 +5,14 @@
diff --git a/view/frontend/layout/catalogsearch_result_index.xml b/view/frontend/layout/catalogsearch_result_index.xml
index d022272..3ac9748 100644
--- a/view/frontend/layout/catalogsearch_result_index.xml
+++ b/view/frontend/layout/catalogsearch_result_index.xml
@@ -4,6 +4,7 @@
diff --git a/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml
index 7e56224..e90b7db 100644
--- a/view/frontend/layout/checkout_index_index.xml
+++ b/view/frontend/layout/checkout_index_index.xml
@@ -4,6 +4,7 @@
diff --git a/view/frontend/layout/checkout_onepage_success.xml b/view/frontend/layout/checkout_onepage_success.xml
index 9b9f5e4..5528677 100644
--- a/view/frontend/layout/checkout_onepage_success.xml
+++ b/view/frontend/layout/checkout_onepage_success.xml
@@ -4,6 +4,7 @@
diff --git a/view/frontend/layout/default.xml b/view/frontend/layout/default.xml
index 5814e1f..011d9f8 100644
--- a/view/frontend/layout/default.xml
+++ b/view/frontend/layout/default.xml
@@ -4,6 +4,7 @@