Skip to content
Snippets Groups Projects
Commit 2d34004b authored by Vasyl Kozyrenko's avatar Vasyl Kozyrenko
Browse files

MTA-3901: Add variation for Partial Refund an order placed through Braintree with Partial capture

parent 0b86f931
Branches
No related merge requests found
...@@ -37,7 +37,7 @@ class ProductItem extends CatalogProductItem ...@@ -37,7 +37,7 @@ class ProductItem extends CatalogProductItem
foreach ($options as $option) { foreach ($options as $option) {
if (!isset($attributes[$option['title']]) if (!isset($attributes[$option['title']])
|| stripos ($attributes[$option['title']]->getFrontendInput(), "swatch") === false || stripos($attributes[$option['title']]->getFrontendInput(), "swatch") === false
) { ) {
continue; continue;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment