Stack Exchange Network

Stack Exchange network consists of 174 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 [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.

2
votes
0answers
19 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: ...
0
votes
0answers
23 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-...
0
votes
0answers
14 views

Magento 2: Add Buy now button (or any button) in the search autocomplete suggestions

I am using Mirasvit Spihnix search in Magento 2.1.8. I want to add a button to the search autocomplete suggestions. As in picture below:
0
votes
0answers
42 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="...
2
votes
1answer
36 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 ...
1
vote
0answers
13 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 ...
0
votes
0answers
37 views

Product export issue magento 2.1.8

When I am exporting products from admin getting error message: This page isn’t working example.com took too long to respond. HTTP ERROR 504 I have increase memory_limit and ...
1
vote
2answers
336 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; ...
0
votes
0answers
19 views

`is_unique` is ignored when creating option via POST to /V1/products/attributes/{attributeCode}/option

When I repeatedly add new option (with same label) via API, multiple options are created. In UI the attribute options cannot be saved, because the unique constraint is violated. Why does not the ...
0
votes
0answers
157 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 ...
2
votes
3answers
355 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 ...
0
votes
0answers
49 views

How to update currency using cron in magento 2?

I have set multiple currency in my website, save currency rates and symbols all the functionality works fine. It is possible to make currency price automatically update in my admin side when currency ...
1
vote
1answer
198 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 ...
-1
votes
1answer
79 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?
0
votes
7answers
163 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....
0
votes
1answer
286 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 ...
0
votes
0answers
70 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?
0
votes
1answer
200 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'), '...
1
vote
2answers
157 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?
0
votes
0answers
11 views

How to add schema tags on the product pages in Magento 2.1.8?

We are required to add schema tag on the product page for brand and sku. What is the way to add this?
0
votes
0answers
16 views

How to remove multiple 301 redirection via htaccess?

I have configured SSL on the website. I want to add 301 redirections if the URL hit in the browser with the below variation: http://www.example.com/ http://www.example.com http://example.com http:/...
0
votes
0answers
35 views

Issue with Associating existing simple product with a configurable product magento 2.1.8

I have created a configurable product and want to associate existing simple products. First, Add manually products button was not appear then I have created variations. Now, I am replacing the ...
0
votes
0answers
49 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 (...
0
votes
0answers
144 views

Product url_path is not updating after saving the product in magento 2

I have changed url_key of the product. When I hit the url_key in the url then the product going to 404. I have checked in the database table catalog_product_flat_2 where I found the url_key and ...
1
vote
1answer
198 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 ...
0
votes
2answers
856 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://...
1
vote
0answers
13 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 ...
0
votes
0answers
43 views

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

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/...
0
votes
0answers
37 views

Magento 2.1.3: Catalog Products Count and Frontend Category count does not match

Good Day, I'm running Magento 2.1.3, From the backend of the site, Product count is 300. But when I visit in the frontend of the site it is only showing 250 products. I checked the product ...
0
votes
1answer
81 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. ...
0
votes
1answer
768 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?
0
votes
1answer
187 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?
0
votes
0answers
142 views

Virtual product Checkout issue, getting error on payment method selection in Magento 2

I have created a virtual product and check-out that product. But when I am going to select the payment method it is showing an error: For COD: You can't use the payment type you selected to make ...
1
vote
1answer
190 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 ...
0
votes
0answers
32 views

URL changed after save category magento 2?

I have changed category URL from url_rewrite table. Old URL: category/subcategory/subsubcategory New URL: category-subsubcategory-xyz But when I save the category again the URL changed as before ...
0
votes
0answers
39 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....
0
votes
0answers
22 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.
0
votes
1answer
121 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 ...
0
votes
0answers
54 views

Shipping price loading issue on checkout page in order summary Magento 2.1.8

I have shown order summary on checkout page but the shipping price not loading properly. I have only one shipping price at a time then it must be shown in order summary but it is updating after click ...
0
votes
0answers
41 views

free shipping method not listed when creating order from admin in Magento 2

I have configured Free Shipping method as free shipping if the order total above Rs. 2000, It is working fine at frontend. But, When I am creating an order from admin, it is not showing.
1
vote
2answers
58 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?
0
votes
0answers
30 views

product swatches selection should not be removed if clicked twice in Magento 2?

Currently, If I click twice on product swatches it is deselected but it must not be like this. This is the issue or Magento default functionality?
0
votes
0answers
152 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' ], ...
0
votes
2answers
297 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 ...
0
votes
0answers
126 views

Category product sorting in backend not working magento 2.1.8!

I want to sort product of a category, I have assign position of those products within the category in admin. But the position is not working. How to fix the product position in admin
0
votes
1answer
398 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() -&...
0
votes
0answers
11 views

Magento 2: Clear order numbers

We have recently had an issue with our Magento 2.1.8 webstore in which paypal was taking payments but customer orders were not being created and were receiving the error We cannot place the order. ...
0
votes
1answer
314 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:...
0
votes
1answer
316 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?
1
vote
1answer
432 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 ...