Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [labels]

A label is a placeholder for text and other UI elements.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Updating label for product attribute option on 1 storeview only

How can I update storeview label without removing label on the rest of the storeviews? The code works fine for updating just 1 storeview, but it removes all other labels. Updating store 2, removes ...
AP87's user avatar
  • 197
0 votes
1 answer
77 views

We run several offers during festive seasons. Is there a way to create interactive labels for products to advertise our marketing campaigns?

So right now I am using the magento2 platform and I want my site to look more presentable to the customer after my research I am inclined to move towards creating labels for products. However, I am ...
Prashant Singh's user avatar
0 votes
2 answers
400 views

Change label of State/Province in magento 2

I want to change the label of State/Province to just State only in the checkout field in magento 2. I am trying to update it via i18n and insert it in my custom module. But the label is not updated.
Mitul Vadalia's user avatar
0 votes
1 answer
536 views

How to change address field labels on the payment / billing page?

I needed to change the street field label on Magento checkout shipping page. According to Magento documentation, the best practice is to use LayoutProcessor Plugin. I successfully changed the labels ...
magento's user avatar
  • 11
1 vote
1 answer
704 views

Magento 2 graphQL Get Select attribute option labels in Products Query

I want to get the attribute label value along with the id in the Products graphQL query. like color { id: 12, label: black }, size{ id: 15, label: xl } Currently, it returns the id only. How can I ...
Jancy Abraham's user avatar
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 ...
peter's user avatar
  • 11
1 vote
2 answers
2k views

How do I place a widget in a custom page layout?

I've created multiple custom pages like a contact page and FAQ page but both the pages and the containers I've labeled don't show up in the widget panel. What's the right way to add widgets to your ...
Alphaegen's user avatar
0 votes
1 answer
16 views

Child Theme showing strange labels on breadcrumbs, buttons, labels etc.( {{{Home}}{{Home}}{{Home}}{{themeVendor/ThemeName}}})

I have a problem with my child theme in Magento. On the products page it shows labels like "{{{Home}}{{Home}}{{Home}}{{themeVendor/ThemeName}}}" for the breadcrumbs or "{{{Add to Cart}}{...
Miss Oats's user avatar
0 votes
1 answer
378 views

Magento 2 get option label from custom admin dropdown

For my custom plugin I created an options array like this: path : => \Vendor\App\Block\System\Config; namespace Vendor\App\Block\System\Config; class NatureIva implements \Magento\Framework\Data\...
Davide Iandoli's user avatar
0 votes
2 answers
201 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. ...
Gonzalo Gutiérrez's user avatar
0 votes
2 answers
434 views

Magento2 - Change my account label to image

I tried to change the my account link to a image but then found that it was called in xml in vendor/magento/module-customer/view/frontend/layout/default.xml as label . So how could I change it to ...
Haerriz's user avatar
  • 681
2 votes
1 answer
2k views

How to show custom attribute value as label in magento 2 product listing page

How to show custom attribute value as label in Magento 2 product listing page. I am using helper to show custom attribute value in product listing page corner of every image as label. I get the value ...
Mahendra's user avatar
  • 716
0 votes
2 answers
787 views

Magento 2 - Get attribute label by id in controller

I am passing attribute id in my controller's URL and I am taking that id as below in my controller, $colorparam =$this->getRequest()->getParams('color'); This returns me the id present in the ...
chanchal's user avatar
  • 417
4 votes
3 answers
3k views

Duplicate Street Address: Line 1 Label : Magento 2.3.2

I am using Magento 2.3.2 On checkout page there is double label about "Street Address: Line 1" Is it a bug on my Magento ? I can not translate as well How can I remove it? Any idea? Screen ...
ozan yeni's user avatar
3 votes
2 answers
6k views

Magento 2: Rest API products "custom_attributes" add selected attribute value "label"

Magento 2 product rest API provided custom_attributes and details provided attribute_code and value in /V1/products/:sku API. But V1/products rest API not included custom_attributes details attributes ...
Kirti Nariya's user avatar
  • 3,041
0 votes
1 answer
438 views

Magento 2.3 get attribute id from attribute Label

I want to get product attribute id from attribute Label example: attribute label = Manufacturer I want to get Manufacture attribute id from attribute Label Any help would be appreciated. Thanks.
Rakesh Donga's user avatar
  • 5,364
