Skip to content

Commit

Permalink
EC-771: revert EC-600 changes to fix custom attr label (#60)
Browse files Browse the repository at this point in the history
* EC-771: revert the changes to fic custom attr label issue

* EC-771: update version
  • Loading branch information
manish-ometria authored Aug 9, 2024
1 parent 599467a commit d61eb67
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/code/Ometria/AbandonedCarts/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_AbandonedCarts" setup_version="2.6.6"/>
<module name="Ometria_AbandonedCarts" setup_version="2.6.7"/>
</config>
4 changes: 2 additions & 2 deletions app/code/Ometria/Api/Controller/V1/Products.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ protected function serializeItem($item)

$tmp['attributes'][] = [
'type' => $type,
'id' => $fullAttribute->getId(),
'label' => $attribute['value']
$valueIdx => $attribute['value'],
'label' => $fullAttribute->getFrontendLabel()
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/code/Ometria/Api/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_Api" setup_version="2.6.6"/>
<module name="Ometria_Api" setup_version="2.6.7"/>
</config>
2 changes: 1 addition & 1 deletion app/code/Ometria/Core/etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Ometria_Core" setup_version="2.6.6"/>
<module name="Ometria_Core" setup_version="2.6.7"/>
</config>
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ometria/magento2",
"type": "magento2-module",
"version": "2.6.6",
"version": "2.6.7",
"description": "Dev composer package for Ometria Extension",
"authors": [
{
Expand Down

0 comments on commit d61eb67

Please sign in to comment.