Questions tagged [attribute-value]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 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
17 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
29 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
91 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
186 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
577 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
628 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/...
6
votes
3answers
9k 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
936 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
687 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.