Questions tagged [magento-2.1.8]

Denotes questions related to Magento CE and EE of version 2.1.8 Used in case the issue is connected with 2.1.8 version: update to this version, this version bug etc.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

How to get all the totals in checkout page in Magento 2.1.8 EE

I want to check my custom fee applied or not. So I just want to know all the totals from the quote on the checkout pages. Thanks in Advance.
user avatar
  • 2,326
0 votes
1 answer
725 views

In Checkout while Magento upgrade to 2.3.1 Exception #0 (InvalidArgumentException): Unable to serialize value

Getting below issue at checkout step after upgrade of magento to 2.3.1 from 2.1.8. 1 exception(s): Exception #0 (InvalidArgumentException): Unable to serialize value. Exception #0 (...
user avatar
  • 311
0 votes
0 answers
70 views

magento 2.1.8 EE upgrade error

I am trying to upgrade magento version from 2.1.8 EE to magento version 2.3.1. I am trying to update using command line procedure given here https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/...
user avatar
  • 377
0 votes
1 answer
301 views

magento 2 EE should not save search terms with zero search results

I am using magento 2.1.8 Enterprise edition. I do not want to save search terms which have zero search results. Is there any solution ? There is no option in configuration to stop saving the search ...
user avatar
  • 377
2 votes
2 answers
1k views

Getting error in catalog product price indexing

I am facing below error while running indexing for catalog product price. Command: php bin/magento indexer:reindex catalog_product_price Error: SQLSTATE[23000]: Integrity constraint violation: ...
user avatar
  • 2,326
0 votes
1 answer
79 views

Migrate Magento EE 2.1.8 to Magento CE 2.1.8

How to migrate Magento Enterprise Version 2.1.8 to Magento Community Version 2.1.8? I have installed a fresh copy of Magento CE with new database then Transfered the theme and the extensions. ...
user avatar
4 votes
1 answer
1k views

How to downgrade Magento Enterprise 2.x to Community edition

My site uses Magento EE 2.1.8, I want to downgrade to Magento CE 2.1.8 , I havn't found steps to do that. I just found lot of articles for Magento 1. I see that there are two methods for downgrading, ...
user avatar
4 votes
1 answer
454 views

Magento 2 EE getting error when we try to save order from the backend

I have tried many solutions to fix this core issue. Whenever I am going to edit the order, update shipping or payment method and click on save. I am getting below error Fatal error: Uncaught Error: ...
user avatar
  • 2,326
0 votes
1 answer
2k views

Magento 2.1.8 export not working

