Questions tagged [magento-2.1.3]

Denotes questions related to Magento CE and EE of version 2.1.3 Used in case the issue is connected with 2.1.3. version: update to this version, this version bug etc.

Filter by
Sorted by
Tagged with
4
votes
3answers
5k views

Magento2 Something went wrong while saving the page

I have problem with creating new page from backend it shows me this message: Something went wrong while saving the page. I can edit and save the page but I can't create the new page. any idea??
1
vote
1answer
2k views

How to save quote billing address in magento 2?

For our project we have customized theme in Magento2. This has billing and shipping address pages. We have to save the billing address details in quote address table. But we didn't come across any ...
0
votes
1answer
356 views

Product detail page $block->getDisplayLabel() not translated

On the product detail page I am showing two prices without VAT and with VAT. This is the first price without VAT: <span id="price-excluding-tax-product-price-1606" data-label="Zzgl. MwSt." data-...
1
vote
2answers
1k views

How to import products from another database into magento2's database

I have an ERP system with a database that holds more or less 400,000 items. I need the 400,000 items to be migrated to my Magento 2.1.3 database. Is it possible to directly import items from my ERP ...
0
votes
3answers
764 views

force product view layout to 1column

I want to show the single product page information in one single column, but it is always displayed on 2-columns-left: <body data-container="body" itemtype="http://schema.org/Product" itemscope="...
3
votes
1answer
1k views

How I can create New State and Status programmatically in the Magento 2? [duplicate]