0 votes
1 answer
324 views

Magento 1.9 - How to show images label on product view page

I want to show product images label with each image on product view page.I found below code on product view page but it's not working. <?php echo $this->htmlEscape($_product->getImageLabel())...
Shoaib Saleem's user avatar
0 votes
1 answer
109 views

show product label on sale products

How to show product label sale only on products that are on sale?
Sara's user avatar
  • 35
1 vote
1 answer
135 views

White Label Magento - Community Edition

Is there a white label plan I can purchase from Magento so I re-sell Magento Community sites under my own company name?
Bob's user avatar
  • 31
1 vote
0 answers
103 views

How to add a custom label in shipping address form in Magento2.2.5?

I want to add a only a label - just for informing a user in shipping address form in Magento2.2.5? Any help would be appreciated.
Amy's user avatar
  • 935
1 vote
1 answer
29 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()->...
Francesco's user avatar
0 votes
1 answer
188 views

How to put labels in the input fields in the customer address edit?

In Magento 2.x, on the customer account screen, I need to add labels to the address inputs. What is the best way to do this? I was able to perform the same modification on the address inputs of the ...
GJ10's user avatar
  • 1
1 vote
0 answers
27 views

How to add admin custom module page (Button) in Magento 2?

Here I already created the button if ($this->_isAllowedAction('custom_Mpquotesystem::mpquotes')) { $this->buttonList->update( 'delete', 'label', ...
prabhakaran7's user avatar
  • 1,087
4 votes
1 answer
334 views

USPS Create Shipping Label checkbox doesn't show on Ship Order screen

I'm running Magento 2.2.7. I have both UPS and USPS accounts with the API account information added in and in Production mode. I have successfully added UPS, retrieve rates on checkout, and can ...
blueionRich's user avatar
1 vote
0 answers
54 views

How to show product labels on Thumbnails

Have labels that show on product images on the category page and product page but they do not show on thumbnail images when doing a product search. How can get the product labels to show on the ...
user77513's user avatar
0 votes
1 answer
418 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')-&...
Craig Gillett's user avatar
1 vote
1 answer
736 views

Change Firstname, Lastname label in customer registration in Magento2.1.7?

How to change label Firstname, Lastname only in Customer registration in Magento2.1.7?
Amy's user avatar
  • 935
1 vote
1 answer
570 views

magento 1.9 get shopping cart price rule label

I'm trying to display the label of the applied shopping cart price rule. I can display the rule name, but there is no label. $rule = Mage::getModel('salesrule/rule')->load($ruleId); echo $rule->...
Alex's user avatar
  • 811
0 votes
1 answer
849 views

Magento2 change label of phone number field

I want to change all instances where the "phone number" field is listed to instead be labeled "Mobile Phone number" . I edited the file app/design/frontend/Smartwave/porto/Magento_Customer/templates/...
Jayreis's user avatar
  • 705
0 votes
0 answers
406 views

Magento 2 Checkout - How to replace labels with placeholders

In the Magento 2 Checkout, i need to replace the form input labels (Firstname, Lastname, City etc) with placeholders (text that will show inside the input box). I found this solution https://...
arjus's user avatar
  • 131
0 votes
2 answers
729 views

Magento 2 - Image Label returning Product name

I am trying to display a Product Image but am not able to get the correct data for the Alt Text $image = $block->getImage($_product, 'category_page_grid'); When I call $image->getLabel() it is ...
Shawn Northrop's user avatar
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 ...
Kozame's user avatar
  • 964
1 vote
0 answers
126 views

I am having trouble With Magento Tooltip Multiple Image Labels For Grouped Products, is there any way to fix this?

I am having trouble with multiple image labels for grouped products on Magento 1.9, is there any way to fix this? I will explain in detail about my issue using screenshots. For example: When I hover ...
Shahrooz's user avatar
2 votes
4 answers
1k views

Warning: array_merge_recursive() expects at least 1 parameter, 0 given

Warning: array_merge_recursive() expects at least 1 parameter, 0 given in /home/WEBSERVER/public_html/app/code/core/Mage/ConfigurableSwatches/Helper/Productimg.php on line 336 #0 [internal function]:...
Steven J's user avatar
  • 808
1 vote
0 answers
842 views

Magento 2 configurable products sale old price not showing

I've Magento V.2.2.2 running well, except for the configurable product listing dose not show any information about Sale, no old price showing next to the new special price no sale label is showing ...
Ahmad Darwish's user avatar
0 votes
1 answer
2k views

Remove <label> tags from shipping address fields on the checkout page in Magento 2.2.2

I am trying to remove all the <label> tags from a shipping address form on the checkout page. Here is the answer to hide those labels using CSS. I am trying to move those labels below the ...
vedu's user avatar
  • 867
1 vote
0 answers
139 views

Solution to : My USPS label print contain a “SAMPLE-DO NOT MAIL” watermark

I had the issue were i was unable to print the shipping label without the "SAMPLE DO NOT MAIL" Watermark. After 2 days of research on the google and every possible doc i could read it finally payed ...
168 estore's user avatar
0 votes
2 answers
516 views

Magento 2: How to make the forgotten password captcha input field's label a placeholder?

I am trying to make captcha input label a placeholder, not label. I followed the following instructions for doing the same thing on the checkout: https://diweirich.com/magento-2-using-placeholders-...
Frederick Duffield's user avatar
1 vote
1 answer
692 views

Custom Product Image Label

I am trying to get the image label of a custom product image attribute, i have added options but i am unable to get the label for each type. The code i am using to pull the labels is <img src="&...
Matt England's user avatar
2 votes
1 answer
88 views

How can I add some extra labels for the address in the adminpanel in M1?

I would like to add some extra labels to html code from the address , like in the image: Right after the street address I would like to add some labels. Right now I added via jQuery, but I have to ...
Attila Naghi's user avatar
  • 4,023
2 votes
1 answer
220 views

How to change the default label "Backorders" in Advanced Inventory?

I need to override the default label "Backorders" in Advanced Inventory. I've tried to override the label by creating the product_form.xml file but nothing happens. <container name="...
Dmitriy Chizhov's user avatar
1 vote
1 answer
328 views

Magento BUG : Not able to delete Products Attributes Option/Labels?

If i delete one of the attributes values and save, keep the value exist, it's not delete.. how can i solve the issue magento error. Note: php.ini => max_input_vars = 8000000 (master Value) ...
zus's user avatar
  • 165
2 votes
1 answer
3k views

How to add Create Print Label for Custom Shipping method in magento 2

I follow this document to create a custom shipping method, its works fine. But I need to add Create Shipping Label functionality for this shipping method. I got these reference Link1 and Link2 They ...
Rajkumar .E's user avatar
  • 3,570
2 votes
1 answer
277 views

Magento 2 - Hide SHIPPER_ACCOUNT_NUMBER on FedEx shipping label

I would need to hide SHIPPER_ACCOUNT_NUMBER on FedEx shipping label. FedEx support told me I had to set this in the module, that their API is able to hide some elements. They gave me : <...
David's user avatar
  • 392
0 votes
1 answer
137 views

Magento 1.9 standard RWD theme -- how do I display image labels on product view?

I'm sure the answer is something really obvious and staring me in the face but it's doing my head in. Stock standard Magento, in product view, where it shows the alternative images I need it to print/...
Raymond Morgan's user avatar
3 votes
0 answers
375 views

Magento 2 : How to create multiple shipping label with single order in UPS

I am using UPS shipping method. Scenario is : Suppose order id #123 has 5 items of a product. When clicking on create shipping label button It should create 5 different shipping label within a single ...
Abhishek's user avatar
  • 939
8 votes
1 answer
2k views

How to add a dynamic label In Magento 2?

I want to add a dynamic label in customer dashboard (label name set dynamically ) <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" ...
Nikhil Vaghela's user avatar
0 votes
0 answers
244 views

Fedex label creation issue in magento1.9

I am facing below issue in Fedex but i configured correctly in fedex in front end that same credentials working fine it gave quote for the product while shipping and only issue in label creation. ...
Jeeva Chezhiyan's user avatar
1 vote
2 answers
4k views

Save product image labels programmatically magento 2

I am saving the product programmatically using action class in magento 2 [Reference link].After saving the product i am saving the images.But while saving the labels of the images i am getting the ...
Bhavesh Tilvani's user avatar
1 vote
2 answers
1k views

How can I add new icon label for category in menu?

I need to display label like new, hot sale, offer for the category in the menu. How can I do that?
user avatar