Questions tagged [magento-2.0]

Denotes questions related to Magento CE/EE version 2.0

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

Custom Grid Date filter format problem on search

I'm trying to format the display and also the datepicker value when selecting the date in Filter for my custom grid. Now the display works fine the only problem is when I filter it, it doesn't work as ...
MadzQuestioning's user avatar
1 vote
1 answer
480 views

Include SKU within Product Drop-Down (Bundle Options) for Magento 2

I am trying to reproduce some functionality that i did in m1. For my m1 I followed this article to display the sku on the dropdown of my bundle products: Include SKU within Product Drop-Down (Bundle ...
Alex's user avatar
  • 13
0 votes
0 answers
73 views

Stopwords not working in Magento 2.3 for ElasticSearch 6.0+

I want to implement stopwords functionality in Magento 2.3 but it is not working. I am overriding the file stopwords.csv using a custom module. Someone, please suggest the solution. Thanks, Rashi
Rashi Goyal's user avatar
0 votes
1 answer
124 views

magento 2 product align alphabetical order in pdf invoice

how we can arrange product alphabetically order in PDF invoice if any extension please suggest me or code please share it
zeshan rahman's user avatar
0 votes
1 answer
221 views

How to remove the field from where the condition in magento 2

How to remove the field from where the condition in magento 2? in error log : Column not found: 1054 Unknown column 'show_in_custom_assistance' in 'where clause'. $collection = $this->...
Mahendra's user avatar
  • 716
1 vote
1 answer
34 views

Magento 2.2.0 indexing update on scheduel is not working

Magento 2.2.0 i have set index option update on scheduel. after i ran indexing command but it did not take effect.update on save working fine.
Jagdish Barot's user avatar
1 vote
1 answer
1k views

How to hide the Cart Subtotal amount in mini cart popup in magento 2

Please suggest the solution to hide the Cart Subtotal amount and product price in the mini cart popup. Only i need to show the number of quantity items in the popup.
Ramesh R's user avatar
  • 141
2 votes
0 answers
283 views

How to skip the payment method step in checkout process in Magento 2.3.2

I have magento Open Source 2.3.2 setup my client don't want any payment method now. How to remove payment method step in checkout process. I just want to place order without selection payment method. ...
Ramesh R's user avatar
  • 141
1 vote
1 answer
992 views

Why Magento2.2 create "_cache" Directory under pub/static/_cache

Just want to know about _cache Directory which is generating under [root]/pub/static/ I have noticed that once upgrades, compile & deployed command done through CLI then _cache directory is ...
Oscprofessionals's user avatar
3 votes
2 answers
8k views

Magento 2.X: Sort Product Collection by Category Product Position

I would like to sort the list of my Product Collection by its category product position. Right now I have this function public function getProducts($category, $productFactory, $store) { $...
MadzQuestioning's user avatar
0 votes
1 answer
2k views

Magento Custom button add Custom Controller URL

I added a button in the Admin under Catalog->Category. Now I would like this button to have the URL or click function that redirects to my custom controller in the admin. But I can't seem to generate ...
MadzQuestioning's user avatar
0 votes
1 answer
713 views

Quantity increment and decrement happening to all products at a time in grouped products

I Have created quantity increment and decrement for grouped products in this location C:\xampp\htdocs\Magento2\vendor\magento\module-grouped-product\view\frontend\templates\product\view\type\grouped....
somutesting's user avatar
0 votes
1 answer
214 views

Order # 000000012 (The order confirmation email was sent) in localhost

In Magento 2 email is not received after order is placed. How to fix that issue? am using in localhost and also i configure with SMTP still email will not received
user81874's user avatar
1 vote
0 answers
149 views

Intercept Onepage\SaveOrder

I'm trying to add a certain process in the Magento\Checkout\Controller\Onepage\SaveOrder so I decided to implement a plugin for that. But after creating the di.xml and the classes needed when I try to ...
MadzQuestioning's user avatar
0 votes
0 answers
134 views

When is Onepage SaveOrder being triggered | Magento Plugin

I'm trying to find out where and when will this method be triggered. I also created a plugin to do a log on this. But it seems that this is not being triggered when I click the Proceed payment button. ...
MadzQuestioning's user avatar
0 votes
1 answer
222 views

Extend custom button and trigger mage.catalogAddToCart

I created a custom button. What I want is for it to trigger the Add to cart function. Aside from the default add to cart button I want a new add to cart button that will do the same thing. How can I ...
MadzQuestioning's user avatar
1 vote
2 answers
531 views

validate-product.js being loaded twice

I added the validate-product.js in my custom module. But when I refresh the page it's loading 2 instance of the validate-product.js. The first one is the js file from my custom module the second one ...
MadzQuestioning's user avatar
0 votes
1 answer
234 views

Pause add to cart function after ajax

I'm generating a filename via AJAX Jquery. Now I need this filename to be saved. My current process is to call a controller that will do the image saving and it will return a filename/filepath back. ...
MadzQuestioning's user avatar
1 vote
2 answers
1k views

Delete CMS Block programatically

I just created a CMS Block but I want to remove this programatically. So whenever I run bin/magento setup:upgrade it will delete the block first. Then after that recreate. I decided to do it this way ...
MadzQuestioning's user avatar
0 votes
1 answer
3k views

Call block action using Ajax

I would like to call an Action from a custom block that I created which is extending the \Magento\Catalog\Block\Product\View class. Now the idea here is that I will be clicking on the Add to cart ...
MadzQuestioning's user avatar
3 votes
1 answer
1k views

JS Scripts triggers Cart/Delete

I want to know what JS file and where can I find the JS file that triggers the cart->delete. I'm using Magento 2.3 and upon searching I found a file in vendor/magento/module-checkout/Helper/Cart.php ...
MadzQuestioning's user avatar
1 vote
4 answers
95 views

How to upgrade website in Magento 2.0 to Magento 2.3

Currently my client's website in Magento 2.0 (running on PHP-5.6). Now we want to upgrade it to Magento-2.3. Please help me in upgrading the website.
Srinivas's user avatar
-1 votes
1 answer
123 views

addFieldToFilter in magento2 returning same data everytime

addfieldtofilter in magento2 behaving weirdly I have code foreach($userIDs as $singleUserID) { $userid=$singleUserID['user_id']; var_dump($userid);//...
Arshad Syed's user avatar
1 vote
0 answers
83 views

Magento 2 Associate Developer Exam [closed]

I'm starting to prepare for the Magento 2 Associate Developer Exam. Can you help with some tips for this preparation? Some books, tests, sites or something else? Thank you very much.
Duddy Woody's user avatar
1 vote
1 answer
47 views

how to set up ubuntu server different fresh magento install?

Please tell me I am working Magento 2 on ubuntu now 1 Magento 2.3 is install and running condition so how to download 2 second magento2.3 on localhost this one server?
sanni kalariya's user avatar
0 votes
0 answers
61 views

State/Province conditions not working on any of my rules

Any time I include a state/province condition on any cart rule the condition is totally ignored. Every other conditions is taken into account and working accept the state/province conditions. Can ...
DevAnd's user avatar
  • 516
2 votes
0 answers
472 views

Error with Free Gift Extension [closed]

I am getting this error after installing an extension. "The configuration parameter "componentType" is a required for "ampromorule_top_banner" component." The error is shown whenever I try to add a ...
DevAnd's user avatar
  • 516
1 vote
0 answers
76 views

How to display shipping and billing forms at same time on checkout page? [duplicate]

So I need for my shipping and billing form on checkout to display both at the same time. Right now only the shipping address is being shown and the billing address has a checkmark where it says "my ...
DevAnd's user avatar
  • 516
0 votes
2 answers
131 views

Magento always requires 'bcmath' but it is already installed

I've already installed php7.0-bcmath but my Magento application still doesn't recognize it. Inside my php -i bcmath has this settings bcmath BCMath support => enabled Directive => Local ...
Vinicius Zanchini's user avatar
1 vote
1 answer
1k views

Catalog Input Type for Store Owner accepts numbers

I would like to create a new input type in Catalog Input Type for Store Owner.
Shyju Krishnankutty's user avatar
1 vote
0 answers
61 views

Ngnix issue caching image with magmi importing

I have used magmi tool to import product images on Magento 2.0.6. There is one option is to replace the images if it exists. I have check that option, it uploads the file successfully physically (I ...
Toan Tam's user avatar
  • 1,318
0 votes
1 answer
52 views

Exporting Orders with Full Details

I want to export all the orders till date (without using extension) with Following Details - Name - E-mail - Phone Can someone guide me on DB query to export the same? Default export in panel only ...
A.Agg's user avatar
  • 43
1 vote
3 answers
259 views

Upgrade Issue : 2.0.0 to 2.1.7

I am try to upgrade magento 2.0.0 to 2.1.7 Tutorial : magento.stackexchange.com After upgrade Back-end changed to 2.1.7, but front end looking like, Note : Refused to apply style from MIME ...
zus's user avatar
  • 165
0 votes
1 answer
112 views

Unable to open admin panel after successful installation of magento on localhost in windows 10

I'm using wamp server 2.5 and php version 5.5.12.,
Nandha kumar's user avatar
0 votes
1 answer
396 views

Manage Customer Attributes in Magento 2.2 Backend

As mentioned in the Magento 2 Dev Docs, there is an admin section to manage customer attributes. On the Admin sidebar, tap Stores. Then under Attributes, choose Customer. I looked for this section ...
HausE's user avatar
  • 13
0 votes
1 answer
3k views

How to add %like% search functionality in header search Magento 2

When i search "cocacola" product it search 1 product which is "cocacola" but when i search "cola" then no product found. i want search "cola" and it should a product but right now no product found. i ...
Sanket Makavana's user avatar
1 vote
0 answers
395 views

Mail is not received and this error shows in log

I'm using Dotmailer with Magento 2.2.2 exception 'Zend_Mail_Protocol_Exception' with message 'Connection timed out' in /var/www/theuniquestore/lib/Zend/Mail/Protocol/Abstract.php:277
Thomas N's user avatar
1 vote
1 answer
589 views

Magento 2 - Get Catalog rule name and end date on product page [closed]

I am trying to display a countdown timer using http://keith-wood.name/countdown.html on my product page to show the remaining time of the catalog rule that applies to that product I have started with ...
Gavin Jones's user avatar
4 votes
1 answer
1k views

easy tricks to clear cache? [closed]

please share your idea to handle magento2 cache with sublime IDE.
Ronak Patel's user avatar
2 votes
0 answers
81 views

Adding custom options in to cart through API in magento2.1

I have custom options like 'booking_from' and 'booking_till' in my custom module, everything works in the backend is fine. But how can I add those options in a cart through REST API in magento2.1.7? ...
N.ameen's user avatar
  • 386
0 votes
1 answer
1k views

Secondary contact form

how I can create a secondary contact form with mangento2x, I want to customize a contact form for clients feedback, I saw a lot of extensions that do what I want but they are not free, is there an ...
user3005390's user avatar
0 votes
3 answers
5k views

Magento 2 : 500 Error internal server

I upload the data local to server . I changed env.php file and also change core_config_data table but when I run url on server it gives me 500 server error. while on local its run perfectly. can any ...
Harshil Parekh's user avatar
1 vote
2 answers
5k views

Magento 2 An error occurred on the server. Please try to place the order again

I know my question are like this But in my case when I check errors I see this Magento\Customer\Model\Customer\Interceptor::_getResource","trace":"#0 /backup/html/toph/vendor/magento/framework/...
gh darvishani's user avatar
1 vote
1 answer
2k views

Magento2: How to get additional-fieldsets for custom address form(Not in checkout page)

In a custom template phtml I initialized an UI component <div id="shipping-component" data-bind="scope:'address-list'"> <!-- ko template: getTemplate() --><!-- /ko --> ...
Tuyen Nguyen's user avatar
  • 1,312
5 votes
3 answers
19k views

how to get main product image url in phtml file?

I want to get image url of product showing ,on product description page in phtml file. any help ?
Learner's user avatar
  • 833
0 votes
1 answer
518 views

magento 2.2 : how to make a ajax add to cart in magento 2.2 site from an external site

I need to do an add to cart in a Magento2.2 site from an external site using ajax. I am using the following ajax code. jQuery.ajax({ url: "http://local.magento.com/test_us_en/checkout/...
Selva Kumar's user avatar
6 votes
2 answers
3k views

Pop-up modal on clicking 'Add to Cart' button!

In Magento-2.2, when we click 'Add to Cart' button, we need to show the following message as a pop-up modal: "Product is added to cart!" I know how to create modal outside of Magento with css. ...
Hasan's user avatar
  • 61
3 votes
0 answers
68 views

How can we override setstate in Magento 2.0? [closed]

How can we override setstate in Magento 2.0? Please help me. Advance Thanks, Prabaharan.S.
Prabaharan Solairaj's user avatar
2 votes
1 answer
263 views

Magento 2: Disable all methods when free shipping method is applicable

We're using following table rates for our store and these are working fine. When weight is 0-1(kg) , rate will be 4.5 When weight is 1.1- ~ (kg), rate will be 4.9 We also enabled Free shipping when ...
Muhammad Saeed Khan's user avatar
1 vote
0 answers
147 views

Blank screen on Custom Admin Edit form

I am building a custom page in the magento 2 backend for a form to set a customer's password. I have the page opening up from a button on the customer form that passes over the ID. The page looks to ...
Rich's user avatar
  • 143

1
2 3 4 5
12