I try to export my products in Magento 2.1.8. When i select to export products and csv files format and i press continue then showing 'Please correct the data sent value.' Log file error: [2018-11-...
user avatar
  • 3,121
3 votes
0 answers
629 views

Magento 2: How to reduce column width in admin grid?

I want to change column width. I don't want any scroller due to a large column width in admin grid. Here is the code. I am using: <block class="Magento\Backend\Block\Widget\Grid\Column" as="...
user avatar
2 votes
1 answer
213 views

Magento 2: argument type error on compilation

I have compilation issue in my module. While I am running command php bin/magento setup:di:compile facing this issue in magento 2.1.8. It's showing this error: Incompatible argument type: Required ...
user avatar
1 vote
0 answers
40 views

Magento 2.1.8 Renaming image url after import or save

Is there anyone that knows a way of renaming product images after import or at save, from the original to the product's url + .jpg? e.g. if the product url is black-backpack.html and the original name ...
user avatar
3 votes
4 answers
8k views

Programatically update cart item quantity

Below is my code: namespace Ves\Productlist\Controller\Cart; use Magento\Quote\Model\QuoteRepository; class CartUpdate extends \Magento\Framework\App\Action\Action { protected $quoteRepository; ...
user avatar
2 votes
1 answer
493 views

How to call custom 503 page without error message in developer mode?

I have create custom error template into pub\errors\custom folder and Customize 503.phtml template file and write custom message into it. In Site Default Mode and Production Mode Template File ...
user avatar
2 votes
3 answers
815 views

Load my regsitartion page in CMS page - Magento 2

My registration page is coming from path: /app/design/frontend/Mgs/claue/Magento_Customer/templates/form/register.phtml I am trying to load that in a CMS page. Not sure how to do that. Tried many ...
user avatar
  • 193
1 vote
1 answer
1k views

How to add custom field in catalog price rule and cart price rule?

I've custom module of banner. I want to add banner id as drop-down in price rules to select as custom field. When, I select banner Id during sales rule then the particular banner must be activated ...
user avatar
  • 1,957
-1 votes
1 answer
397 views

How to create magento 2 admin user from the root folder?

I want to create admin user from the root directory as it can be done in magento-1.9 , Is it possible? How can I create a new admin user without CLI (SSH) and database?
user avatar
  • 1,957
1 vote
7 answers
851 views

How to uninstall extension Algolia_AlgoliaSearch in Magento 2?

I had installed Algolia_AlgoliaSearch extension via composer in Magento 2. Now I want to remove this extension from the website. So that I have deleted the complete files and folders of the extension....
user avatar
  • 1,957
0 votes
1 answer
1k views

How to remove image url from sitemap.xml Magento 2?

I have created sitemap.xml in the website. In which, Image URL coming with cdn link. I have change setting from admin but still is showing. I don't want to use CDN URL in the sitemap. How to ...
user avatar
  • 1,957
0 votes
0 answers
179 views

How to add brand page URLs in sitemap.xml

I have created sitemap.xml on the website. That's fine. But I want to show brands page URLs in the sitemap.xml How can do this?
user avatar
  • 1,957
0 votes
1 answer
709 views

Magento 2 : Custom quote column value not copied on quote merge

I have created a custom column named 'campaign_id' through UpgradeSchema in quote table as below. $installer->getConnection()->addColumn( $installer->getTable('quote'), '...
user avatar
2 votes
2 answers
917 views

How to move category to another parent category magento 2.1.8?

I want to move a category from parent category to another parent category. category Drag and drop from admin is too slow. So how can I do this using code?
user avatar
  • 1,957
0 votes
0 answers
203 views

2.1.8 You have no items in your shopping cart

When I add the items into cart, I'm getting the message saying "You have no items in your shopping cart". I can see the following error in my browser console: undefined is not an object (...
user avatar
  • 179
1 vote
1 answer
676 views

Magento 1.9.3.4 -> 2.1.8 data migration tool error

I have tested steps of the import one at a time to determine that the issue occurs right after the map step. When I migrate customer and sales data using the data migration tool I get the following ...
user avatar
1 vote
1 answer
4k views

How to add 301 redirection rule magento2?

How to add 301 redirections for the base URL in Magento 2.1 via .htaccess. http://www.example.com/ http://www.example.com http://example.com http://example.com/ https://example.com http://...
user avatar
  • 1,957
1 vote
0 answers
23 views

PayPal orders using existing Order IDs

On our Magento 2.1.8 CE site we noticed random problems with orders where PayPal Express was used. Once the order is placed, it will not show up in the Magento admin. When we check in our PayPal ...
user avatar
0 votes
5 answers
3k views

Some products have catalog/product/view/id/2221/name-of-the-product from product URL magento 2?

In the Site, product URL is like this: http://www.test.com/product-url-key But when I searching the product then some product URLs are showing like this: http://www.test.com/catalog/product/view/id/...
user avatar
  • 1,957
0 votes
1 answer
370 views

Search product URL as catalog/view/id/213 Magento 2

I have disabled Use Categories Path for Product URLs, so the product URL Example: www.example.com/product-url Which is fine. But I have added some products which have visibility as search only. ...
user avatar
  • 1,957
5 votes
2 answers
8k views

How to add canonical tag for all cms pages magento 2?

I want to add canonical tag for all cms pages. Currently canonical tag enabled for category and product page. How to do this?
user avatar
  • 1,957
0 votes
1 answer
651 views

How to hide COD payment method for specific product? [duplicate]

I want to hide cash on delivery payment method for a specific product. How can I do this?
user avatar
  • 1,957
1 vote
1 answer
722 views

How to change Invoice increment id?

I want to change Invoice increment id from new series with the prefix. I have checked sequence_invoice table in the database. I have found 4 table: sales_invoice_0 sales_invoice_1 sales_invoice_2 ...
user avatar
  • 1,957
0 votes
0 answers
81 views

Order emails not sending to customer or admin magento 2.1.8?

I am facing an issue with sending the email. When I triggered email then server log shows below information: pr 4 11:11:35 ip-172-31-3-44 postfix/smtp[90393]: connect to gmail-smtp-in.l.google....
user avatar
  • 1,957
0 votes
0 answers
45 views

How to checkout specific product from cms page magento 2?

I have a virtual product and want to add to the cart when clicking on a button which is on cms page. Customer must be redirected to checkout page after clicking on the button.
user avatar
  • 1,957
0 votes
1 answer
353 views

Product image uploading issue from external path magento 2?

I am uploading images from an external URL. Image uploaded in the dir but getting an error message: 1. Imported resource (image) could not be downloaded from external resource due to timeout or ...
user avatar
  • 1,957
1 vote
2 answers
1k views

How to show "apply discount" option on checkout magento 2

I want to use apply discount option on the checkout page. How can I show this?
user avatar
  • 1,957
1 vote
0 answers
548 views

Entity attributes not listed when exporting products magento2!

I am exporting products but entity attributes list not appearing on the page. When I check in response, it is showing script but not response. <script> require([ 'mage/adminhtml/grid' ], ...
user avatar
  • 1,957
2 votes
2 answers
655 views

How to show Additional charge on COD in invoice pdf magento 2?

I am using an extension to add additional fee on Cash on Delivery payment gateway. It is working fine but the COD fee is not showing in invoice pdf. This issue only for the admin invoice pdf. How ...
user avatar
  • 1,957
2 votes
1 answer
2k views

How to filter related product collection by is_salable magento 2?

Related products are showing with out of stock products, I want to hide out of stock products from related products only. $this->_itemCollection = $product->getRelatedProductCollection() -&...
user avatar
  • 1,957
1 vote
2 answers
2k views

how to add product link on the checkout page order summary magento 2?

I want to add link on the product which is showing in order summary on checkout page. I have found HTML code in the file: module-checkout\view\frontend\web\template\summary\item\details.html Code:...
user avatar
  • 1,957
1 vote
1 answer
914 views

How to skip Shipping method step in checkout if only one shipping method in Magento 2?

I have only one shipping method on my website. Do I want to skip shipping method step on the checkout page?
user avatar
  • 1,957
1 vote
1 answer
2k views

how to remove decimal value from product price Magento 2?

The price-utils.js solution did not work for me. I have changed from const DEFAULT_PRECISION = 2; To const DEFAULT_PRECISION = 0; in /vendor/magento/framework/Pricing/PriceCurrencyInterface.php ...
user avatar
  • 1,957
0 votes
2 answers
320 views

How to make order id as transaction Id rather than random transaction with PayU?

I want to make order id as Transaction id for Order via credit card/debit card. Now, random ID generated. Below is the code. namespace PayUIndia\Payu\Model; use Magento\Sales\Api\Data\...
user avatar
  • 1,957
0 votes
2 answers
3k views

How to add Additonal charge on COD in magento 2?

I want to add additional charge as COD payment method in Magento 2. How can I achieve this?
user avatar
  • 1,957
0 votes
1 answer
847 views

how to add css and js in the footer in magento 2?

Currently, CSS and JS added in head section default_head_blocks.xml. But I want to add in the footer. In which I need to put the css and js?
user avatar
  • 1,957
2 votes
1 answer
2k views

Magento 2.2.2 Where did var/generation and var/di go?

I've recently upgraded from 2.1.8 to 2.2.2 CE(Commerce). Seems that var/di and var/generation are nowhere to be found. Also did the logic behind the code generation changed ? I've noticed some high ...
user avatar
2 votes
1 answer
354 views

How to add Buy now button in Magento 2.1.8?

How to add buy now button in Magento 2.1.8 ?
user avatar
0 votes
3 answers
1k views

How to show specific brand products at top of the listing page magento2

I want to show specific brands' products at the top of the category page. How can I do this in Magento 2? Suppose, I have 5 options in the manufacturer attribute: apple, Dell, LG, Samsung, etc. Random ...
user avatar
  • 1,957
1 vote
1 answer
401 views

Error Notification "Design config must have area and store" in backend

In the M2 backend when I am trying to enable "Front-end Builder Account" in System > All Users > a user and save it is giving me error Notification "Design config must have area and store" in the ...
user avatar
  • 193
0 votes
0 answers
610 views

Requested product doesn't exist Magento 2.1.8 after migration

I have migrated data from Magento 1.9 to Magento 2.1.8. Almost all products working fine except some products are displayed in the frontend but when I will edit one product in admin than its showing ...
user avatar
  • 1,957
0 votes
0 answers
219 views

Header links Block

I am trying to make changes to the header top links on my magento 2.1.8 store. I have created a custom module called Batch Order which should only be accessible to customers from certain groups. The ...
user avatar
  • 63