Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [labels]

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

1
vote
0answers
19 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', ...
2
votes
0answers
12 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 ...
1
vote
0answers
24 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 ...
0
votes
1answer
23 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')-&...
1
vote
1answer
36 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?
0
votes
1answer
31 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->...
0
votes
0answers
17 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/...
0
votes
0answers
65 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://...
0
votes
1answer
57 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 ...
2
votes
1answer
84 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 ...
1
vote
0answers
40 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 ...
2
votes
4answers
338 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]:...
0
votes
0answers
257 views

Adding a tracking number and shipping label to shipment

I'm having problems with successfully adding my tracking number to a shipment in my Magento 2 module. It essentially works, but when I also add a shipping label then the shipment gets broken. This is ...
0
votes
0answers
249 views

Magento 2.2 Add label to product based on attribute

I would like to add a .png icon as a label on a product who has a specific attribute, similar to new label. Could I be able to write a plugin for it? Which class would I need to interface? Any ideas?...
1
vote
0answers
318 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 ...
0
votes
1answer
443 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 ...
1
vote
0answers
74 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 ...
0
votes
2answers
178 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-...
1
vote
1answer
327 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="&...
3
votes
1answer
51 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 ...
1
vote
1answer
135 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="...
1
vote
1answer
175 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) ...
1
vote
1answer
870 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 ...
1
vote
1answer
97 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 : <...
0
votes
1answer
84 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/...
2
votes
0answers
203 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 ...
5
votes
1answer
538 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" ...
0
votes
0answers
143 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. ...
0
votes
1answer
2k 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 ...
2
votes
2answers
801 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?
1
vote
0answers
226 views

How Can I Bulk Import Image Label By CSV

I need to import image label of my images, how can i do it by csv,
3
votes
0answers
96 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 ...
0
votes
1answer
198 views

How to remove bundle product new and sale label in product list page

I would like to remove bundle product new and sale label in product list page. How can i do that Eg: My code <?php $_productCollection=$this->getLoadedProductCollection(); $_helper = $...
1
vote
1answer
801 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 ...
0
votes
1answer
164 views

Category Label crums are not displaying in multi-select view in edit form admin magento 2?

I am creating the category restriction module, when i edit particular record then all data are filled fine except category (Label Crums). In edit page, multi-select categories are selected but label ...
2
votes
1answer
3k views

How to edit and change checkout field labels in Magento 2? [duplicate]

Is there a way that I can edit or change the State/Province and Zip/Postal Labels to County and Postcode as I am working on UK based website. I searched a lot in vendor/magento/module-checkout/ ...
2
votes
1answer
472 views

How can set new label Icon for selected category in menu popup

I need to create New Label Icon for selected categories, How can I create new labels icons like,
3
votes
1answer
298 views

Move up Validation in Configurable Product Page

Is it possible to move up label, below the fields? And where I can find it? I tried in validation.js, but didn't have much luck.
1
vote
2answers
183 views

Remove checkbox label

Is there a way to remove a checkbox label from above? I looked into documentation, but i didn't find any similar example.
0
votes
2answers
656 views

How can i update label name of full images in bulk using CSV upload

I need to update all label name of images, how can i do it by csv.
4
votes
2answers
4k 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
1answer
3k views

Get option label associated with admin store in Magento 2

I want to go through all options of attributes configured for filtering and output the label of the Admin Store View. I only managed to get the Default Store View (store_id 1) label with the following ...
0
votes
1answer
304 views

How to remove / hide instructions from magento shipping lable (Fedex , USPS)

I dont want that instructions in shipping lable, So please kindly help to achieve this. I dont want any message after the line. like "For FedEx" "After Printing this lable" "Warning" ...
1
vote
2answers
711 views

Change Shipping label on all summary section in Magento 2

In a Magento 2 project, I would like to change the label "Shipping" to "Shipping & Surcharge" on all the summary section on both frontend and backend. Is there any easy way and one step to do ...
2
votes
1answer
997 views

Change labels on checkout page in Magento 2

On the checkout page I want to change the labels of Zip/Postal code and State/Province. I have updated the en_US.csv file, but nothing happens, despited clearing cache. Any ideas on how to solve this?...
0
votes
1answer
1k views

How to mark a product as New in magento?

Is there a way to make a product have a little label next to it saying 'New'. I noticed there is an option in the general settings of a product to set the dates for which it is new so how would I go ...
1
vote
2answers
2k views

How do you edit checkout field labels in Magento 2?

The site I am working on is only selling to UK customers, and therefore we would like to change the labels from the Zip/Postal to Postcode and from State/Province to County. I have spent a long time ...
0
votes
1answer
289 views

Uploading Images labels

I'm uploading images labels using a CSV file contains the following columns (store,sku,image_label,small_image_label,thumbnail_label) and that's worked perfectly. The problem is when i have a product ...
0
votes
1answer
441 views

Printing shipping labels creates the following error: Add Package Create Packages The XML document is well formed but the document is not valid

I get the following code back from UPS: [result] => <?xml version="1.0"?> <ShipmentConfirmResponse> <Response> <ResponseStatusCode>0</ResponseStatusCode> &...
0
votes
1answer
377 views

Edit Label on Order Totals Block on Admin

I have installed a module called "Magentix" on my site. I want to edit the Label on the Order: What would be the path and file? I couldn't find it. Thanks