We’re rewarding the question askers & reputations are being recalculated! Read more.

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.

55 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
111 views

How to Override custom module Model in custom module Magento 2?

I have two Modules in app/code. Xyz_Xyz - Module that already exists. I can't change its file. Abc_Abc - Module that I creating to override Xyz_Xyz Model. The code I try is here. app/code/Abc/Abc/...
2
votes
2answers
145 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: ...
2
votes
1answer
271 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
1answer
710 views

Special Price not displaying on Wishlist

UPDATE - This is a reported isue in v2.1 but there is not fix for it. In Magento 2 special prices do not seem to be displayed on the Wishlists page. Is it possible to display these? How? Is there ...
2
votes
1answer
59 views

Magento2 : Child theme catalog module layot xml is not overrided

I have created two themes first is parent and second is a child to change the design of product page. I want to set different layout for some product layout so I have created the child themes. A ...
2
votes
0answers
160 views

Can't set additional options for configurable product in Magento 2

I'm using following code to set additional options for configurable product in magento 2 <?php namespace Company\ModuleName\Observer; use Magento\Framework\Event\ObserverInterface; use Magento\...
2
votes
0answers
23 views

Magento 2.1.8 Language Pack Only English is selected

I've created a Chinese and Japanese store views for my Magento store. In storefont the options for Japanese and Chinese are displaying. However, when I click on Chinese or Japanese, only English ...
2
votes
3answers
3k views

Magento 2 Get Product Url For Specific Store

I have multi stores enabled in my Magento instance. I am trying to get product url for each store as I need to index data in Elasticsearch. What I have tried but not getting the result with store ...
1
vote
0answers
24 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 ...
1
vote
0answers
20 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 ...
1
vote
0answers
289 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' ], ...
1
vote
1answer
906 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() -&...
1
vote
1answer
171 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 ...
1
vote
1answer
107 views

Magento 2 - product is showing via url, but it isn't appearing in the frontend

I'm having a problem with Magento 2, I've created a configurable product like how I do it every time. However, some products aren't showing in the frontend of the categories, If I try opening it up ...
1
vote
0answers
43 views

Magento 2.1.8: SMTP - Configured store email addresses are not reflecting in the email

I'm using Mageplaza SMTP extension to send the emails from my Magento store. I've configured Email Addresses for my Store and also updated sales email configuration. However, when email send upon ...
1
vote
0answers
46 views

how can i uninstall sample-data-media in magento 2?

how can I uninstall a component without a module name? I'm trying to look for a solution to remove the sample-data-media.
1
vote
0answers
219 views

Configurable Attribute selection based on previous configurable attribute value in Magento 2

I have a configurable product with 4 configurable attribute, and this configurable product has 1000 of values in each configurable attribute. So my simple products of above configurable product ranges ...
1
vote
0answers
46 views

Magento 2 Custom Theme Not Working

I have created a custom theme and added Magento_Checkout, Magento_Theme, Magento_Catalog and Magento_OfflinePayments into it and edited some view files and both the Magento_Checkout & ...
1
vote
1answer
460 views

Magento 2: Error updating to 2.1.8 and 2.1.9

After updating to 2.1.8, and more recently trying 2.1.9, my category pages stopped displaying products. I started seeing an error when reindexing: There is no such adapter: mysql2 I put my dev ...
1
vote
2answers
29 views

Css file not loading after static content flush in Magento 2.1.8

I have a custom CSS file created and loaded through code. The compile less option is set to yes in configuration settings. When I clear the static content flush from cache management in admin panel ...
1
vote
1answer
184 views

Magento 2.1.8 Cart Rules

I have created 2 cart rules, and I want them to override each other if conditions are met. The rules are: If quantity of products with attribute-set SHIRT is greater than 15, then give discount of ...
1
vote
0answers
92 views

Product Image misaligned, not displaying correctly

I wanted to remove the images so I resized the images in Magento luma view.xml as images <width>0</width> and same for height everywhere and true values as all false. Now it is perfect ...
1
vote
0answers
300 views

Help to Read exception.log in Magento 2.1.8

Please help to understand what is the problem? And possible ways to fix it. We are getting error on second stage of Checkout "Payment & Review" when placing an order. Exception.log error [2017-...
1
vote
3answers
477 views

No products or too less products shown in Layered Navigation / Filter

We are using Magento 2.1.8 and believe this worked in Magento 2.1.7 (but the bug may also been introduced sometime else). When clicking a filter in the shop category, we get the message "We can't ...
0
votes
0answers
13 views

Magento 2.1.8 Layered Navigation is not working while select Sub Category

Magento version: 2.1.8 Categories: Parent > Child When I select the parent category in layered navigation. It works fine (See screenshot 1 & 2) Sceenshot 1 Screenshot 2 After selecting the ...
0
votes
0answers
25 views

Magento2 upgrade Invalid value of “PR” provided for the country_id field

While upgrading Magento from 2.1.8 to 2.3.2 Invalid value of "PR" provided for the country_id field. I run magento command : php bin/magento setup:upgrade Got the above error.
0
votes
0answers
32 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/...
0
votes
0answers
26 views

Cron Jobs Not Running

I'm having trouble configuring cron jobs for a client's website. The person working on it previously setup these cron jobs (MAGENTO v2.1.8 CE) : /usr/local/php70/bin/php-cli /home/XYZ/public_html/...
0
votes
1answer
64 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. ...
0
votes
0answers
173 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="...
0
votes
0answers
127 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
0answers
82 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
87 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
1answer
151 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
0answers
62 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
35 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
246 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
2answers
418 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
1answer
639 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?
0
votes
2answers
162 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\...
0
votes
1answer
460 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?
0
votes
3answers
419 views

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

I want to show specific brands products on 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, htc. Random ...
0
votes
0answers
516 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 ...
0
votes
0answers
189 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 ...
0
votes
1answer
517 views

How to update custom price for product in magento2

I want to set different prices for different customers. Can anyone tell me which are the correct events(Observers) to update price for the customer after he/she logged in? 1) Want to show custom ...
0
votes
1answer
70 views

Magento 2.1.8 Set up custom price without conversion

I've two store website with a single inventory with different currencies. It doesn't want any currency conversion as I want to have a defined price for each website. I changed the scope of price to ...
0
votes
1answer
55 views

Magento 2: Error After Installing Sample Data using Composer

Im using Magento 2.1.8 and I already installed the sample data using composer but after running this commands setup:upgrade, setup:di:compile, indexer:reindex, cache:clean, cache:flush and changing ...
0
votes
1answer
46 views

Product Images - Different Websites/Store Views

I've got two websites in my Magento project which got single inventory catalog. I would like to upload different images to different Websites. I managed to use store_view_code for each image. Up to ...
0
votes
0answers
262 views

Magento2: Error in order creation even after successful payment and redirection

We use custom-SMTP mailer to send mails on order confirmation, invoice etc, magentov2.1.8 The heidelpay returns a positive ACK and Transaction succeed alert. and proper redirection to success page. ...
0
votes
1answer
193 views

sales report showing empty in Magento 2.1.8

Couldn't found any records in sales report section. I'm using magento 2.1.8. Reports expect from Sales module is showing up.