All Questions
Tagged with labels attributes
9 questions
1
vote
0
answers
26
views
Wrong dropdown attribute value on the admin panel magento 2.3.5-p2
I have trying to find something here but with no results. I have strange problem. We have multistore (8 views). All dropdown and multiselect attributes are global, but has different values for each ...
0
votes
2
answers
223
views
Get Dropdown Value from a Custom Customer Address Attribute
I'm trying to get the frontend label of my custom address attribute and trying this:$address->getCustomAttribute("custom_attribute")->getValue(), gives me the value "95905" instead of the label.
...
1
vote
1
answer
31
views
GetLocalizedLabel not working under Grouped Products
I'm trying to extract 3 attributes for every associated product under a grouped product page.
I use a multistore Italian-English but if I use
$stato_label= $_item->getResource()->...
0
votes
1
answer
422
views
magento 1.9 "new" label not showing in catalog view
I am not seeing the new label being applied on the catalog page. There are 2 labels that I have applied but only one is working.
Here is code;
Sale Label
<?php if($this->helper('framework')-&...
3
votes
1
answer
1k
views
Get attibute label option for current store
I have a 'size' attribute with lot of option. For each option, I have translation for each my stores :
I want to get the translation label for a product and for a given store.
So :
I load my ...
2
votes
0
answers
123
views
How to always get the attribute label from "default store"?
I'm trying to improve an extension. Currently it returns attribute labels from the store that the item was purchased, but I need it to always return the labels from the default store.
This is a ...
1
vote
1
answer
2k
views
How to get selected option of the attribute for the product?
Struggling to get value of the selected option for product.
Example:Product require assembly so created attribute dropdown
Below few methods I've tried
echo $data = $_product->getAssembly();
echo ...
4
votes
2
answers
13k
views
Magento 2: get attribute label (considering current store view)
I defined for 2 different store views 2 different attribut labels:
$_product->getResource()->getAttribute($_code)->getFrontendLabel();
This is how I get the attribute Label, but this ...
2
votes
1
answer
10k
views
Get attribute label by attribute code without load by product id
Is it possible to get the attribute label (depending on the storeview) only by the attribute code?
I don't want to enter any product or product id.
This is my code to get the attribute label:
<?...