Questions tagged [attribute-value]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

Getting List / Deleting the Unused Option values using API in Magento 2

Need to get all the unused attribute value and delete it via API. How to get the Unused attribute list using SQL Query.
0
votes
0answers
16 views

Creating a product Error

Im getting this error while trying to create a product in magento "Error occurred during "custom_attributes" processing. Attribute "color" has invalid value. The "black&...
0
votes
2answers
46 views

How to retrieve product attributes values in Magento 2

I want to get configuration product attributes values in phtml file. Above two value i want to get in magento 2. So please Explain me How to get. THANKS.
1
vote
0answers
35 views

how to add a value to new column created by my module in the table 'sales_order_item'

How I can add a value to new column created by my module in the table 'sales_order_item'? I have a problem, could you help me ? I explain : In the Magento table, 'eav attribute set', the 'attribute ...
0
votes
0answers
18 views

Magento 2.3 How get selected options from custom product attribute to list format?

How i can get only selected options from custom multi-select attribute in block? I used $attribute = $_product->getResource()->getAttribute('attribute_name')->getFrontend()->getValue($...
0
votes
0answers
34 views

magento atrributes values not showing on admin and frontend

I have upgraded magento version from 2.1.8 EE to magento 2.3.1, after upgrade some attributes values are not showing in admin and frontend, like full short description is showing blank in admin and so ...
2
votes
1answer
92 views

Magento 2 - All products attributes updated after update from collection

I have got collection in $collecction from Magento\Catalog\Model\ResourceModel\Product\CollectionFactory with some certain conditions I am updating a custom attribute viewed_count in foreach loop ...
0
votes
1answer
202 views

How to save programatically attribute option value in Default Store View in attribute in magento 1.9?

How to save programatically attribute option value in Default Store View in attribute in magento 1.9? public function saveAttributeValueAction() { $arg_attribute = 'ram'; $...
0
votes
1answer
644 views

Customer custome attribute value get by customer id in magento 1.9

Hi I have custom customer attribute for customer in my magento 1.9. I want that custom attribute value by customer id.
0
votes
1answer
674 views

Magento2. Error with attributes on front-end

After filling in all field in an attribute (id160) i get an error on the frontend when loading this page. (Exception): Notice: Array to string conversion in /vendor/magento/module-catalog/Block/...
8
votes
3answers
12k views

How to set cookie in magento 2?

I need to set a value to the cookie in a phtml file and I need to get it's value in another phtml file. Is it possible to set and get the values using jQuery?
1
vote
2answers
997 views

Update single attribute value

I'm a Magento newbee so please forgive me if there is ... a crap in the code ... Sending Ajax request with Brand ID and current state "status = 1 or 0" and would like to update state in table: public ...
1
vote
0answers
31 views

How to add a value to the final product that would not be multiply by the number of products from the basket?

How to add a value to the final product that would not be multiplied by the number of products from the basket? If I have for example a wedding invitation that I want to sell on my website and the ...
2
votes
0answers
710 views

Magento 2 : How to Load a Cms Block and Set Custom Variable Values

I created cms block with custom variable name 'redemption'. I wanted to load cms block, pass and replace value to custom variable 'redemption'. Please help, It's Urgent.