Questions tagged [magento2.1.5]

Questions related to Magento 2.1.5

Filter by
Sorted by
Tagged with
2
votes
3answers
1k views

Ajax Newsletter magento 2

I am using magento 2.1.5, and i am trying to make ajax newslatter. di.xml <type name="Magento\Newsletter\Controller\Subscriber\NewAction"> <plugin name="...
1
vote
2answers
462 views

Magento 2: Changing default minimum length of customer password from admin not working. (Seems like a bug)

I have changed the default minimum length of password from admin side but still I am unable to save customer from front end.The default length is being taken from some core constant apparently.
8
votes
1answer
906 views

Magento 2 Core Bug found in all 2.1.x, 2.2

Steps to reproduce Go to Reports -> By Customers Enter customer name in search box Click on search It will show Fatal Error: Column not found: 1054 Unknown column 'customer_name' in 'where ...
1
vote
0answers
193 views

How to store value in custom option field programmatically from cart page?

I've created custom option to store text for products programatically using after save observer as below: /var/www/html/mylocal/app/code/Custom/Addcustomoption/Observer/Catalog/ProductSaveAfter.php ...
4
votes
4answers
4k views

How to override module-checkout/…/cart/item/default.phtml?

I want to customize the cart page. I'm trying to override it using module. I created module which is working fine. I created layout: checkout_cart_item_renderers.xml <?xml version="1.0"?> &...
0
votes
1answer
698 views

Magento 2 returns 404 after switching language on product pages

magento 2 one store click on product page giving www.abc.com/product1.html after switch on next language it showing like this catalog/product/view/id/15/s/tablets if have any idea please tell me
0
votes
2answers
737 views

How to remove the bottom toolbar using css in mobile view?

In product listing page there are two toolbars one at the top of list as shown below: another toolbar at bottom of list as shown below: Both of them are has outer div as: <div class="toolbar ...
1
vote
6answers
3k views

Stock is not updating after update the product quantity Magento 2.x?

I am facing an error in Magento 2.1.5. I have changed the product quantity from Magento admin panel but the stock did not update. I have clean cache already but it still showing out of stock. Can ...
1
vote
1answer
647 views

Adding custom option programatically

I'm trying to add custom option programmatically after product save event. I've found some solution on stackexchange which are not working for me. So I'm posting all my codes here for finding any ...
0
votes
1answer
114 views

what is the optimal system configuration for running Magento 2 EE on a laptop with xampv3.2.2

I need to work on Magento 2 EE and I have installed xamp 3.2.2 on windows 8.1 pro with 8GB RAM. I am on developer mode, cache is disabled and its running too slow, say it Admin login, frontend page ...
0
votes
1answer
282 views

Magento 2.1.5 Server load very high suddenly

I have a magento 2.1.5 EE website. There are around 5000 visitors a day. Below are the server Specifications: Intel Xeon E3-1270 CPU 3.50Ghz CPU Clock Speed 4 CPU Cores 8 CPU Threads 8MB CPU Cache ...
2
votes
2answers
140 views

Magento 2.15 after cache flush made .css changes disapeared

Any advise how is the best to adjust .css (colors), that it would stay permanently? After editorials in .css and flushed cached all changes in .css disappeared. Any advise how I could keep them ...
1
vote
0answers
15 views

How Magento Can give Refund more than order amount - MagentoEE 2.1.5

I am unable to find the reason behind it.
0
votes
1answer
1k views

Magento 2 find bundle items parent products

I've simple product assign in bundle items of Bundle product. Now I've simple product ID and I'm trying to find in which bundle product it's given in bundle items using following code but it returns ...
0
votes
2answers
352 views

Promorule “Buy 3 Pay 2” does not apply

I have to make some promo when you buy 3 items discount 1, and only pay 2, but when i try to buy the discount does not apply, this is my screenshot from the promo.
0
votes
1answer
388 views

Magento2 Product detail page add checkbox before add to cart button

