Questions tagged [name]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
3answers
4k views

Why Magento ask First Name and Last Name?

As store owner, the two name field data (First name and last name) is very inconvenience while running store. Most of shipping carrier I use ask only one full name data when I import shipping ...
4
votes
2answers
2k views

Magento Change Product name added to cart

i want to change product name to custom name when added to cart: i wrote below code to change price ,but unable to change product name why so ,what to do for that <checkout_cart_product_add_after&...
4
votes
1answer
2k views

How to send set password email?

I want to send a "set password" email to users. I made a script where there is an option like "user register by email id" and other details. We review their detail and activate them. When the user is ...
2
votes
1answer
2k views

Get category ID by category name

I have an array with 3 categories names: $arr = ['onecat','twocat','threecat']; How can I get the IDs from this categories? For example in other array.
2
votes
1answer
37 views

magento modify product url and name

i worte code to modify product name and url . i am able to change name but url does not works below is mycode : public function modifyallname(Varien_Event_Observer $observer) { $...
2
votes
0answers
16 views

Increasing character limit for database tables

I have recently upgraded a copy of my site from 2.2.5 to version 2.3. All appeared to work correctly however I have encountered issues with a third party extension for a payment gateway. The ...
2
votes
3answers
575 views

Magento 1.9. Need help with product name

I'm trying to get product name in title tag on catalog-product-view presentation in page/block/html/head.php file. Tried both this: $product = Mage::registry('current_product'); if($product &&...
1
vote
2answers
523 views

Create Product Programatically with same Product name

We are displaying "Create product" link in product view page , once we click on link, we are creating product in backend. addtocart.phtml <button> <a href="<?php echo Mage::getUrl("...
1
vote
2answers
1k views

Added last name and search functionality in Customer Grid [duplicate]

Currently, only first name show on 'Customers -> Manage Customers' admin page if there are a lot of same first name user, it's hard to find right customer at once How can I make show last name on '...
1
vote
2answers
193 views

Magento 2.2 CE : Change in Vendor not update in cloud

I changed vendor/magento/module-customer/view/templates/widget/name.phtml "name validation" when i did this change in localhost and ran set:upgrade its working properly. But not in cloud.Why? I ...
1
vote
1answer
754 views

PayPal Pro Direct Payment using Credit Card

Finished setting up PayPal Pro direct payment. For credit/debit card options, it does not ask for Name on the card. Only card numbers, CVN expiration etc. So, does it just assume the same name that ...
1
vote
1answer
75 views

Getting category by name returns old or wrong category ID

Currently encountered a problem with catalog/category_collection. When I'm trying to get category id by it's name it returns wrong category ID. Anyone else had this problem and know a fix? I tried ...
1
vote
1answer
263 views

How to display Name, Thumbnail Image, Price, Add-to-cart Button On CMS PAGE?

I need to display all my products like, Sku Name Price Thumbnail Add-to-cart(Button) How can i get all above details on CMS Page? Note : Add-To-Cart Error
1
vote
1answer
73 views

Assign and add an icon next to product name of different categories

Suppose to have two categories: "Red" and "Blue". I also have two icons for each one: the "Red icon" and the "Blue Icon". I want to assign and display to the products of the Red category the Red icon ...
1
vote
1answer
363 views

Product name in order and invoice in of associated product

I want to show the associated Product name on Magento Admin Order View and Magento Admin Order Invoice Section. Currently it is displaying the name of configurable product but I need to show the ...
1
vote
2answers
348 views

How to use controller actions with long names?

I've created a custom module. In controller file the function as bellows. /** * Load slider images */ public function loadImageAction() { $this->loadLayout(); ...
1
vote
0answers
7 views

Save Product with value from database // ProductName + DB-Value

I am a Beginner. It was a challenge to code the module. But here I just can not get on. I hope someone can help me please. The output of my module is working on view.phtml: <?php $custominput = ...
1
vote
0answers
25 views

How to create widget which would display products with the same name as the product on page?

I am new to Magento and I need to create widget which will dynamically take name of the product on which page he would be and show all the products with the same name as this product, for example: ...
1
vote
2answers
1k views

Limit customer firstname and lastname in m2

How can we limit the character of first name and last name of customer. For example I want only 30 characters are valid to enter in first & last name. As of now there is no limit on character we ...
1
vote
0answers
99 views

Magento 2 displaying HOST name in sales email only

Magento 2 website Sales emails are showing hostname to customer i.e Apache. Recently we have upgraded Magento version to 2.2.5 but initially, it was working fine before the upgrade. Any suggestion?
1
vote
1answer
117 views

Rename the Middle Name/Initial to Father's Name

I need to rename the field of Middle Name/Initial in my registration form: https://www.khouryhome.com/customer/account/create/ to Father's name and want to make it mandatory and not optional like it ...
1
vote
0answers
162 views

Product names not updating in Magento 2.1.0

Porto theme We have 2 stores (I just added a new one). In the new store - I initially put in 5 products: The first one with the correct product name but the other 4 with: Product 1 Product 2 ...
1
vote
0answers
50 views

Custom product name in cart from backend

Is there a way to modify the name of a product when creating an order from backend? For example we have a product called "special order" and would like to rename with the specific name of the product ...
1
vote
1answer
87 views

How to HyperLink block_name on any block or Product Slider Name Title

When using the code below, it shows feature product slider on any CMS page with the title that is a value of the block_name attribute. It's shown as a plain text, but I want to make it a hyperlink. ...
1
vote
1answer
541 views

First Name and Last Name not allowing to use Latin letter

I am Using Magento 1.9.1 Gómez nº these letters are not allowing in my customer form. please help.
1
vote
0answers
157 views

Author name and user fields when packaging magento extension

I am echoing an unanswered question here. What exactly goes in the 3 fields displayed on in the Magento packaging guide "Section C: Authors"? The guide has a screenshot that includes 3 fields, ...
0
votes
2answers
5k views

Magento 2 : How to remove default sort by options and add custom sort by options?

I need a help ASAP related to sort by functionality in magento 2 1] I need to remove default sort by options. 2] I need to add my own sorting options. I tried a custom module in which I have ...
0
votes
3answers
1k views

