Questions tagged [magento2.1.5]

Questions related to Magento 2.1.5

Filter by
Sorted by
Tagged with
3 votes
1 answer
484 views

Restrict product add to cart in magento 2

i am using magento 2.1.5, and i have two tax classes. and i want to add only one tax class product in cart at a time. if customer try to add another tax class product, it will throw the massage. for ...
sam's user avatar
  • 489
0 votes
1 answer
87 views

Base currency rate is not showing in admin order summary : custom added fee

I have followed below link to add a custom fee to order. How to add fee to order totals in Magento 2 Custom fee is added perfectly and showing in admin order summary without any issue. Now I ...
Rizwan Khan's user avatar
  • 1,939
1 vote
0 answers
72 views

getting error when upgrading from Magento 2.1.5 to Magento 2.2.6

I want to upgrade my website with the latest version. I am using below commands: composer require magento/product-community-edition 2.2.6 --no-update composer update I am getting below error:...
Vinod Kumar's user avatar
  • 2,055
0 votes
0 answers
295 views

Minicart blank only on product page magento 2 getting knockout js error!

I am using an extension WeltPixel_QuickCart for minicart sidebar. It is working fine on all pages except product detail page. Knockout js error showing in the console on product page: Uncaught ...
Vinod Kumar's user avatar
  • 2,055
0 votes
1 answer
86 views

Magento 2.1.5 In product detail page Price remove after decimal

In Magneto2.1.5 product detail page remove decimal after price display like this $20.00 instead of $20 but this is not fix it please if any solution reply my post I have share my site screen
Rv Singh's user avatar
  • 1,617
1 vote
1 answer
693 views

Magento 2.1.5 How to remove zero-only decimal points from the displayed prices, preserving the non-zero one?

I'm trying to remove the .00 part from product pricing. On Category page it can be done with JS, and same on page load for product pages. But, when a user makes attribute selection on a product, the ...
Rv Singh's user avatar
  • 1,617
3 votes
0 answers
1k views

Order duplication on magento2

On March 22nd, 2018 we went for a Sale on our Magento 2.1.5 live site deployed on an AWS server m4.4xlarge. On 12am sale started with 1500 online visitors and in the next 3 peak hours, there are some ...
Muhammad Saeed Khan's user avatar
0 votes
2 answers
383 views

Is it possible to install magento 2.1 theme in magento 2.2.3?

Is it possible to install a theme form magento 2.1 to magento 2.2.3 ? If possible, how to do that? tell me guys. I need to use the old paid theme in latest magento 2.2.3
Ask Xah's user avatar
  • 522
2 votes
0 answers
100 views

Add a custom button to Customers Grid

I am trying to add a custom button to the Customers Grid but I have not been able to do it using a di.xml Anyone available to point me in the right direction?
Peter A's user avatar
  • 71
4 votes
0 answers
239 views

Magento 2.1.5 - Sales Order reports show missing data

I am facing issue with order sales report its skipping some data from monthly order report, Some order dates are missing in reports but in order gird it display with same dates order Magento: 2.1.5 ...
mohsinahmed's user avatar
0 votes
1 answer
2k views

Template not being loaded

UPDATE: I implemented this solution to check the loading of layout which confirms that my layout is being loaded. But not my template. UPDATE 2: I even tried installing another version of magento 2.1....
P S's user avatar
  • 1,983
2 votes
2 answers
274 views

Redirecting from block not working

