Questions tagged [magento2.2.0]
Denotes questions related to Magento CE, EE and EE Cloud 2.2.0
85
questions
0
votes
2
answers
112
views
frontend error category products not getting displayed
I am trying to access the product listing on the frontend
But I am getting this error.
Parse error: syntax error, unexpected 'else' (T_ELSE) in C:\xampp\htdocs\testmastersdirect\mastersdirect.masters-...
0
votes
2
answers
409
views
Magento 2.2 integration callback URL is not receiving OAuth data
I'm trying to implement OAuth 1.0a in Magento 2.2. As per Magento docs, I created an integration, providing a Ngrok URL that points to localhost:8080 of my computer as the callback URL. However, when ...
1
vote
0
answers
15
views
magento 2.2.0 reindex through command is not working
I have setup magento 2.2.0 version and set index to update on scheduel. When I remove category from product and run php bin/magento indexer:reindex command it's reindex successfully but when I check ...
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.
2
votes
1
answer
185
views
How can I update customer custom attribute on order save?
I have an observer for the event when an order is placed by a customer.
I tried "sales_model_service_quote_submit_before"
I would like to take a value from the Order and save it to the customer.
For ...
0
votes
2
answers
39
views
Email Issue in Magento 2
Email is not received after subscribe but I got a success message in the home page. How to fix it?
0
votes
1
answer
1k
views
Pass data between components
Assuming I got 2 components like this:
How can I pass data from 1 component to another?
In this example I would like to pass some data when I close the modal to "my-component"
<script type="text/...
2
votes
0
answers
78
views
Magento 2.1.9 to 2.2.0 composer update problem
Basically i want to update my store from 2.1.9 to 2.2.0. But when i run composer update i'm getting this error:
- magento/product-community-edition 2.2.0 requires zendframework/zend-stdlib ^2.7.7 -&...
0
votes
2
answers
2k
views
How to override vendor/magento/module-sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php in Magento2.2.0?
I want to override vendor/magento/module-sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php in Magento2.2.0?
This is my registration.php file
app/code/Amy/InvoicePdf/registration.php
<?php
\...
1
vote
2
answers
304
views
Overriding the Model file shows compilation error in magento2?
Errors during compilation:
Amy\InvoicePdfPcb\Model\Order\Pdf\Invoice
Incompatible argument type: Required type: \Magento\Store\Model\StoreManagerInterface. Actual type: array; File:
/var/...
1
vote
0
answers
237
views
How to override invoice pdf file in magento2.2.0?
I want to override vendor/magento/module-sales/Model/Order/Pdf/Invoice.php and vendor/magento/module-sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php to show custom attribute in Invoice Pdf In ...
1
vote
0
answers
43
views
Simple Product Quantity Stopping Grouped Product From Working
I am running M2.2.0 and have set up a store that only sells 4 products (bottled beer), my problem though is this: The boss only wants to sell them by the case of 8 bottles. I have set up a Simple ...
0
votes
1
answer
369
views
Magento 2.2.0 , Paypal Credit Issue "The payment method disallows storing objects"
I am using magento version 2.2.0 , when I try to place order using payemt method as Paypal Credit, it works fine on ckeckout/cart page, but on OnePage checkout I get the error "The payment method ...
0
votes
1
answer
4k
views
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected
Upgrading from Magento 2.1.7 to 2.2.0
PHP 7.0
MySQL 5.6
Through command line I've run these commands and had no hiccups until I looked at the front end:
bin/magento maintenance:enable
composer ...
0
votes
1
answer
2k
views
magento 2.2.0 Error:: "you did not sign in correctly or your account is temporarily disabled"
I Installed Magento version 2.2.0. But I am getting error "you did not sign in correctly or your account is temporarily disabled"
1
vote
0
answers
52
views
Magento 2.2.0 How to attach multiple files using Rest api with large size of file?
Magento 2.2.0 How to attach multiple files using Rest API with large size of file?
code is below for attach png file using webservices :
$data='data:application/pdf;base64,...
0
votes
2
answers
1k
views
Magento 2 : CRUD, Invalid method _getResource() in model when Save
Magento CE 2.2.0; I created CRUD for model 'people' and save data in to database by controller for testing.
While i try to save by using controllor Add:
$_person = $this->_objectManager->...
2
votes
2
answers
2k
views
Inline CSS file for custom email template in custom module not loading
I'm using Magento version 2.2.0 to create a custom email template for my custom extension, I need to add inline CSS to the email template, I've followed the instruction here , so my email template ...
2
votes
0
answers
181
views
Magento 2 without user login add to cart ajax not working with redis session
I have Issue with Magento version. 2.2.0 with integration of redis session.
In my magento 2.2.0 Redis Session is enabled , Now when user is not logged in(Guest User) to the system and try to add the ...
0
votes
1
answer
34
views
Bestselling products data is not gettting saved in its Table.
I am using magento 2.2.0 and I am trying to fetch bestselling products, but the problem is that there is not even a single product in the sales_bestsellers_aggregated_monthly table. As I purchased ...
0
votes
1
answer
676
views
Direct access to the wysiwig images?
Is there any way to get to an image uploader/manger type screen for the wysiwig images? There seems to be some sort of manager in place that the wysiwig editor uses to allow you to browse, upload and ...
0
votes
1
answer
513
views
Wysiwyg Insert Image shows blank page in production mode
After putting my webshop in production mode and try to insert an image in the Wysiwyg editor it gives me a blank popup modal apart from text saying insert image and a close button.
In developer mode ...
0
votes
1
answer
2k
views
Magento 2 : How to Add Custom Input Field in Customer Registration Form
I want to add an extra field on the customer registration form and its value must be saved in database after its subimission. How can I do that?
1
vote
0
answers
110
views
Products should be removed after logout in Magento 2.2.0
How can I remove the items from the cart after logout. The stuffs are still in the cart, I want them to be removed after logout or closing browser. How should I do that?
0
votes
2
answers
406
views
How to add confirm email at checkout form in Magento 2.2.0
I need to add confirm email field to the checkout page. I could not trace the file path - from where does it appear? Could anyone tell me the path for the checkout form?
0
votes
1
answer
119
views
Bestselling Product link in Magento 2.2.0
I have successfully listed the best selling products, but how should I give it a link to open the same product in the product detail page whenever we click on it. The same product should open at the ...
0
votes
1
answer
58
views
Product Import Error Magento 2.2.0
while importing product csv validation is done after clicking on import getting below error.
3
votes
1
answer
3k
views
How to move category image above product listing column in magento 2.2.0?
I want to move the category Image and category description in the column of product listing at category page. Now the Image and description is appearing above the 2column-left layout.
0
votes
1
answer
837
views
Checkout page is not working for store in Magento 2.2.0
I have created a store for my Website, that works fine but checkout page at store is not working while it is working fine at main website. If we checkout a product through store only loader is running ...
2
votes
2
answers
764
views
Magento order-data showing null in sales_order_place_before observer
I have created a new observer to check the order data passing with "sales_order_place_before" event in observer.My observer is working but when I am trying to fetch the observer event data am getting ...
4
votes
6
answers
6k
views
How to remove Add To Compare links in magento 2.2.0?
I want to remove 'Add To compare' links all over the website. The Add To Compare module is irrelevant for me. I am using Magento 2.2.0 version.
1
vote
3
answers
93
views
How to get newsletter in custom footer in magento 2.2.0?
I have a custom-footer in my website. I want to move newsletter to my custom footer. I tried the below code to move but nothing changes.
move element="form.subscribe" destination="custom_footer"
0
votes
1
answer
3k
views
How to fix serialize error in Magento 2 [duplicate]
I am getting this error in magento 2. Please help me to solve this issue.
1 exception(s):
Exception #0 (InvalidArgumentException): Unable to serialize value. Error: - Malformed UTF-8 characters, ...
4
votes
0
answers
756
views
Currency symbol is missing when switching
I am using Magento version 2.2.0
URL: http://www.hit-counts.com/vinca/
The currency symbol ($),(SAR) is missing when switch the English store to Arabic store. I removed the code as well from this root ...
1
vote
0
answers
31
views
How to show Category image in one layout.?
I want to show category image in one layout, the layout in which product list is appearing.
Adding image through Catalog->Category->Category_name->Content->Categoy image.
Category page has 2column-...
0
votes
1
answer
78
views
How to create Bestselller product and Related product and call it on the cms page in magento 2.2.0
I want to display Related products and BestSeller products on two different pages.
0
votes
0
answers
127
views
Magento 2.2 login page Element 'action', attribute 'ifvalue': The attribute 'ifvalue' is not allowed
In developer mode my login page is displaying the following error:
Magento 2.2.0 login page Element 'action', attribute 'ifvalue': The attribute 'ifvalue' is not allowed
Can anyone guide me in ...
1
vote
1
answer
225
views
How to get bestseller in left column layout in Magento 2.2.0?
I want to display bestseller products just below the compare product list. How can I do that?
6
votes
6
answers
22k
views
How to remove captcha in via terminal?
I want to remove the captcha and its input field from the forgot password form and admin.
Please help me to remove that.
1
vote
0
answers
522
views
How to do multiple partial online refunds?
I am trying to perform online partial refund on Magento 2.2.0, but once I press on creditmemo button in invoice page, and first partial refund is performed, you cannot perform another partial refunds ...
0
votes
2
answers
486
views
How to change layout in magento 2.2.0 [duplicate]
I am using Magento blank theme, I want to change the layout on Product detail page, on product details page the default layout is 1column layout. How to change from 1column layout to 2columns-left ...
0
votes
1
answer
701
views
Header and footer in Magento 2.2.0
I am new to magento 2.I want to use custom header and footer design for my site but don't where to keep that code. I am using blank theme. Please help me.
Thanks in advance.
0
votes
2
answers
604
views
Problem after updating Magento 2.2.0
After updating Magento to 2.2.0 with command line I got the following errors and then a whole list of files: How to fix?
1 exception(s):
Exception #0 (Magento\Framework\Config\Dom\ValidationException)...
1
vote
0
answers
73
views
Magento 2 top header currency code
How to remove the Links at the top header ie. sign in, create account and currency change and want to place it custom page(only currency selector).
Please someone tell me how to do that.
0
votes
1
answer
56
views
How to restrict order in website wise in magento 2.2.0
I have created two websites and install track order.
website1
website2
but I have placed an order in website1 and track order working now properly but one issue website2 order display track order.
...
1
vote
0
answers
18
views
Multiple currency for single store
I am trying to implement two currencies for single store.. It is based on the user selection, whatever will he select the payment should be done based on that.. The currencies are pound and euro. ...
7
votes
1
answer
2k
views
Magento 2.2 deprecated module \Magento\Backend\Block\
As far as I read about Magento's documentation I can't find how all that deprecated content will be replaced. The only information is also displayed in each deprecated class of this module ( \Magento\...
0
votes
1
answer
3k
views
Downgrade magento 2 version
I excidently upgraded the magento version from 2.2.0 to 2.2.1 through composer. Is there a proper way to downgrade back to 2.2.0? I have a database backup of magento 2.2.0.
1
vote
1
answer
41
views
After data migration it is happening when i click on any product link in magento 2.2.0?
Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'reference': This element is not expected.
Line: 1309
1
vote
1
answer
1k
views
Catalog Search indexer process unknown error: SQLSTATE[HY000]: General error: 1813
**Catalog** **Search indexer** process unknown error:
SQLSTATE[HY000]: General error: 1813 Tablespace for table '`mydb`.`catalogsearch_fulltext_scope1_tmp`' exists. Please DISCARD the tablespace ...