Questions tagged [magento-2.1]

Denotes questions related to Magento CE and EE 2.1.x

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

Magento 2 : get report of currency exchanged rates

In Magento 2 Is there any way to get a report of currency exchanged rates?
0
votes
0answers
4 views

How to disable magento scrol validation on customer registraion foam?

I have comment the code if (firstActive.length) { $('body').stop().animate({ scrollTop: firstActive.offset().top - windowHeight / 2 }); ...
0
votes
0answers
14 views

Magento 2 store change cms page redirect to home page issue

I have Magento 2 store and having multiple store there is one cms page when i change store from front-end then it redirect me to home page instead of the same cms page even i have same url key for ...
0
votes
0answers
10 views

Magento2: collection getFirstItem not working if sales order item has same product with different custom option

I have one order with 5 products. 3 products are uniq product id. 2 products has same product id but product option are different. $order_id = 100; $order = $this->_objectManager->create('...
0
votes
0answers
6 views

Add install data dropdown in phtml file and save in database

Basically i have create a database column for drop-down using Install data .Now i am confused how to get this in phtml file and save into database Install schema <?php namespace Custom\...
0
votes
1answer
15 views

Document adminnotification_inbox can not be copied directly

while data migrating from magento 1.9.2.3 to Magento 2.3.4 with data migration tool, the error as shown in the screenshot is displayed. Could anyone please enlighten me on why it occurs and the fix ...
0
votes
4answers
71 views

Magento 2 custom attribute and show product if attribute YES

its very Urgent I have an attribute called 'show_product' (in the backend of Magento) with two outcomes 'yes' or 'no'. At the moment I'm just echoing the product name on the frontend. However, ...
0
votes
1answer
25 views

Magento2 product meta title and description

Use magento2.1 Need to generate meta title and description for my products dynamically, forexample: BASEURL-for your(Static string)-Product title, and for meta description example: static string-...
0
votes
2answers
96 views

Error running the `setup:di:compile` command Magento 2.3.0

Run:: /opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:di:compile Error screenshot:: Any one can help me
1
vote
1answer
144 views

Magento 2 - How to add Popup on Custom Button in Order View Page and pass information to Controller for further action?

I have added a custom button on the Sales Order View page in Admin using Plugin. When that button clicks it should open a popup with form and when I submit that form then this information should pass ...
0
votes
1answer
36 views

Magento 2 How to Insert sku in product title

run this sql query but nothing happened:: UPDATE `catalog_product_entity_text` as pt LEFT JOIN `catalog_product_entity` as p ON p.`entity_id` = pt.`entity_id` SET pt.`value` = CONCAT(pt.`value`,' (',...
0
votes
0answers
15 views

Magento 2 custom module grid in admin pagination not working

I have created one custom module and the grid is created using block but when I hit on pagination button then I am showing below error. There is no future of grid is working like shorting filtering ...
0
votes
0answers
24 views

Magento 2 custom module pagination or sorting not working in admin

I have created a custom module but in admin grid filter and pagination. everything is not working it's showing some js error in console. and the loader keeps loading. Like this grid.js:427 Uncaught ...
0
votes
0answers
16 views

Magento 2 Invalid form key please refresh the page while deleting the products from supplier dashboard custom page

I have implemented the B2B site and added a third-party module. Currently having an issue like while deleting the products. not deleting the products and it is saying Invalid form key. Please refresh ...
0
votes
1answer
24 views

Attention File you are trying to upload exceeds maximum file size limit

When I try to upload logo image I got this error Attention File you are trying to upload exceeds maximum file size limit.
0
votes
1answer
49 views

Magento 2 items orders and invoice not show in customer account orders list

Hello Guys Please help me Magento ver. 2.3.0 Date 2/20/20 place orders display only, not display 2019 orders in live site I checked it is working right on local server I run all these commands ...
0
votes
2answers
35 views

How to load collection only with specific attributes?

I try to load collection with specific attributes this way: $collection = $this->productCollectionFactory->create(); $collection->addAttributeToSelect('entity_id')->...
0
votes
0answers
16 views

Configurable Product created with existing SKUs won't let users add to cart?

For background, I had 16 existing SKUs that were essentially the same product but in different sizes (Industrial burs, with different sized heads). They all have their own individual product pages, ...
0
votes
0answers
18 views

How to add checkbox to custom grid via Renderer\AbstractRenderer or Renderer\Checkbox?

I have to add a column checkbox based on a column from DB. Checkbox column is appearing in the grid, but I can't change(grid doesn't change after save) the value of the checkbox and it always stays ...
0
votes
1answer
50 views

Magento2 - You have placed no orders

After placing an order the Customer's Account shows You have placed no orders. and shopping carts and wish lists. it gone? Please Help Backend Thanks
0
votes
2answers
56 views

Magento2 - How to translate string using js?

Does not translate a string in Arabic(ar_SA) Language, How to translate using jQuery? require([ "jquery", "mage/translate" ], function($,$t) { alert($t("hello")); ...
2
votes
2answers
42 views

Magento2 - When customer reaches a .phtml block, log them out automatically if they're logged in

Is there a way where in a check through a .phtml block to see that the customer is logged in, and If so, automatically log them out - please no observers or modules. I feel confident that I've seen a ...
0
votes
0answers
21 views

Not able to add configurable products into wishlist with color value

For add to wishlist anchor button, I have used the following code on my product details phtml file. <?php if ($block->isWishListAllowed()) : ?> <a href="#" class="action towishlist" data-...
1
vote
1answer
19 views

My staging takes longtime and displays connection timed out, but live site works on same IP

enter image description here Please help, Firstly I got the attached error on the site and now since yesterday my staging site is not working. Live site is hosted on digital ocean, Ubuntu and the ...
1
vote
0answers
18 views

Magento2 - Refused to apply style

Refused to apply style from <URL> because its MIME type (text/html) is not a supported style sheet MIME type, and strict MIME checking is enabled. This is what I get when i try to load the page ...
0
votes
1answer
34 views

Magento 2 - 2.1 to 2.3 update

How can I do a version update of my Magento 2.1 version to Magento 2.3?
0
votes
0answers
20 views

Magento 2 - Add text swatch attribute value programmatically

i need to add text swatch attribute value through script. I'am able to add the attribute but swatch value is not adding. Below is the code i using - $attributeDetails = $objectManager->create(...
0
votes
1answer
18 views

Magento2 - How to save customer address attribute value in database and show on edit of reorder/new order?

How to save customers address attribute value in the database and show on the edit page when we reorder/new order? Screenshot: https://prnt.sc/r7w5d5. It's working when I update an already placed ...
1
vote
1answer
46 views

How to add login form to home page in Magento 2.3.4

I had added the login form in the home page using the block, i inherited the block to home cms page the form is also viewing correctly but when iam using invalid credentials the page is redirected to ...
0
votes
0answers
29 views

Magento 2 Taxes are still not figuring correctly

Subtotal : $81.73 Shipping & Handling $10.55 So currently tax is calculated on $81.73 but it needs to be calculated on (81.73+10.55) = $92.28. Right? This is my tax setting ...
1
vote
3answers
76 views

Magento2 - How to customization of the invoice pdf?

I want to customize invoice pdf add parent category name before product name and after child category name. How to customization of the invoice pdf?
0
votes
2answers
30 views

Magento 2.3 - Product filter with multi select custom attribute

I trying to do filter the product collection with my custom attribute(Type : Multi select). It is not working. Kindly help me
0
votes
0answers
20 views

More then one Configurable products need to be dispayed in PDP

If I want to have more then one configurable product to be displayed in PDP with all the Swatches options with a single 'add to cart' button at bottom of the page, what kind of approach should I go ...
1
vote
1answer
23 views

Apply custom function to magento Admin edit form

I have made custom module in admin for add/edit and delete. For a particular field (example email ) in the edit form, I want to show HTML instead of an edit input field. For example, I am saving ...
2
votes
1answer
36 views

How to restrict specific Region from shipping?

I want to restrict some specific regions from the shipping list due to some requirements, so anyone can help here? Thanks
1
vote
2answers
26 views

Magento 2.1.8 Authorize.net payment method not working

Magento 2.1.8, Authorized.net payment method is not working, even with signature key. It was working fine before with patch installed. I got error at checkout page The Referrer or Relay Response URL ...
0
votes
1answer
24 views

Magento 2 tier price is not showing with tax

<?php if($_product->getTierPrice()){ foreach ($tierPrice as $key => $value) { $qty = (int)$value['price_qty']; $price = $value['price']; $formattedTierPrice = $...
0
votes
0answers
19 views

Magent 2.3.X custom payemet method missing terms and conditions checkbox

I am using a custom payment method while checkout in Magento but there is terms and conditions checkbox is missing even I have enabled it from the backend. The Magento payment method is showing ...
0
votes
1answer
41 views

Question moving from Magento 1.x to 2.x - what to do with extensions

i am moving from Magento 1.x to 2.x - I have a lot of custom build extensions from which my business is dependent on - without them I can not work... So, obviously when we are going to migrate to 2.x,...
2
votes
0answers
42 views

Magento 2 very big problem in orders items

A few days ago I was having this problem,( main.CRITICAL: Unable to unserialize value. {"exception":"[object] (InvalidArgumentException(code: 0): ) but I searched for this error, I found it, I ...
0
votes
1answer
34 views

Magento2 password algorythm

I want to use just 5 digit password instead of Caps lock number small character and more. I want to just use 5 lengh it can be anything like 12345 or abcde
1
vote
2answers
34 views

How to Active second tab on product detail page when product detail page is opened?

How to active 2nd tab name 'More Information' in product view page on page load.
0
votes
1answer
49 views

Magento 2 - The product that was requested doesn't exist

Magento2.3.0 I have the following error in var/log/exception.log any idea how to come this error main.CRITICAL: The product that was requested doesn't exist. Verify the product and try again. ...
0
votes
0answers
12 views

Magento 2 : Mollie Payment Gateway

Mollie Payment gateway redirects to 502 Badgateway when its failed payment. Successful payments work fine there. Anyone had this experience with Mollie Payment Gateway? I'm using Magento 2.1.13 ...
1
vote
1answer
37 views

Magento2 : Remove decimal from quantity in product grid in magento admin

I want to remove .000 after quantity in admin grid is there any way to remove decimal from quantity column.
0
votes
1answer
18 views

How can change layout arrangement and animation effects of minicart Magento 2?

Is that possible to make new animation effect and layout to mini cart in magento 2. Thanks
0
votes
1answer
34 views

All urls are not working, it is accidently deleted,

Yesterday, I accidentally deleted unnecessary backup files from the public_html folder and deleted other important files as well. Since then, the main home page of the website has been well displayed,...
0
votes
0answers
49 views

window.checkout is undefined

When I do an add to cart, nothing happens. I have this error in the console: TypeError: window.checkout is undefined For: images.js & minicart.js Thank you for your help.
0
votes
0answers
9 views

How to Connect Card Swiper to Magento 2 Website

I have a card swiper for debit card payment and a Magento 2 website. I am looking to connecting the card swiper to Magento 2 Website. Card Swiper - Knet Payment Gateway API is available in .net & ...
0
votes
2answers
22 views

₹ Symboles not supporting sales invioce pdf in magento 2.1.5

I have Magento 2.1.5 and that are not supporting ₹ symbols when we generate sales invoices. That pdf not showing ₹ symbols. Please check the screenshot. screenshot: https://prnt.sc/r0qi58 Please help....

1
2 3 4 5
111