---
title: 'wFirma · Attributes Query'
url: 'https://info.srv.kowal.co/docs/magento/modules/kowal-wfirma/attributesquery'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/kowal-wfirma/attributesquery.md'
lang: en
date: '2026-11-26'
description: 'Provide product attribute lookup and write helpers used by the wFirma integration to update Magento catalog data by SKU.'
taxonomy:
  category:
    - docs
    - Magento
    - wFirma
---

# wFirma · Attributes Query

## Product page

[wFirma — kowal.co](https://kowal.co/magento-module-magento-store-integration-with-wfirma-invoicing-and-inventory-management)

## Description

Provide product attribute lookup and write helpers used by the wFirma integration to update Magento catalog data by SKU.

## For whom

For developers maintaining the mapping between integration values and Magento product attributes.

## Features

- Resolve a product by SKU and look up an attribute by code.
- Insert or update an attribute value in its EAV storage table.
- Target the default scope or a specific store view when writing a varchar value.

## Installation

This component is included in WFirma – Magento 2 integration. Follow the [suite installation instructions](https://info.srv.kowal.co/docs/magento/modules/kowal-wfirma).

## Configuration

1. Enable `Kowal_AttributesQuery` from the wFirma distribution. Select an existing SKU and a product attribute with a known backend type.
2. For a short text field stored as varchar, pass the SKU, attribute code, value and intended store ID to the integration’s Varchar helper. Store ID 0 targets the default value.

## Requirements / notes

The helper writes directly to Magento’s product attribute tables. For a store-specific change, verify the result in the same store view in Admin.

## FAQ

**Why was a short text value skipped?**

The Varchar helper checks that the SKU exists and rejects values that PHP treats as empty, including the string “0”.

## Verify the installation

```sh
bin/magento module:status Kowal_AttributesQuery
```

In staging, record the current value of a store-scoped text attribute on a test SKU. Apply a distinct nonempty value through the integration for one view. Reopen the product in that view and in the default scope to check where it was saved.

---

## Navigation

- Parent: [WFirma – Magento 2 integration](https://info.srv.kowal.co/docs/magento/modules/kowal-wfirma.md)
- Previous: [wFirma · Email](https://info.srv.kowal.co/docs/magento/modules/kowal-wfirma/email.md)
