Skip to content

Instantly share code, notes, and snippets.

View jordanvector's full-sized avatar

Jordan Schinella jordanvector

View GitHub Profile
@jordanvector
jordanvector / Adyen-complete-state-fix.patch
Created August 4, 2022 01:08
Adyen-complete-state-fix
From 7c19731c9548784f1287bacda56c9a1a30dc1004 Mon Sep 17 00:00:00 2001
From: Jordan Schinella <[email protected]>
Date: Wed, 3 Aug 2022 21:04:26 -0400
Subject: [PATCH] fix completed order state change in finalizeOrder method
---
Helper/Order.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Helper/Order.php b/Helper/Order.php
From 942da86e86cbcb7503bfc78d5d0c32a76aff8423 Mon Sep 17 00:00:00 2001
From: Jordan Schinella <[email protected]>
Date: Wed, 23 Mar 2022 18:18:54 -0400
Subject: [PATCH] fix inventory search indexer
---
.../Indexer/ConfigurableChildStockStatusModifier.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Model/CatalogSearch/Indexer/ConfigurableChildStockStatusModifier.php b/Model/CatalogSearch/Indexer/ConfigurableChildStockStatusModifier.php
From 36b6f90eca4b122f234e9a9982762acf28d18ca8 Mon Sep 17 00:00:00 2001
From: Jordan Schinella <[email protected]>
Date: Wed, 23 Mar 2022 18:15:36 -0400
Subject: [PATCH] fix inventory search indexer
---
.../Indexer/BundleChildStockStatusModifier.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Model/CatalogSearch/Indexer/BundleChildStockStatusModifier.php b/Model/CatalogSearch/Indexer/BundleChildStockStatusModifier.php
From b5109dc14098dfcddd69d5639b25960ff2165f97 Mon Sep 17 00:00:00 2001
From: Jordan Schinella <[email protected]>
Date: Wed, 23 Mar 2022 18:10:48 -0400
Subject: [PATCH] fix products missing from search
---
Model/Indexer/FilterProductByStock.php | 65 ++++++-------------
...ildProductFilterByInventoryStockPlugin.php | 28 ++++----
etc/di.xml | 2 +-
3 files changed, 38 insertions(+), 57 deletions(-)
'queue' => [
'amqp' => [
'host' => 'localhost',
'port' => '5672',
'user' => 'guest',
'password' => 'guest',
'virtualhost' => '/',
'ssl' => ''
],
'topics' => [
@jordanvector
jordanvector / magento-consumers-mysql-rabbit-env
Created February 4, 2021 02:24
Magento Env.php consumers mysql to rabbitmq
'queue' => [
'amqp' => [
'host' => 'localhost',
'port' => '5672',
'user' => 'guest',
'password' => 'guest',
'virtualhost' => '/',
'ssl' => ''
],
'topics' => [
@jordanvector
jordanvector / 2.3.6-Fixed-issue-with-critical-error-The-following-tags.patch
Created November 19, 2020 12:44
2.3.6-Fixed issue with critical error: The following tag(s) are not allowed
From 21759562afe3a1b8e6733a6ca1c8d0f8d7f39767 Mon Sep 17 00:00:00 2001
Date: Thu, 19 Nov 2020 07:33:39 -0500
Subject: [PATCH] =?UTF-8?q?Fixed=20issue=20with=20critical=20error:=20The?=
=?UTF-8?q?=20following=20tag(s)=20are=20not=20allowed=E2=80=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../order/creditmemo/items/renderer/default.phtml | 10 +++++++---
@jordanvector
jordanvector / MC-31544-2.3.5-p2.patch
Last active August 20, 2020 11:53
Composer Patch Rolled Against 2.3.5-p2 [Backport] MC-31544: Email Template New Pickup Order or add New Template order items are missing in Mail #28331
diff --git a/vendor/magento/module-sales/Block/Order/Email/Creditmemo/Items.php b/vendor/magento/module-sales/Block/Order/Email/Creditmemo/Items.php
index 0b691eff5757..0a1e87e5e0a2 100644
--- a/vendor/magento/module-sales/Block/Order/Email/Creditmemo/Items.php
+++ b/vendor/magento/module-sales/Block/Order/Email/Creditmemo/Items.php
@@ -5,6 +5,13 @@
*/
namespace Magento\Sales\Block\Order\Email\Creditmemo;
+use Magento\Framework\App\ObjectManager;
+use Magento\Framework\View\Element\Template\Context;
diff --git a/vendor/magento/module-quote/Model/ResourceModel/Quote.php b/vendor/magento/module-quote/Model/ResourceModel/Quote.php
index 71026ba3bc0..7f9e9733553 100644
--- a/vendor/magento/module-quote/Model/ResourceModel/Quote.php
+++ b/vendor/magento/module-quote/Model/ResourceModel/Quote.php
@@ -62,6 +62,10 @@ class Quote extends AbstractDb
protected function _getLoadSelect($field, $value, $object)
{
$select = parent::_getLoadSelect($field, $value, $object);
+ if ($this->getIdFieldName() === $field) {
+ return $select;
@jordanvector
jordanvector / head.phtml
Created May 12, 2016 20:21 — forked from rickbenetti/head.phtml
Add header rich snippets to your Magento Store
<?php
/**
*
* Copyright (c) 2013 Studio Boz
*
* @project_name Studio Boz
* @copyright Copyright (c) 2013 Studio Boz (http://studioboz.com.br)
* @author Rick Benetti <[email protected]>
*
**/