In a Product Detail Page after Quantity add checkbox when checkbox button is checked than "add to cart" button stay active if not click on checkbox than disable button. Thanks,
3
votes
3answers
7k views

Magento 2 override the cutomer account loginpost controller

I am trying to overriding the below class in my custom module: vendor\magento\module-customer\Controller\Account\LoginPost.php For overriding this I have created the Plugin file as per the below ...
2
votes
1answer
255 views

Magento2 - where the admin console user preferences stored?

I have logged into the admin panel of Magento 2, gone to products->catalog and have set the 'per page' limit to 900. My Magento instance can't return 900 records in one page so it crashes, and a div ...
3
votes
1answer
2k views

How to Make First and Last Name Optional for addresses?

I have a Magento 2.15 site that almost exclusively sells B2B. We don't have many customers that are just individuals. 99% of them are businesses. So when checking out, the people that order for their ...
0
votes
1answer
48 views

Hide a specific row in product specification

I use a data content provider, I get product pictures and all information pushed into my server but some of the information I don't want to show up on the front end. If you want to take a look at my ...
0
votes
1answer
2k views

magento 2 customer account navigation make collapsible for tablet

I am trying to make customer account navigation collapsible for tablet. Could anyone let me know which js or css file I need to edit for this? Please see the below image to what I want: Please help ...
0
votes
2answers
623 views

How to get collection of pagination in template?