$orderId = $orderIds[0]; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('\Magento\Sales\Model\Order') ->load($orderId); $order->setState(...
0
votes
1answer
340 views

Newsletter is not going to subscriber in magento2

well there is an issue with newsletter in magento 2.is i have created newsletter template for subscriber but when i set a date and time to it.it was still not going to my subscribers.apart from this ...
1
vote
1answer
753 views

magento 2 how i ca override the config save controller adminhtml?

magento\vendor\magento\module-config\Controller\Adminhtml\System\Config\Save.php how can i override this controller in the magento 2
0
votes
3answers
670 views

UIcomponent Dynamic Rows . Image Upload Problem

I Created a form using uicomponent . In Dynamicrows i have two element fileuploader And Simple textbox. <dynamicRows ... > <field name="path"> <argument name="data" xsi:...
3
votes
1answer
871 views

how i update the order status in controller in magento 2?

<?php namespace Vendor\Module\Controller\Index; use Magento\Framework\App\Action\Action; use Magento\Framework\App\Action\Context; use Magento\Framework\App\ResponseInterface;class Index extends ...
2
votes
1answer
569 views

UiComponent Ui Element Ui-select Not Properly Working

i m trying to create form using ui-component. i want to create element SELECT like Product attribute set. This field is created in my module but the searching is not displaying like below ...
0
votes
2answers
2k views

Invoke rest api from c#

I am successfully getting access token, but when I call customer service it is throwing error. Error:Bad Request/Unauthorized for this I have tried below code. using System; using System....
2
votes
2answers
1k views

Magento 2 Redirect to cart page on event 'sales_order_place_before'

I'm using Magento 2.1.3 I have an observer 'sales_order_place_before', I want to validate some information before the payment is made and if validation is false, I want to redirect the page to '...
0
votes
2answers
841 views

Magento 2 : Quantity Counter in Product Listing Page

I have a problem in product listing quantity counter, sometimes it will work and sometimes it will not. I want to create custom JQuery script to enable product counter increment and decrement, But the ...
0
votes
2answers
92 views

Theme Installation

I downloaded a free theme Ves Fasony. I copied and pasted the file in this directory app/design/frontend/ But in the theme that I downloaded, there is a code folder and is no code folder under app ...
1
vote
0answers
213 views

Credit memo return to stock adds a quantity to configurable and simple

When a simple product that is configured to a configurable is bought then refunded and the 'return to stock' check box is ticked, it will return to stock the simple correctly but it will also add a ...
9
votes
5answers
20k views

Magento 2: How to update order status programmatically in custom module?

$orderId = 1; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $order = $objectManager->create('\Magento\Sales\Model\Order')->load($orderId); $order->setState("...
0
votes
1answer
932 views

how i get the order status in the magento 2?

public function getStatusOptions() { $options = $this->statusCollectionFactory->create()->toOptionArray(); return $options; } How I can get the order status in the ...
1
vote
0answers
196 views

Magento 2 Error mini cart not show the products Error return $parent.getRegion($parent.getItemRenderer(item.product_type))

I have a custom template and i copied the all files module-checkout/view/frontend and i paged to my custom template /Magento_Checkout but i have an error in the console and the minicart in ...
1
vote
1answer
494 views

SOLVED : Magento 2 : Any Specific Solution for “Front Controller Reached 100 Router Match Iterations” Error

I m using magento 2.1.3. Looking Specific Solution for "Front controller reached 100 router match iterations" Error...? I checked some answers on stackexchange but not working for magento 2.1.3. ...
1
vote
0answers
462 views

Checkout hangs because of: Uncaught TypeError: Cannot read property 'US' of undefined

Running a Magento 2.1.3 store. The checkout never fully loads as an error is being generated on post-code.js in (Chrome): Uncaught TypeError: Cannot read property 'US' of undefined at UiClass.update (...
1
vote
1answer
80 views

Edit text in the blocks for Luma Theme

How do I edit the text in the various blocks in the Luma Theme for Magento 2. Eg the in the top picture there is a text "New Luma Yoga..." Where is this text generated and where do I edit it ?
2
votes
1answer
895 views

Fatal error: Uncaught Error: Call to a member function count() on null in list.phtml

<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ use Magento\Framework\App\Action\Action; // @codingStandardsIgnoreFile ?> <?php /** *...
0
votes
1answer
521 views

i want to write custom sql query to select low and high price in magento2?

I want to write a custom sql query to find final price,min-price,max_price,special_price but i dont know in which file i suppose to write this code and execute? can anyone tell me where we can write ...
0
votes
1answer
1k views

Magento 2 Product Collection sort order by custom attribute

I have a problem to list products collection by a custom attribute. I created a product custom attribute of decimal type. I made this attribute usable for sorting products ("used_for_sort_by"). At ...
0
votes
1answer
1k views

Pager not working in Magento 2

I am trying to create a gird with pager in my custom module, but it is showing all products in to one page. For this I have tried below way. Block/InventoryStatus.php <?php namespace Training\...
1
vote
0answers
9 views

Issuing individual credits

How can we issue individual credits that are all different amounts manually on our clients' accounts? We have searched in Credit Memo section and can't see how we can manually edit or add a credit to ...
2
votes
2answers
507 views

how to override any .phtml or class file in magento2 using custom module?

Well I have an idea to create custom module in magento2 but when it comes to override code functionality I stucks. for example I have to override this file default.phtml in /vendor/magento/module-...
3
votes
1answer
3k views

Magento 2 move minicart to header.phtml file

I need to place my minicart icon in a specific position in header.phtml file below is header container in default.xml <referenceContainer name="header.container" htmlClass="main-header"> ...
2
votes
0answers
193 views

How to include category id in url on category list page?

i want to include category id included in url on category list page. My default category url is listed below:: http://magento2.shelltag.com/women/bags/backpacks I want to show it like this : http://...
1
vote
1answer
434 views

Order Total on Cart not showing price with TAX

Using Magento 2.1.3 - Adding a product to the cart, then doing to the cart page the Grand Total shows up without taken into account Tax, however on the main area were the cart list the products they ...
2
votes
2answers
3k views

Magento 2: How to show admin system configuration options conditionally?

I have a dropdown in Magento 2 config setting. Now I want the setting to get displayed only when there are any options available for the dropdown, else it should be not shown. I also want to display a ...
0
votes
1answer
598 views

How to add Custom Currency option in Magento 2.1.3 Admin

I have two different stores on my website. For one of the store I need to show product price in "Points" like instead of "$45.00" I need to show it as "45 points". Like in the image attached. Note: ...
1
vote
0answers
281 views

how to include category id in url on category page?

I have one query regarding category id.I need to include category id, in category list page. Currently it should be like this : http://magento2.shelltag.com/women/bags/backpacks I want to show like ...
0
votes
2answers
448 views

How to display values from a custom attribute in magento 2?

I a problem on displaying the custom attribute and it's values in a custom phtml block.
1
vote
1answer
2k views

Magento 2.1.3 : url_rewrite database table is huge

When trying to install an extension, or performing the average database backup, I've realized i have less then 200 products in my catalog, yet the backup takes FOREVER. In fact, there is a database ...
0
votes
1answer
340 views

Error message is showing while adding or editing a product from dashboard

I have installed a module from github Mageplaza_Seo. latter when i disabled it and when i went to dashboard and adding/editing products iam getting below error in /magento2/var/report log file why ...
0
votes
1answer
418 views

Magento2: how to add remove header links conditionally

how to add remove header links conditionally. I am trying to show my account link only when the customer is logged in. Otherwise it should be hidden. How to do the same using xml files.
1
vote
2answers
1k views

How to remove block conditionally in magento 2 using xml layouts [duplicate]

The requirement is to remove some default blocks when my custom module is enabled. So how could I remove this blocks using the admin setting configuration values. I am not creating a block that should ...
0
votes
1answer
281 views

How can I get compare button in header section with the same functionality as of cart button

I'm an IT student and new in magento. I was wondering, how can I create compare button as on that link http://ultimo.infortis-themes.com/demo/ I found sidebar.phtml file under vendor/magento/module-...
2
votes
2answers
3k views

Magento 2 HTTP error 500 on categories after compilation

I am working on a Magento 2.1 website for one of my clients. When running setup:di:compile, my Magento files are successfully compiled without errors. When I open the frontend of my website, my ...
0
votes
1answer
515 views

how to show product id included in url on product listing page?

I am using magnto2.1.3. i want to show my product id in url on product listing page.below is what i need. how to achieve this?kindly help me please?
0
votes
2answers
2k views

Change font in order email

I am trying to override the default email font with the one from my theme. For instance, if I want to change the font for New Order email (sales), where and how should I make this change? Thanks
0
votes
1answer
651 views

Magento 2.1: Get ID of saved category

Because in Magento 2.1.3 the category_after_save event is missing I created a afterExecute plugin for the category save plugin. If I save a existing category the request contains the entity_id, but if ...
2
votes
1answer
272 views

How to extend creditmemo save action in magento 2

I need to extend creditmemo save action: Update post data before action method call Update database after creditmemo save. Which method is better Plugin or preference and if Plugin then how can I ...
2
votes
1answer
4k views

How to add my block and phtml file in magento 2 with reference block

I want to add a text box on the total credit memo. I can input amount to refund. I am trying to add my block in creditmemo_totals What i tried is add code in Company/Custom/view/adminhtml/layout/...
0
votes
1answer
909 views

which phtml file is use for New Order Confirmation Template for Guest/Seller?

i have created and implemented the code to call product thumbnail and product url for "New Order Confirmation Template" thats is use for customers.my code is below $objectManager = \Magento\Framework\...
1
vote
0answers
62 views

How to add column using extension_attributes.xml in magento2?

How to add column using extension_attributes.xml in magento2 ?
1
vote
0answers
39 views

Download functionality in Grid column of magento 2

In magento-2 admin grid column I want to show download action in one column as I have all my other fields like full name, view, email, created_at in grid. And after clicking on "download action " my ...
0
votes
1answer
428 views

Need to extend credit-card-type.js for master card detection and add new/latest regex pattern(resolved by myself)

Need to extend credit-card-type.js for add master card detection new/latest pattern: I am creating and extending payment method using this link http://inchoo.net/magento-2/implementing-payment-...