Magento 2.1.13
3 May 2018
Magento version 2.1.13 is now available.
Upgrading to Magento 2.1.13
Magento 2.1.13 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Magento updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Magento install to test the 2.1.13 upgrade prior to applying it live. Get started managing your Magento installations with Installatron
What's New in Magento 2.1.13
This release includes both bug fixes and enhancements.
Bundle
- You can now specify a Bundle option title on a store-view level with changes to more than one store view. Previously, after making a change to the store view title of a second store view, the previous store view would show the default title for the store view title.
Catalog
- Magento now displays the correct final price of configurable products associated with catalog rules. Previously, the final price of a configurable product did not reflect any catalog rules associated with it.
- You can now successfully re-save a product attribute using a new name. Previously, an attempt to re-save the product attribute resulted in an error.
- Magento now flushes the full page cache for all products that have been reindexed (both child and parent products). Previously, the configurable product page cache was not cleaned as expected.
- Category page X-Magento-Tags headers no longer contain product cache identities when category display mode is set to Static block only.
- When you set the category_ids attribute to be visible in the storefront catalog, Magento now displays catalog listings as expected. Previously, Magento threw an exception.
- Magento now saves images as expected when you create a new category that contains an image, and then edit and re-save that category. Previously, it appeared that Magento saved the category as expected, but exception.log stated that there was a problem saving the images.
- The category filter used for layered navigation for configurable products with no available options now counts products accurately.
- Magento now correctly displays product information after you perform an operation on more than one item. Previously, product information was not correctly aligned on the page.
- The \Magento\Quote\Model\ResourceModel\Quote\Item\Collection now returns items that have existing relations only in catalog_product_entity table.
- The Hide from Product Page option now works for the child product of a configurable product.
- Product page attribute labels are now translated as expected when languages other than English are used. Previously, these fields were empty.
Cart and checkout
- Magento now displays the expected state in the Multishipping New Address form when a customer enters information on the Ship to Multiple Addresses page.
- When two customers check out concurrently for the same product, one of the check outs now succeeds. Previously, when two customers checked out concurrently for the same product, and the total quantity being ordered was greater than the quantity available, the stock became negative.
- Display issues no longer prevent a user from adding a shipping address when checking out when running Internet Explorer 11.x. Previously, a registered user could not add a new shipping address in the shipping step of the checkout process due to display issues.
- Magento no longer caches warning messages as often as a customer clicks the Update Shopping Cart button while the shopping cart page loads. Previously, Magento cached a warning message each time a customer clicked this button while the page loaded in FireFox or Chrome, and this action resulted in multiple warning messages appearing on the top of the shopping cart page.
- You can now create unique checkbox IDs for the Terms and Conditions part of the checkout process.
Configurable products
- Magento now reorders configurable attribute options as expected on the product page.
- You can now disable a child product from a configurable product’s edit page. Previously, the child product’s status did not change after you selected Disable product.
- LowestPriceOptionsProvider now returns products with the tax_class_id attribute, which is used for price calculation operations such as tax adjustment.
Customers
- window.checkout.customerLoginUrl now contains a URL that includes the referer in base64 encoding (for example, https://myshop.com/customer/account/login/referer/aHR0cHM6Ly9teXNob3AuY29tL2NoZWNrb3V0). Previously, the login URL did not include a referer (for example, https://myshop.com/customer/account/login).
- Administrators can now reset customer passwords as expected when the max wait time between password resets setting has been disabled. Previously, when an administrator attempted to reset a customer’s password from the Admin, Magento displayed this error, Too many password reset requests, even when the max wait time between password resets setting had been disabled.
- The Arabic language locale now uses the correct date format. Previously, when Magento was deployed using the JavaScript calendar and the Arabic (Kuwait) locale, It did not correctly display dates on the product page. (Date format was shown as 182017/05 instead of 18/05/2017.)
- Magento now refreshes customer data in localStorage upon customer log in, which results in proper loading of the customer’s cart. Previously, when a customer with existing cart items logged in using the authentication popup, the mini cart did not display her cart items.
Framework
- vendor/magento/framework/composer.json now declares a dependency on magento/zendframework1. Previously, packages depending on magento/framework packages failed to execute.
- configuration framework: Scope-based configuration now decrypts data as expected. Previously, scope-based configuration failed to decrypt data on the default store only.
- session framework: When you add a product to your wish list after logging out, Magento now redirects you to your account wish list page and adds the product. Previously, you were redirected to your wish list page, but Magento did not add the product.
- web API framework: When you used REST to create a paginated search of products, Magento now includes category_ids as expected in the custom_attributes section of listed products.
- zend: We’ve upgraded the Zend framework Zend_Service component.
General
- The htmlentities function has been replaced with the htmlspecialchars function.
- You can now delete more than one record using the content block manager. Previously, when working in the content block manager in the Admin, Magento threw a fatal error when you tried to delete more than one record.
- The newsletter title string in the block template is no longer hardcoded.
- The \Magento\Quote\Model\ResourceModel\Quote\Item\Collection now returns items that have only existing relations in catalog_product_entity table, which prevents the loading of quote items for non-existing products.
- In environments running Varnish, the menu item of the active category page is now handled as the active class as expected. Previously, activating the cache interfered with Magento setting the appropriate CSS class to active in environments where Varnish was enabled.
- The currency switcher now works for widgets on the home page. Previously, if your website supported multiple currencies, the currency switcher did not update the currencies for widgets on the home page.
- Customers can now add a new address during the shipping step of the checkout process when accessing the store from Internet Explorer 11.x. Previously, when a customer tried to create a new address from the checkout page, the Add address button was not visible.
- Magento now creates a URL rewrite when you save a newly created CMS page. Previously, when you tried to access a newly created CMS page using information from the URL Key field, Magento displayed a 404 error.
- You can now use the custom layout handler form (cms_page_view_id_cms_page). Previously the cms module added an additional layout update handler with an identifier on page view, and problems occurred when slashes were used in the page identifier.
- Duplicate array keys in app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php and app/code/Magento/Downloadable/Helper/File.php have been removed.
Index
- You can now view the state of the mview queue in real time, which can be useful when debugging indexing issues. You can now view how many items are in the queue pending processing, as well as view information from the mview_state table.
Newsletter
- Merchants can now successfully unsubscribe customers from a newsletter from the Admin.
Order management
- Invoices now display coupon code information as expected.
- The cancel order and restore quote methods now accurately calculate the amount of stock to be returned to inventory when an order is canceled. Previously, when you canceled an order, some of these methods did not accurately calculate the amount of restored stock.
- You can now alter the transport variable in the email_invoice_set_template_vars_before event.
Payment methods
- The is_active and is_visible columns now default to true even when column default values are not set in the vault_payment_token installation script.
- Magento now processes credit memos as expected when refunding an order from PayPal. Previously, when Magento refunded an order from PayPal, it created a credit memo, but the credit memo was not assigned a status (that is, the database status field is null), and the order status remained as processing.
- Administrators can now create orders in the Admin for stores other than the default when using Paypal Payflow Pro.
- You can now implement a product attribute that sets Catalog Input Type for Store Owner equal to Fixed Product Tax in a multistore environment.
Reports
- When generating the output of Reports > Marketing > Products in Cart, Magento no longer calls the data of products that have been deleted from the cart.
- The Admin’s Most Viewed Products tab now displays all relevant information about products, even when they are not in the default attribute set.
- You can now successfully export the Ordered Products report to a CSV file. Previously, the export file contained no report data.
Scope
- Products are now activated only for specified websites after a scheduled update has run. Previously, Magento incorrectly activated the product for all websites when the scheduled update event ended.
Search
- Layered navigation now displays the correct product count. Previously, the layered navigation product count incorrectly included only in-stock products.
- When you switch between multiple currencies on the storefront, Magento now converts the product price into the correct currency.
Shipping
- We’ve resolved an issue where Magento did not display applicable flat-rate USPS box methods during checkout.
Swagger
- The code formatting in the Swagger block and template has been updated.
Swatches
- You can now use REST to import visual swatch attribute options. Previously, you could not add swatch options using service contracts unless a swatch option already existed for the attribute.
Translations
- Inline translations and custom translators now work for knockout templates.
UI
- Magento now validates XML against the schema file when saving custom layout update XML in the CMS page in production mode.
- Creating a new product with a custom attribute set now works as expected.
- Magento no longer displays the current date when a product’s date attribute has an empty value.
Wish list
- The default value for a wish list item’s buyRequest data is now always an array. Previously, this value was set to null.