Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Denotes questions related to Magento CE/EE version 2.0

0
votes
0answers
14 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 ...
2
votes
0answers
34 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 ...
1
vote
0answers
23 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 ...
0
votes
0answers
38 views

Magento site keeps coming down on random days

The site goes down at least once a week and when it does I get this error message: "Object DOMDocument should be created." Can anyone help? How can I stop this from happening. After it goes down all ...
0
votes
2answers
36 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 ...
0
votes
1answer
113 views

Catalog Input Type for Store Owner accepts numbers

Im new to magento. I would like to create a new input type in Catalog Input Type for Store Owner.
0
votes
0answers
221 views

Rest API Error “Consumer is not authorized to access %resources”

I am facing issue while accessing rest API for one of the magento 2 stores. Magento version is 2.1.2 and I am using access token created using Integrations from System > Integration. We are using ...
1
vote
0answers
19 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 ...
0
votes
1answer
18 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 ...
1
vote
4answers
125 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 ...
0
votes
1answer
29 views
0
votes
1answer
137 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 ...
0
votes
0answers
19 views

Override template file for recent orders in customer account dashboard

I have to override file for the recent orders in my module. So i am using following code to override it's working in magento 2.2 but not working in 2.0, 2.1. I have created file ...
0
votes
0answers
20 views

Magento 2.1.10: Uncaught TypeError: $element.size is not a functionUncaught TypeError: $element.size is not a function - swatch-renderer.js

i have changed product color attribute from dropdown to visual swacth. And cleared all cache settings under Cache Management. Tested prodcut page add to cart not working.... It shows "This is a ...
0
votes
1answer
524 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 ...
1
vote
0answers
147 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
1
vote
1answer
128 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 ...
0
votes
0answers
19 views

Switching language on products give 404

I've got a magento site and when my user switch language they get a 404 page. I'll give an example. The dutch url would be: http://www.example.com/dutch-product/ The english url would be: http://www....
4
votes
1answer
224 views

easy tricks to clear cache? [closed]

please share your idea to handle magento2 cache with sublime IDE.
2
votes
0answers
58 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? ...
0
votes
1answer
122 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 ...
0
votes
3answers
1k 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 ...
1
vote
1answer
500 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\/...
0
votes
0answers
35 views

Migrate from 2.0.15 to 2.2.2

Earlier I have migrated my shop from 1.9.x to 2.0.15 using data migration tool. At first I setup a new installation of 2.0.15 and then migrated data from 1.9.x to 2.0.15 using data migration tool and ...
1
vote
1answer
263 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 --> ...
0
votes
3answers
1k 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 ?
0
votes
1answer
256 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/...
4
votes
0answers
536 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. ...
3
votes
0answers
52 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.
1
vote
1answer
151 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 ...
1
vote
0answers
74 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 ...
0
votes
2answers
268 views

How can I remove a footer from specific cms page?

Can I remove footer from a cms page ? and I added that page using admin panel . default.xml file <?xml version="1.0"?> <!-- /** * Copyright © Infortis. All rights reserved. * See ...
0
votes
2answers
226 views

Zend_Json_Exception Decoding failed: Syntax error some time in Magento (All versions)

1 exception(s): Exception #0 (Zend_Json_Exception): Decoding failed: Syntax error Exception #0 (Zend_Json_Exception): Decoding failed: Syntax error#0 /var/www/html/magento2/vendor/magento/...
1
vote
0answers
36 views

CART dropdown template changing

Can I move 'Go to checkout' button and cart subtotal to end of dropdown ?
0
votes
0answers
53 views

problems when I Enable , javascript merge, bundling and minify

I added some pages with jquery and javascript so they started conflicts . So I enable all three options of minify , merge and bundling. Now page issues are fixed but extensions which I installed ...
0
votes
1answer
72 views

Magento 2 : Move to 'MY ORDERS' tab in MY DASHBOARD

How I can move account My orders list in Account dashboard ? As My orders are on top at this time. block block-dashboard-orders what will be block name to move this ?
5
votes
3answers
3k views

Magento 2: setdata() is not saving the values into the database

Controller file Post.php <?php namespace QaisarSatti\HelloWorld\Controller\Index; class Post extends \Magento\Framework\App\Action\Action { protected $_objectManager; protected $hello;...
0
votes
0answers
153 views

Magento 2 - How to Get Product View count for product page? [duplicate]

Magento 2 - Get Product View count for product page ?? please check and give your solutions ...
3
votes
2answers
500 views

Difference between Magento releases

Magento offers different releases under download section such as 2.0.x and 2.1.x or 2.2.x. Many people say that use recent release of Magento but when I browse to Magento download page I see three ...
1
vote
1answer
32 views

Differences in Magento versions [closed]

What are the differences between all the Magento versions Magento2.0 Magento2.1 Magento Open Source 2.2 Magento Commerce 2.2 Magento Commerce Cloud 2.2
0
votes
0answers
27 views

I want add price each attribute for product in Magento 2

I want a module through which I can add the price for each attribute. Like if Shirt abc is a product then it will have multiple image attribute set and on click of any, a certain value added to the ...
0
votes
0answers
54 views

How i can stop execution in my extension without using die() or exit?

$writer = new XMLWriter(); $writer->openURI('php://output'); $writer->startDocument("1.0"); $this->_writeOrders($orders, $writer, $storeId); $writer->flush(); //die(); we cant use ...
0
votes
1answer
987 views

Invalid entity_type specified Magento2

I have Create Configurable Product, Then I open Configurable Product category Its throw: Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid entity_type specified: I have ...
1
vote
2answers
128 views

My magento 2 website's menu is not displaying, it is loading in esi.include tag

Please see the console highlighted tag below : https://lh3.googleusercontent.com/-bbh1XSOt524/Wfcce1p3G3I/AAAAAAAAAv0/rRGBZ28R8403rTGKUc6U-wQCfeQzHZe7wCL0BGAYYCw/h800/2017-10-30.png
0
votes
1answer
177 views

Adding new product causes foreign key constraint error

I am unable to add new products to my Magento2 install that I have inherited. I'm getting the following error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child ...
0
votes
2answers
43 views

How to change color of specific element of applied theme

How to change the color of the specific font, element of the applied theme in Magento2 on the server. Is it is required to open theme file and then edit, or there are some other alternatives?
0
votes
1answer
116 views

RequireJs magento2 loading custom js plugin results in DOMException: Failed to execute 'querySelectorAll'

Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': '[object HTMLDocument]' is not a valid selector. this is my code in main.js file. require([ 'rellax'], function ($) { $(...
2
votes
2answers
519 views

Magento 2 How to add new method in override block

For example I have override class Magento\Store\Block\Switcher to Vendor\Module\Block\Switcher So I needs to add custom method, constructor, and protected variable in upgraded class Vendor\Module\...
1
vote
1answer
63 views

Magento 2 - Existing class does not exists

I'm trying to make a payment module in Magento 2. The module is show in admin Configuration->Sales->Payment method. But when I go to the checkout, only layout renders and the rest of the page is blank....
1
vote
1answer
557 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 ...