Questions tagged [magento2.1.5]

Questions related to Magento 2.1.5

Filter by
Sorted by
Tagged with
3
votes
1answer
90 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 ...
0
votes
0answers
25 views

Additional field In customer Registration API

I am using magento 2.1.5, and i am using default API for customer registration. now i added one more field "business" in registration page and want to add in API response also. How to add this filed ...
0
votes
1answer
32 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 ...
0
votes
0answers
14 views

How to restrict a configurable product adding into the cart magento 2.1.15

I have a scenario that i want to allow only one product which is a configurable product has multiple options. I can select a product with first option and add to cart and also I can select a product ...
1
vote
0answers
48 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:...
0
votes
0answers
104 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 ...
0
votes
1answer
60 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
1
vote
1answer
295 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 ...
3
votes
0answers
397 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 ...
0
votes
2answers
303 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
2
votes
0answers
55 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?
4
votes
0answers
151 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 ...
0
votes
1answer
63 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....
2
votes
2answers
55 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 $...
1
vote
0answers
69 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/...
3
votes
4answers
5k 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="...
0
votes
1answer
1k 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 = $...
0
votes
1answer
1k 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?
1
vote
2answers
429 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....
2
votes
1answer
384 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
0
votes
1answer
166 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 ...
2
votes
1answer
525 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 ...
1
vote
0answers
128 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 ...
1
vote
1answer
1k 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?
1
vote
0answers
90 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 ...
1
vote
0answers
539 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 ...
1
vote
1answer
18 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 ...
0
votes
1answer
107 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-...
1
vote
1answer
2k 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 ...
3
votes
0answers
140 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.?...
4
votes
2answers
2k 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:...
2
votes
1answer
871 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.
0
votes
1answer
709 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 ...
4
votes
1answer
2k 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!
1
vote
1answer
999 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 ...
0
votes
2answers
191 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 "...
0
votes
1answer
76 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
0
votes
1answer
2k 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 ...
1
vote
1answer
74 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: ...
1
vote
1answer
153 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?
1
vote
1answer
1k 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 ...
0
votes
1answer
373 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', ...
4
votes
2answers
2k 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 ...
2
votes
1answer
813 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 ...
0
votes
1answer
41 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 .
1
vote
2answers
84 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 ...
0
votes
1answer
514 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:...
8
votes
3answers
8k 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 ...
0
votes
1answer
26 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?
0
votes
2answers
367 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 ...