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.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
154 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
707 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
372 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
2answers
755 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?
2
votes
1answer
1k 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
111 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
214 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 ...
1
vote
0answers
452 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="...
1
vote
0answers
34 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
21 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
425 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
1k 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
775 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
267 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
137 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
48 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
56 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
253 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
534 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
33 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
213 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
109 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
320 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 ...
1
vote
3answers
660 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
29 views

UI component select box on change event call ajax

How can I add an event when changes select box dropdown value and I will trigger Ajax when change value in the dropdown, Below are my code. <fieldset name="sample_fieldset"> <...
0
votes
1answer
28 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.
0
votes
1answer
557 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 (...
0
votes
0answers
53 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
1answer
71 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
160 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
155 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
1answer
275 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
76 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
40 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
335 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
267 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
694 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
801 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
581 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
215 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
675 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
97 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
65 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
51 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
355 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
212 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.
0
votes
0answers
39 views

Side menu not appearing on sub categories

I am using magento 2.1.8 and I have made a category named shop on shop page its showing all subcategories on left side . like brushes, tube etc now when I click on brush it goes to all product ...
0
votes
0answers
307 views

Magento 2.1.8: How to get Name on Card for my Payment Module

I'm trying to populate credit card details form from Magento/Payment module. This module doesn't show me Name on Card. How do I populate this field?