All Questions
2,556 questions with no upvoted or accepted answers
2
votes
0
answers
42
views
Description Attribute Editor Issue in Magento 2.3
I am developing website with multiple stores and each store has product description in different language.
My description attribute scope is Store View. When I'm going to change description store ...
2
votes
2
answers
2k
views
Magento 2.3 : I can't login to admin after making changes to Admin Base URL
I made modifications to the Admin Base URL section, the login page changed but the form is available (See Image). So when I login in using
Chrome : I get "ERR_TOO_MANY_REDIRECTS"
IE : There were ...
2
votes
0
answers
63
views
magento 2 I want to write the dynamic {{var shipping_company}} into the xml file
Helllo,
i want to set the the dynamic value of variable into xml file
try {
$om = \Magento\Framework\App\ObjectManager::getInstance();
$filesystem = $om->get('Magento\Framework\...
2
votes
0
answers
54
views
I have added js using require js but it is not attached
I have added javascript files in require js but it is not showing in the inspect element that my javascript files are attached and it is not working.
What should I do? I have cleared cache and folders ...
2
votes
0
answers
107
views
You need to choose options for your item in Magento2 after running command indexer:reindex
I Moved database and webserver files from one server to another. After moving everything works fine. But when i run php bin/magento indexer:reindex on new server then while adding products ...
2
votes
0
answers
209
views
Magento 2.3 - How to modify language pack
I have a language pack that I cloned from git into my project.
The path to the module is: app/i18n/magenerds/de_DE
It's registration.phpsays
\Magento\Framework\Component\ComponentRegistrar::register(
...
2
votes
0
answers
52
views
Show arabic digits for prices in arabic store
I want to show arabic digit for arabic store and english digit for english store.is there any way in magento 2.3
2
votes
0
answers
322
views
Magento 2.3 upgrade compilation error
After I upgraded my magento store from 2.2.5 to 2.3.0 the CSS of the website is not displayed and I get an error when I run this:
php bin/magento setup:static-content:deploy -f
The error is:
...
2
votes
1
answer
215
views
I am facing an database rollback issues in Magento 2.3
Error
Static analysis:
1 error was found during analysis.
Unrecognized statement type. (near "LOCK" at position 58) SQL query:
-- -- Dumping data for table mgw2_inventory_stock_1 -- LOCK ...
2
votes
1
answer
889
views
2.3.0 Watermarks not showing on product images
Watermarks are not showing up on product images in v2.3.0.
Steps to reproduce
Create categories
Create products
Modify buggy image uploader to work around bug so you actually can upload an image.
...
2
votes
0
answers
66
views
Products do not appear on list page in magento 2?
I am working on a project where I need to display the list products on list page. I have added the products on local server where I am getting them on front-end. But when I create products on live ...
2
votes
1
answer
1k
views
Payment Methods are not showing on PWA Suite?
I have installed PWA suite on my local machine.
I have enabled COD and Check / Money order Payment methods.
But Why these methods are not showing on checkout page. Pay with Card only displaying!...
2
votes
0
answers
187
views
Magento 2 - Unable to access the Category page without index.php
I have Magento 2.3.0 recently upgraded. In which, I removed index.php from the base url, every where its working fine.
Even in Category Page, except for one category page.
I can only access that ...
2
votes
0
answers
100
views
configure Magento 2.3 with Will-Call only shipping method
I have put together a store for my Rose Club's annual fund-raiser. Unlike most of you customers, we do not do any shipping or deliver, but rather have two weekends where the livestock (roses and ...
2
votes
1
answer
679
views
Magento 2: How can I fix my cron issue?
I've installed Magento 2.3 on my server. Currently I am trying to activate cron, but unfortunately I always get the same notice when I try to install and run it.
Error during saving of crontab: sh: ...
2
votes
0
answers
84
views
How do I add a new text box in magento 2 credit card payment form?
I have got a customization request for Magento 2 credit card payment method. need to add a text box, the information will be passed to the payment gateway.
2
votes
1
answer
312
views
editing content pages and configuration hangs (spinning donut)
This has happened to me twice now: I get the site installed, I get the template installed, and eventually I start customizing the site and the content pages in the backend stop loading. The first ...
2
votes
2
answers
1k
views
Magento 2.3 product image issue
Product image issue when upgrading Magento 2.2.7 to Magento 2.3.0.
I have two stores (id_1) and (id_2).
Issue (id_1): Category page is only Magento 2 default product image for all products. No ...
2
votes
0
answers
554
views
Magento 2.3 : How to use Elastic search?
As we all know that since Magento 2.3 CE released It supports Elastic Search without using any 3rd party vendor.
How Can I configure it ?
Note : I don't want to use other vendors for now.
2
votes
1
answer
47
views
Admin no display
Using
- windows 10 OS
- Magento-CE-2.3.0-2018-11-27-10-23-08
- xampp-win32-7.2.12-0-VC15-installer
I have try mozilla firefox, Chrome, explorer and incognito but admin page will not display
any ...
2
votes
1
answer
1k
views
How to translate shipping method titles
I need to change the text for a shipping method title.
Currently we have
Federal Express
Express Saver
I would like this to say Express Saver (3 Day Delivery) instead of Express Saver on the ...
2
votes
1
answer
708
views
Magento 2.3: One or more indexers are invalid
We are facing a problem with Magento 2.3 in indexers we tried a lot to fix it without any solution
You could see from the next screenshot that Reindex Required
We tried to edit our Cron job to fix ...
2
votes
0
answers
564
views
how to configuration of elastic search in magento 2.3 beta?
I have to install elastic search and set configuration from Magento admin but still got the error when I run the command
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"wrong ...
2
votes
0
answers
60
views
Magento 2. 2 Mail template can not be translated
I am offering English and Japanese in Magento 2 project.
We respond to customer's inquiries about products.
I want to make the mail template of that module correspond to Japanese, but it is not ...
2
votes
1
answer
565
views
Magento 2 - Translate Cancel Button
The Javascript translation in Magento 2 is buggy as hell. And I just can't get the cancel button for the minicart dialogue translated. The one when you try to delete a product from the cart. I even ...
2
votes
0
answers
400
views
Magento2: can't translate transactional email phrases
I'm trying to translate some custom transactional email templates but I have some problems.
In the templates (mycustomtheme/Magento_Sales/email), strings are the same of the default luma ones.
If I ...
2
votes
0
answers
401
views
JS translation file is empty
I am using some translation packages from Packagist (magento2translations/*) and I have some translation files in my theme at app/design/frontend/Mytheme/mytheme/i18n. On the PHP side, they all work ...
2
votes
0
answers
114
views
Magento 1.9 - Multiple Storeviews for the same Languages
I've got a settings-related question for you all; we have a Magento 1.9 shop with something of the following store setup:
Store 1 - Storeview 1 - Language A
Store 1 - Storeview 1 - Language B
Store 1 ...
2
votes
0
answers
254
views
Load SHORT country names
I need to change the name value from
lib/Zend/Locale/Data/de.xml
I have there two lines:
<territory type="HK">Sonderverwaltungszone Hongkong</territory>
<territory type="HK" ...
2
votes
1
answer
2k
views
How to translate Magento validate.js error
I have a website with 2 stores (English and Spanish). Now I need to translate validation messages in Spanish. Like for example:
Please enter a valid email address.
Please suggest how I can ...
2
votes
1
answer
391
views
How do I execute Magento 2 CLI commands using a custom script?
I had created a custom script which update my database. After completion of database update, I want to execute the Magento CLI commands by adding custom functions in my custom script.
The script ...
2
votes
1
answer
239
views
magento 2 remove root lib/web/ js files from home page
Magento 2 sends around 300 request on home page so speed is very slow.
Also, bundling create very large file so its taken time to load resources.
I want to remove js from root lib/web from home page.
...
2
votes
1
answer
356
views
save custom value in proudct page to database table on add to cart clicked in magento2
I want to save the custom options that are on the product page in the custom table on click of add to cart in magento2
here you can see the options are displaying I want to save it in the database ...
1
vote
0
answers
76
views
How to remove default entity_id sorting in magento 2?
I need to remove the default entity_id sorting from category product collection and add position sorting.
here i try using the below method
> $cp = $category->getProductCollection()->...
1
vote
1
answer
178
views
Magento2: I'm getting empty data from the product attribute
I am receiving empty data from the product attribute "product_types"
& getting a null value when fetching the data from this attribute.
1
vote
2
answers
40
views
Place DIV or SPAN class inside stock available
How can I place a div or span class inside stock available with custom xml. Would like custom block next to INSTOCK.
<body>
<referenceBlock name="product.info.stock.sku">
...
1
vote
0
answers
44
views
Customizing Magento 2.3.4 Search to Include Product 'Position' from Categories in Result Sorting
I'm working with a Magento 2.3 store and looking to customize the search result logic - fulltext search. Specifically, I want the search results to consider the "Position" attribute of ...
1
vote
0
answers
30
views
Magento2.4.5: How to lazy load Jquery and remove unused scripts from Theme Desgin?
I want to optimize my website and remove unused javascript/jquery and also defer or lazy load javascript/jquery for better performance
any tools or techniques to achieve this?
1
vote
0
answers
35
views
Cart Price rule is not working if the product is available in multiple categories Magento 2.4.6
In my magento we are using Mexbs Bunlde Discount extension to create cart price rules.
i created one rule like - A product from X category + B product form Y category + C product from Z category for ...
1
vote
0
answers
37
views
Found JS error in require.js, but not able to rectify from where it is coming. Please help
I found the error in require.js like
Uncaught Error: Mismatched anonymous define() module: function(y,h){"use strict";
With the around the thousand line that i can't share it here. But i am ...
1
vote
2
answers
57
views
change product page information from tabs to one column
I am trying to change the way displaying the tabs in product page ( details, more information and reviews ).
I don not want it to be tabs I want it to display directly one after one: details then ...
1
vote
0
answers
503
views
The nonce is already used by the consumer with ID
After Oauth handshake completes and the 4 Oauth values are generated I test an API call like this one:
curl --location 'https://[server name]/index.php/rest/V1/categories' \
--header 'Authorization: ...
1
vote
0
answers
35
views
I Want to validate condition rule on category page products in magento 2
Here is my Code
public function checkCondition()
{
$categoryId = $this->getRequest()->getParam('id');
$ruleColl = $this->customConditionModel->create()->getCollection();
...
1
vote
4
answers
154
views
Can't upgrade Magento from 2.3.5-p1 to 2.4.2 due to extension errors
I am trying to upgrade Magento from 2.3.5-p1 to 2.4.2. I have run composer require magento/composer-root-update-plugin=~1.0 --no-update and composer update. Then I got error on some extensions. One of ...
1
vote
3
answers
1k
views
Getting error while running php bin/magento setup:di:compile
I am getting the below error while running the below command.
php bin/magento setup:di:compile
Class "Magento\Framework\HTTP\LaminasClient" does not exist ...
1
vote
1
answer
36
views
var dump resizeFromImageName is giving NULL
I am generating image cache by following code
$resizeImage = $objectManager->get('\Magento\MediaStorage\Service\ImageResize');
$...
1
vote
1
answer
21
views
Admin site is not accessible from subsites
I have a magento multi site. We disable the default site and move the site and domain to another installation. Now the problem is that i cannot access admin from a sub site. What can be possible done ...
1
vote
2
answers
2k
views
How to add google recaptcha V3 for custom forms in magento 2
I have around 20 popup custom forms in my magento 2. I want to add Google recaptcha V3 for the all popup forms.
How can i add captcha v3 to all the forms. what is the best way to add for all the ...
1
vote
2
answers
533
views
Magento 2 get custom attribute and show on phtml file
I have created a custom product attribute using a module.
$eavSetup->addAttribute(
\Magento\Catalog\Model\Product::ENTITY,
'special_feature',
[
'...
1
vote
1
answer
207
views
Override Company Address Telephone field Magento 2
In My Account > Address Book. We have Default address & Company Address section.
In Company address, telephone is getting saved as (4-03)9038-383. I want to save it in numbers only i.e. ...