These are my block methods: public function getProductsViewHistory() { $page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1; $pageSize=($...
1
vote
1answer
186 views

PayPal checkout for existing user not working

Magento-2.1.5 With php 5.6 issue: PayPal checkout for existing user not working. When you say continue to PayPal keeps spinning forever. In console, I got this error Failed to load resource: the ...
4
votes
3answers
2k views

Magento 2 get specific customer group customers list

I have created a custom module and want to get specific customer group users to list in the dropdown. For this I have gone through the admin > Stores > Other Settings > Customer Groups and I have ...
1
vote
0answers
517 views

Magento 2 save custom order status in custom table using custom module

I have created a custom module for show the custom order status in the admin. It's working fine and displaying the static. Now, I want to save the status value in the custom table with the current ...
1
vote
2answers
2k views

Why the checkout spinner keeps spinning in Magento 2?

It has always worked and now suddenly the spinner in the checkout keeps spinning and doesn't stop loading... I flushed cache again but the problem persists. Any ideas?
1
vote
1answer
499 views

Custom controller: Argument 1 must be instance of Context, instead Objectmanager is given

Created a module which was working for a long time, however after some other edits to the site I got this error: "Recoverable Error: Argument 1 passed to vendor\module\Controller\Cart\Index::...
0
votes
1answer
365 views

Memcached causing Web Setup Wizard Error

I have a Magento 2 store that I just configured memcached on. Everything seemed to be working well and using the guide on the magento site I was able to verify it was working via telnet. However, ...
0
votes
1answer
712 views

Magento 2 redirect going back to admin

I have a controller that is executed in the system configuration. The desired result is that the code is executed and is redirected back to its original page. When the url keys are active, the page ...
0
votes
1answer
240 views

How to rate products in product listing page?

How to perform rating in any custom product listing page so that user do not have to go to product detail page to rate it? I got suggestions to look at Magento 2 : Show product ratings for each star, ...
0
votes
2answers
774 views

How to show history of products viewed by logged in customer and delete if current user wishes to?

What I have tried till now is $objManager = \Magento\Framework\App\ObjectManager::getInstance(); $visitors = $objManager->get('Your\Store\Block\Customer\Login'); $currVisitorId = $visitors->...
1
vote
1answer
29 views

How to redirect user from magento store to another website , like to facebook or twitter?

I have tried to write as follows <a href='www.facebook.com'>facebook</a> in my template file located at: /app/code/Your/Store/view/frontend/templates/todays/deal.phtml But it is ...
0
votes
2answers
812 views

How to get SID programmatically : Magento 2

I am working on multi store Store > Configuration > General > Web > Session Validation Settings > Use SID on Storefront is set to "Yes" allow customer to stay logged in when switching between ...
0
votes
1answer
342 views

magento 2 - downloadable file link is not working

I am facing issues about downloadable link. The download able link from email after purchase documents is taking to login page. It is not downloading the product. I have tried many solution but ...
0
votes
2answers
341 views

Customer's order can't edit from Magento 2.x Backend

I have tried to edit the customer order from Magento Admin panel but when I have been going to submit the order that time Magento Admin panel is showing an error that is "Please enter a customer email....
2
votes
1answer
320 views

Magento 2 - Why is it showing “Please specify at least one search term”?

I'm doing many advanced searches on my Magento 2.1.5 and each consult is showing this message below: My URLs are like: mystore.com/catalogsearch/advanced/result/?brand=859 mystore.com/catalogsearch/...
2
votes
1answer
2k views

Magento 2 create custom block and phtml in Magento_Customer module

I want to create a new custom Block and Block phtml file same as the Customer Index Block for use to the customer, when customer login the customer just click on the left navigation link and access ...
1
vote
1answer
1k views

Magento 2.1.5 : Reviews REST API

I looked for reviews REST API and I found this link: http://www.ipragmatech.com/products/reviews-rest-api-magento/ I tried to add review via it using : POST http://domain.com/index.php/rest/V1/...
0
votes
2answers
11k views

Magento2.1.5: Login and registration form on login page

Is there any way to show both forms login and Registration on the login page? http://example.com/customer/account/login/ Which .xml layout I need to overwrite. I have done many searches on google ...
0
votes
1answer
748 views

Magento 2.1.5 : Add decimal number to price

How to add third decimal point to products, orders, tax, shipping price in both frontend and backend ? Ex: Product: 12.55$ ==> 12.550$
1
vote
1answer
245 views

Magento 2 in minicart popup need qty incrementer and decrementer

I want to display qty incrementer and decrementer button in minicart popup. I refer this link. Place below code in minicart.js but it is not working decreaseQty: function() { var newQty =...
4
votes
1answer
1k views

magento2 Schedule new update is not working

I have installed Magento 2 freshly and Create a schedule for product attribute value update using "Schedule new update". In staging dashboard it shows but even after time cross the starting time it ...
2
votes
1answer
673 views

Magento 2: After login how to get current quote id?

Magento 2: After Customer Login Get Cart Information? On observer I got 2 active quote id's. I can get by latest from quote table. Is there any way to get current quote id?
0
votes
1answer
284 views

Admin grid sorting issue

I have created one module about product question. Issue: When I click on any column for sort, it gives result once or twice. But when I click three times, it gives the grid with all same data. ...
2
votes
3answers
645 views

Magento 2: Theme change field is missing in Design Tab

I created a new theme but when i tried to change the theme from stores -> configuration -> design Tab I found that theme change field is missing from design tab. Please look at screen-shot ...
0
votes
3answers
65 views

Magento 2.1.x Extension Installation

I am trying to install some extension with the way thats described in the docs. I uploaded the unziped folder in my root directory and ran the command php f bin/magento setup:upgrade this threw me ...
0
votes
0answers
258 views

Mangeto 2.1.5 app/locale folder missing for language Files

I am trying to create a custom translation of my Magento Store. I have created two separate store views - Deutsch and English. Both reference to a separate store language in the backend. I was able ...
1
vote
1answer
402 views

Grunt themes.js file overwritten when running composer install

When running the composer install command the www/dev/tools/grunt/configs/themes.js file is being overwritten and removing the config for my custom theme. When searching online I came across the ...
1
vote
1answer
736 views

How to change the text of the sign in button on the top header of a magento store

I am currently developing my first Magento website and the whole functionality behind is overwhelming so I might have overseen the possibility to fulfill the task. I am looking for a way to change ...
2
votes
0answers
266 views

Admin Product page won't load due to excess attributes

Magento 2.1.5 I have an attribute set with 750 different attributes and each one is a drop down with 5-20 different options. This causing an issue when trying to edit a product on the magento back ...