How to display customer name in header after logged in

How can I display customer name in the header after logged in successfully?
0
votes
1answer
863 views

filter product by name not working

i have written custom code to display all product by their category id now i want to add name filter which searches and show name matching with product 1: my category code works fine 2: when i add ...
0
votes
3answers
1k views

Magento 2:Show category name in cart page

I have a custom module. I want to display category name of each product in the cart Please see my code checkout_index_index.xml <body> <referenceBlock name="additional.product.info">...
0
votes
2answers
2k views

Magento 2: get controller, module, action name in template file? [duplicate]

How can I retrieve controller, module and action name within a template?
0
votes
2answers
34 views

How to show other custom attribute instead of name customer in top link magento 2

In my case, i have two type of customer: for local customer i will keep the firstname lastname in top link if it's connected else i want to display a custom attribute that i added in registration form ...
0
votes
1answer
44 views

Product name is not showing up correctly on front-end

I have created simple and configurable products named Orange OYOBox Maxi, Aqua OYOBox Maxi, Niagara OYOBox Maxi, Dusty Cedar OYOBox Maxi, Yellow OYOBox Maxi Here simple and configurable product has ...
0
votes
1answer
457 views

Word Wrap on Magento Invoice

I am working on this file: app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php I have products with long names. For Example product name is: loonggggg producttttt nameeeee I want it like this on ...
0
votes
1answer
158 views

Magento Invoice change product name

is there any way to create product that you can change name when you are sending invoice? We have some small products that we don't want to create as new products. We use it only when we are doing ...
0
votes
1answer
1k views

display longer product name in 2 lines in magento [closed]

please visit this link : on bottom you can see " Latest Product Added " under that first product is "longer product name need to display in 2 lines " as like in products list page, how to display ...
0
votes
2answers
814 views

In magento, in “Customer Grid”, how can I fix to show data in “Name” column in all records?

In magento "Customer Grid", data in "Name" column is missing in some rows and showing in some rows. How can I fix to show data in "Name" column in all records?
0
votes
1answer
198 views

Magento Multi domain & country specific domain endings

I'm new on Magento and in this time I'm studying how build an e-commerce site with Magento CE. I read some guides and wiki, but there is a thing I don't understand. When we say that magento can ...
0
votes
0answers
11 views

How to override module-sales name.phtml at all places in admin Magento 2

I have followed How to override vendor/magento/module-sales/view/adminhtml/templates/items/column/name.phtml Magento 2 but, it's not change name in new shipment and view shipment section in admin.
0
votes
1answer
35 views

How to hide category name on category page only for second level category in magento 2

I want to hide the category name on the category page only for the sub category of only one parent category. The category names will be displayed for all other categories and sub categories. For e.g I ...
0
votes
1answer
379 views

Magento 2.3.1 How to display source or stock name on product page ? MSI Multii Source Inventory

How to display source or stock name and code on the product page? Where is information about a current stock or source name? Can I use the code from Sourceitem.php on the Product page? public ...
0
votes
0answers
24 views

how to deduce the name of product from sku when creating a product magento 2

I have disabled the auto generated SKU so SKU is independent from name but in advance I want a new functionality when adding the sku 10014100 for example i will do a request in some table to ...
0
votes
0answers
1k views

Installation is incomplete.%0 error log help (2.2.2)

Step 6: Install Installing... 0% Installation is incomplete. Check the console log for errors before trying again. [ERROR] ...
0
votes
2answers
711 views

Magento 2 - Change category description, position and name programmatically

How can I change name desciption, position and image attributes for a category using code. I tried this code for changing the name, but without success: // $_this->cm is \Magento\Catalog\Model\...
0
votes
0answers
61 views

How to display custom attribute name after login into site in magento?

I want to display custom attribute name after welcome message when login in to site. I have added custom attribute in "full_name" in customer account so i need to display this full name after welcome ...
0
votes
0answers
33 views

Incorrect Name Value For Admin Store

Please take a look at screen shot of table catalog_product_entity_varchar below. The attribute_id '71' is the ID for attribute name. I have 2 stores. For both stores the product have same name value ...
0
votes
1answer
415 views

How to get Image type, file size and url?

is it possible to get Image filename and path, type (jpg,png etc) and file size(in bytes)? In fact I need the same data that you get from an image upload form, but I need to retrieve them from ...
0
votes
1answer
817 views

I can't translate position, name and price on sort by list

I have problem with translations. I've tried translate it in translate.csv and mage_catalog.csv and it doesn't work. position == Pozycja name == Nazwa
-1
votes
1answer
331 views

Get Parent Category Name [closed]

I have category pages and within those are sub-category pages. Those sub-category pages have a sidebar displaying the filterable options within that subcategory. I want to echo out the name of the ...