Magento 2.3.0 – Applied Gift Cards not showing in Invoice

We have gift cards enabled, but when a customer applies one to an order we receive an invoice with only the purchased product and the reduced price after the card was applied with no other evidence of a card being used. So for instance an invoice will show that customer purchased a $ 110 product for just $ 10 in the subtotal with no evidence of a card being applied on the invoice.

While we use discount codes fairly regularly and they don’t have this issue as they show underneath the product on the invoice. So we’re unsure why this may be happening. It’s causing a bit of confusion.

Categrory URL Rewrite Not Working After Upgrading To Magento 2.3.1 from Magento 2.3.0

After upgrading to Magento 2.3.1 from 2.3.0, Category URL Rewrite don’t seem to be working.

After the update, now when I am creating a new product, the URL that’s being generated is something like this: http://example.com/catalog/product/view/id/3708/s/test-product-1/. The correct format should have been http://example.com/mobile-spare-parts/test-product-1/.

My settings are as follows:

  • Configuration >> General >> Web >> Search Engine Optimization >> Use Web Server Rewrites: Yes
  • Configuration >> Catalog >> Search Engine Optimization >> Use Categories Path for Product URLs: Yes
  • Configuration >> Catalog >> Search Engine Optimization >> Use Canonical Link Meta Tag For Categories: No
  • Configuration >> Catalog >> Search Engine Optimization >> Use Canonical Link Meta Tag For Products: Yes

Magento 2.3.0 + elasticsearch 6.4.2

I’m trying to set up docker for magento 2.3.0 and elasticsearch 6.4.2

After containers are up i can connect to elasticsearch through browser and set up connection in magento 2 admin panel with message “Success”.

Than i cleared cache and try to reindex catalogsearch_fulltext index. I recieved an error message:

Catalog Search indexer process unknown error: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”Enabling [_all] is disabled in 6.0. As a replacement, you can use [copy_to] on mapping fields to create your own catch all field.”}],”type”:”illegal_argument_exception”,”reason”:”Enabling [_all] is disabled in 6.0. As a replacement, you can use [copy_to] on mapping fields to create your own catch all field.”},”status”:400}

It’s been throw out in

vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php line 272

The same on elasticsearch 7.0.0

Does anyone has this problem? Can i somehow fixed it?

Magento 2.3.0 custom cron job is not working

Magento 2 custom corn is not working in my custom module.

app/code/Namespace/ModuleName/etc/crontab.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">  <group id="default">     <job name="test_reminder_cronjob" instance="Namespace\Modulename\Cron\ReminderEmail" method="execute">         <schedule>* * * * *</schedule>     </job> </group> 

app/code/Namespace/Modulename/Cron/ReminderEmail.php

<?php namespace Namespace\Modulename\Cron;  use \Psr\Log\LoggerInterface;  class ReminderEmail {     /**     * Write to system.log     *     * @return void     */      public function execute()     {                 $  writer = new \Zend\Log\Writer\Stream(BP . '/var/log/test.log');         $  logger = new \Zend\Log\Logger();         $  logger->addWriter($  writer);         $  logger->info('Test cron worked successfully');     } } 

Something is missing or wrong in the code above. can anyone help me to solve out this?

I have already try below way.

  • HOW TO SET AND CONFIGURE CUSTOM CRON JOBS IN MAGENTO 2?
  • Configure a custom cron job and cron

Any help would be appreciated! Thanks.

Adding a favicon in magento 2.3.0 manuelly – it just appears in firefox

According to devdocs of magento 2.3.0 I tried to add a favicon manuelly.(https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/favicon.html)

Attempt 1:

/magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/layout => here goes the default_head_blocks.xml file

<?xml version="1.0"?>  <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">     <head>         <link src="Magento_Theme::favicon_32x32.png" rel="icon" type="image/x-icon" sizes="32x32"/>     </head> </page> 

/magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/web => here goes the favicon_32x32.png file

=> This works only in Firefox!

Attempt 2:

Then I tried just for fun to add in the root directory my own favicon.ico. /magento2/app/design/frontend/Magento GJ/theme-GJ/Magento_Theme/

=> This works for Safari, Chrome and Edge. The IE does not work.

Attempt 3:

According to the magento 2.3.0 bug to add a favicon over the backend I solved this issue also:

Magento 2.3 favicon and logo upload does not take hold

Then I tried to upload my favicon. => All browsers can handle the favicon.

I want to know why the first attempt does not work for all browsers? – I am at a loss :/