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
1
vote
1answer
901 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
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 ...
3
votes
3answers
2k 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
2answers
257 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
1answer
637 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?
2
votes
1answer
709 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 ...
0
votes
2answers
570 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
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.
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 ...
6
votes
4answers
7k views

getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8

When I deployed my magento store from local host to server then I am getting Fatal error: Class 'IntlDateFormatter' not found in vendor\magento\framework\ObjectManager\Factory\AbstractFactory....
0
votes
1answer
1k views

How to undo bundling, merging, and minifying the JavaScript and CSS in Magento 2.1.x

I attempted to speed up my website by bundling, merging, and minifying the JavaScript and CSS through the Admin. Stores> Settings> Configuration> Advanced> and then Developer, and changed ...
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/...
2
votes
2answers
2k views

PHP requirement incompatible with your PHP version | Composer module installation error

I try to install an extension using the composer: composer require magenest/module-worldpay-and-subscriptions:2.0.0 And get this: [InvalidArgumentException] Package magenest/module-worldpay-and-...
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.
0
votes
1answer
578 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
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 ...
1
vote
2answers
3k 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?
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
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 & ...
0
votes
1answer
107 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 ...
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: ...
3
votes
1answer
78 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: ...
1
vote
2answers
83 views

Magento 2 Admin Login Error [duplicate]

I am receiving this error, when i try to login through ADMIN. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 'PRIMARY', query was: INSERT INTO admin_user_session (...
1
vote
2answers
249 views

Product grid won't load, constant spinning and 'Something went wrong'

Magento 2.1.8 with the log error: a:4:{i:0;s:175:"Warning: strtoupper() expects parameter 1 to be string, array given in /home/mysite/public_html/vendor/magento/module-ui/Component/Listing/Columns/...
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 ...
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 ...
1
vote
1answer
456 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 ...
0
votes
0answers
25 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. ...
2
votes
2answers
1k views

Magento 2 - GIF Images , Animation is not working on frontend

I am trying to upload .gif image for few products , image is uploading from admin panel successfully and animation also working in admin panel. But issue here is when i am checking this product on ...
3
votes
1answer
503 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, ...
4
votes
1answer
3k views

Magento 2 Mail Queue / log

Does Magento 2 log mails to the database? i.e. where did Magento 1's core_email_queue go? Does it make a difference if Sales Emails -> Asynchronous sending is enabled?
1
vote
1answer
2k 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://...
2
votes
1answer
201 views

How to add Buy now button in Magento 2.1.8?

How to add buy now button in Magento 2.1.8 ?
0
votes
2answers
247 views

what is the difference between magento 2.1.7 and 2.1.8?

I chose magento 2.1.7 for a project. Now during the project my client asked me to upgrade it to magento 2.1.8. Can someone explain the difference?
0
votes
0answers
171 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
312 views

Cron job on specific time not working

I've written a custom module and this module has to run every day at 12:30 AM. I've written a cron job and in the schedule I've update as follows: <config xmlns:xsi="http://www.w3.org/2001/...
2
votes
1answer
88 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
2answers
1k views

HTML tags are not allowed in footer copyright

I just wanted to change my theme config and it gives me this error on Footer Copyright section: HTML tags are not allowed. => Screenshot : But if I make this copyright empty and Save the ...
4
votes
4answers
6k views

Magento 2 set & get Registry values

I want to set an array in registry in controller_action_predispatch_checkout_cart_add event observer and read this in a phtml page. The following code will give blank result . => Code : namespace ...
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 ...
2
votes
2answers
1k views

Uncaught TypeError: data.some is not a function

In magento 2 Suddenly i got this error on product-> catalog -> relevant product . And round circle keep sniping in console I got this select.js:67 Uncaught TypeError: data.some is not a function at ...
2
votes
3answers
553 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 ...
-1
votes
1answer
209 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
377 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
445 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'), '...
0
votes
1answer
663 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
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?
1
vote
1answer
355 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 ...
1
vote
2answers
347 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?