I'm trying to redirect from block but it's not working. But same methods work in different projects. 1. Process 1 public function __construct( \Magento\Framework\View\Element\Template\Context $...
P S's user avatar
  • 1,983
1 vote
0 answers
87 views

Help me understand what this log means

I'm constantly getting this log in my var/debug.log file. I'm quite curious about this. I do not understand what it means. main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/...
P S's user avatar
  • 1,983
5 votes
4 answers
15k views

sales_order_place_after not triggering in magento 2

I have created etc/events.xml as: <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <config xmlns:xsi="...
P S's user avatar
  • 1,983
1 vote
1 answer
4k views

Get payment method

I'm trying to get the payment method in checkout_onepage_controller_success_action observer. I have tried: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $...
P S's user avatar
  • 1,983
0 votes
1 answer
2k views

Get quantity in stock for items added in cart in JS

I need the quantity available for each product in cart in my custom javascript file. Does anyone know how to do this?
P S's user avatar
  • 1,983
1 vote
2 answers
1k views

Magento 2: how to upsell block move before product.info.details block

How Add after/before positioning in pre existing xml block How to upsell block move before product.info.details block <block class="Magento\Catalog\Block\Product\ProductList\Upsell" name="product....
Ravindrasinh Zala's user avatar
2 votes
1 answer
816 views

Magento 2 - Quantity Field add on Up-Sell Products Listing product details page

I want to be able to add a quantity box to the products that show up in the 'Up-Sell products' list that is shown on the product detail page
Ravindrasinh Zala's user avatar
0 votes
1 answer
482 views

Place order button disabled when cart total is 0

I have enabled zero subtotal checkout in Magento ver. 2.1.5 and now I have a problem with the "Place Order" button being disabled if the value of the cart is $0 If the order value is over $0 in the ...
tom harrison's user avatar
2 votes
1 answer
2k views

static-content:deploy not working

I'm overriding a core JS file in my module. When I run php bin/magento static-content:deploy and refresh the page the JavaScript does not seem to change. I started tracking the issue. I found ...
Trzan's user avatar
  • 23
1 vote
0 answers
187 views

catalog_product_index_price_cfg_opt_agr_tmp is full Error Message when placing order

I have upgraded my Magento website from the version of 2.1.5 to 2.1.10. After the up-gradation, I'm getting following error message while I try to place order. SQLSTATE[HY000]: General error: 1114 ...
SIBHI S's user avatar
  • 2,055
2 votes
1 answer
2k views

How can I redirect user to the payment gateway after placing order in magento 2?

I am creating my own payment method which should redirect user to the payment gateway of a bank after placing order. How can I do it?
P S's user avatar
  • 1,983
1 vote
0 answers
106 views

Currency not changing and price conversion not working as well

I have created multilingual website with two different storeviews, one in English and another in Chinese. I can say that I have installed the Chinese language package properly as result is visible. I ...
P S's user avatar
  • 1,983
1 vote
0 answers
1k views

How to create online payment system by making own payment method?

I have been trying to implementing a payment system in my store by creating own payment method. I am trying to implement this through the use of API of payment gateway provided by a local bank. I ...
P S's user avatar
  • 1,983
1 vote
1 answer
28 views

How to add additional douane costs on magento2?

The products which I use to send from Europe and China to Africa, at moment I don't pay any douane costs. But in the future maybe I will have to pay it for that. I would like to know if there's ...
Ralfe's user avatar
  • 153
0 votes
1 answer
280 views

Unable to place order

I have installed the Inchoo_Stripe extension which I found in https://github.com/Inchoo/magento2-Inchoo_Stripe and follewed this tutorial: http://inchoo.net/magento-2/implementing-payment-gateway-...
P S's user avatar
  • 1,983
1 vote
2 answers
3k views

List Sub Categories Magento 2

I want to have Category navigation - so instead of going to the product pages user can navigate using the category images and subcategories shown in a grid and also shows the left navigation on same ...
jt9489's user avatar
  • 175
3 votes
0 answers
156 views

How can i hide flat rate shipping method when free shipping is available in magento 2.1.5?

I have set free shipping when amount is greater than 300rs, but when amount is greater than rs 300 two methods are still showing. How can I hide the Flat rate when cart amount is greater than Rs 300.?...
christy's user avatar
  • 157
5 votes
2 answers
4k views

Magento2 : How Can I remove magnifier on hover and resize image of product description page? [closed]

I want to remove zoom on hover from product page and make image size bigger . Here is my view.xml code app/design/frontend/vendor/theme/etc/view.xml <?xml version="1.0"?> <view xmlns:...
Learner's user avatar
  • 833
2 votes
1 answer
1k views

Using wysiwyg editor on frontend templates in magento 2

I found so many articles about how to use wysiwyg editor in admin pages, and I was wondering if I could use it in the frontend templates. if yes, please tell me how. I'm using magento 2.1.5.
Ayoub El Hayat's user avatar
1 vote
1 answer
2k views

How to add a new div below search bar in the header by creating new module? Magento 2.1.5

I need to add a new div at the bottom of the header. I am using magento 2.1.5. I want to do this by creating a new module. I checked lots of tutorials. I am able to add a div to the top of the ...
Mohammad Hammadi's user avatar
5 votes
1 answer
4k views

Make dropdown list for field city in magento 2 checkout

I want to custom field "City" to dropdown list in checkout page (magento 2.1.5). Is it possible? How can do that? New update: Thank you!
TriAnhHuynh's user avatar
2 votes
1 answer
2k views

How to add Please Select option in programmatically created select attribute for products?

I have created a custom select attribute for products using InstallData, options of that attribute are shown using source model. It shows options correctly but when I add a Please select option with ...
user avatar
0 votes
2 answers
353 views

How to show the total quantity number(Like 10) instead of In Stock Status in Magento 2.x?

I need help for Magento 2.x. Recently I have developed a eCommerce site. On products details page has "Stock Availability" using "In Stock" status. So, I want to show the total number of quantity "...
Ben Alex's user avatar
0 votes
1 answer
229 views

How to properly extend Model in Magento 2?

Can someone show me how to properly extend this core Magento 2 model? vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php
MazeStricks's user avatar
  • 1,255
0 votes
1 answer
3k views

Custom redirect user to specific page after register Observer in Magento 2 will just redirect after the cms page to the login page

I have another problem with my custom observer module for account registration page redirect. somehow it will successfully redirect to my custom cms thank you page after registration. but after that ...
MazeStricks's user avatar
  • 1,255
1 vote
1 answer
160 views

After we run the data-migration tool in Magento 2, MSRP(click for price) will not work

This is an issue in default Magento 2 instance. To fix this issue, we have to apply product type for MSRP product attribute. we can only do this from MySQL query. please update the below query: ...
Nithin Ninan's user avatar
1 vote
1 answer
230 views

Magento 2 minicart Items Issue

How to remove replace null value in place of Zero(0) in minicart if There is no items in cart in magento2?
pavani's user avatar
  • 23
3 votes
2 answers
3k views

Why session custom data lost after refresh in Magento 2?

I need to save data in session on one page and retrieve same data on multiple pages. After saving the data when i refresh page Or redirect to another page data flush off . Can somebody explain me why ...
Om Prakash's user avatar
0 votes
1 answer
822 views

How to create actions column use layout block magento2

I use layout block to create grid page, but it does't inclue actions column so can I create dropdown actions edit and delete use layout block file Grid.php $this->addColumn( 'actions', ...
Dang Nguyen's user avatar
4 votes
2 answers
4k views

Magento 2: The direct use of ObjectManager is discouraged [duplicate]

when I am check using object manager it gives me warning that The direct use of ObjectManager is discouraged. Inject necessary dependencies via constructor". How to solve this problem and I also want ...
Sanjay Gohil's user avatar
  • 2,200
2 votes
1 answer
1k views

Magento_Integration schema: current version - 2.2.0, required version - 2.0.1

Using 2.1.5, I'm getting an error message saying: "Magento_Integration schema: current version - 2.2.0, required version - 2.0.1" I've tried setup:update and setup:db-data:upgrade. The site was ...
Mike James's user avatar
0 votes
1 answer
58 views

how to create custom theme in magento2 [duplicate]

I want to create magento theme and inherit the default functionality can any one tell me verified view how to create it.I used many tutorial but not for good thanks in advance .
Monu Kumar's user avatar
1 vote
2 answers
150 views

Magento2 2.1.5 Cronjob doesn't get executed. ID always 0

My magento cronjob stopped working. It gets executed from system. Checked that in the logs. But magento just shedules the cronjobs and don't execute them. Also the schedule_id of the cronjobs is ...
Chris's user avatar
  • 11
0 votes
1 answer
1k views

Observer doesn't catch event Magento 2

I have implemented 2 observers for checkout_cart_product_add_after, sales_order_place_after event. But these observers didn't catch events. events.xml <?xml version="1.0"?> <config xmlns:...
Toan Tam's user avatar
  • 1,318
11 votes
3 answers
15k views

Magento 2 Product Edit/Add admin form custom section

I'm learning UI component. I want to add custom section in product edit/add backend form so for that I've created following files. vendor/module/view/adminhtml/ui_component/product_form.xml ...
Kaushal Suthar's user avatar
0 votes
1 answer
32 views

Magento EE 2.1.5 Deactivate Campaign manually [duplicate]

I need to deactivate a campaign manually from database in Magento EE 2.1.5 . I searched a lot, but I did not found any way to do that. What are the tables which store the campaign's data? Any help?
Mohammad Hammadi's user avatar
0 votes
2 answers
550 views

Error when creating category programmatically

This is my code saving category: $category = $this->_categoryFactory->create(); $category->setData($this->getCategoryData("Test Test")); $category->save(); protected function ...
Toan Tam's user avatar
  • 1,318
2 votes
4 answers
3k 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="...
sam's user avatar
  • 489
1 vote
2 answers
1k 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.
MSQ's user avatar
  • 211