magento2 – How come the order number in ShipWorks is displayed incorrectly?

I followed this QA method to adjust the order number on my recent Magento 2.3.1 migration. When ShipWorks downloads the orders, they still start at 1,

The ShipWorks support team has called you back and they are feeling this order number Field for order numbers and not increment_id, which is known to be the order number in human language. Once I test the effectiveness of updating the sales_order I'll post a response to the table's auto_increment primary key.

magento2 – Order failed after entering another billing address. Magento 2

• The counterfeit information can not be verified yet because you can not place an order with a different billing address
• It looks like Magento is trying to enter the first and last name of the billing address (we never had the option of entering another name). Is this a Magento error? If Magento, can we disable it? If not, can we always have the name = the delivery name … and just not display it? Error message: Please check whether the information on the billing address first name is a mandatory field. Last name is a required field.

I appreciated your help very much.

real analysis – solution of a differential equation of second order

Consider the equation $$ frac {d ^ 2y} {dx ^ 2} + frac1 {x} left ( frac {dy} {dx} right) ^ 2- frac {dy} {dx} = 0 $$ Subject to boundary conditions $ y (0) = 0 , , y (1) = 1 $,

How do we tackle this problem? In particular, Equation Two rejects all attempts to solve it. Is the production method the only approach, are there direct solutions? Does the substitution help or is it similar to some equations of Clairaut or Riccat or the Storm Liouville problems? Thanks in advance.

magento2 – Magento 2 Module Observer Sequence order and sales order event

We have two modules that trigger the same event: checkout_submit_all_after.But I have to give a preference for this, I tried to give sequence in module b, but it does not work. For Ex module A and module B triggers the same event, but module B triggers First, it's my request to trigger module A, and after module B, there's a way I can do this. And what are the events that are triggered when the order placed over cron jobs is placed by crons? .Please give me a solution for going forward.
Thank you

magento 2.1 – Mageento2 – New order e-mail for us

We have an extension that sends a new order email to our own private mailbox. What is different from those that customers receive.
We print these mails automatically on a receipt printer.

We use Magento 2.1.16.

However, not all orders are printed.
Canceled and sometimes regular orders will not be printed.

This extension is given up by its developer … so I have to figure it out myself.

Can someone look at this?

I think this file takes care of sending …. Observer / NewEmail.php

inlineTranslation = $ inlineTranslation;
$ this -> _ storeManager = $ storeManager;
$ this -> _ transportBuilder = $ transportBuilder;
$ this -> _ scopeConfig = $ scopeConfig;
$ this-> order = $ order;
$ this-> dataHelper = $ dataHelper;
$ this-> curHelper = $ curHelper;
$ this-> paymentHelper = $ paymentHelper;
$ this-> addressRenderer = $ addressRenderer;
$ this-> identityContainer = $ identityContainer;
}

/ **
* Private method for sending emails
* /
protected _sendEmail function ($ from, $ to, $ templateId, $ vars, $ store, $ area =  Magento  Framework  App  Area :: AREA_FRONTEND) {
$ this-> inlineTranslation-> suspend ();
$ this -> _ transportBuilder
-> setTemplateIdentifier ($ templateId)
-> setTemplateOptions ([
                    'area' => $area,
                    'store' => $store->getId()
                ])
-> setTemplateVars ($ vars)
-> setFrom ($ from)
-> addTo ($ to['email'], $ to['name']);
$ transport = $ this -> _ transportBuilder-> getTransport ();
$ transport-> sendMessage ();

$ this-> inlineTranslation-> resume ();

return true;
}

/ **
* Received payment info block as HTML
*
* @param order $ order
* @return string
* /
public function getPaymentHtml ($ order)
{
return $ this-> paymentHelper-> getInfoBlockHtml (
$ order-> getPayment (),
$ this-> identityContainer-> getStore () -> getStoreId ()
);
}

/ **
* @param order $ order
* @return string | zero
* /
public function getFormattedShippingAddress ($ order)
{
Return $ order-> getIsVirtual ()
? zero
: $ this-> addressRenderer-> format ($ order-> getShippingAddress (), & # 39; html & # 39;);
}

/ **
* @param order $ order
* @return string | zero
* /
public function getFormattedBillingAddress ($ order)
{
return $ this-> addressRenderer-> format ($ order-> getBillingAddress (), & # 39; html & # 39;);
}

/ **
*
* @param  Magento  Framework  Event  Observer $ observer
* @return $ this
* /
public function execute ( Magento  Framework  Event  Observer $ observer) {
$ isNewOrderEnable = $ this-> dataHelper-> getConfigVal (& # 39; adminemailsection / generalgroup / enabled & # 39;);

// Check if the email notification for new orders is enabled
if ($ isNewOrderEnable) {

// Set current order details
$ orderIds = $ observer-> getEvent () -> getOrderIds ();
$ order = $ this-> order-> load ($ orderIds);
$ orderIncId = $ order-> getIncrementId ();

// set e-mail configuration options
$ store = $ this -> _ storeManager-> getStore ();
$ from = $ this-> dataHelper-> getConfigVal (& # 39; adminemailssection / generalgroup / send_from & # 39;);
$ to = [
                'email' => $this->dataHelper->getConfigVal('adminemailssection/generalgroup/email'),
                'name' => 'Administrator'
            ];
$ templateId = $ this-> dataHelper-> getConfigVal (& # 39; adminemailssection / generalgroup / template & # 39;);

// start set template vars
$ transport = [
                'order' => $order,
                'billing' => $order->getBillingAddress(),
                'payment_html' => $this->getPaymentHtml($order),
                'store' => $order->getStore(),
                'formattedShippingAddress' => $this->getFormattedShippingAddress($order),
                'formattedBillingAddress' => $this->getFormattedBillingAddress($order),
            ];

$ transport = new  Magento  Framework  DataObject ($ transport);
$ vars = $ transport-> getData ();

// Call e-mail function with the necessary parameters
$ this -> _ sendEmail ($ from, $ to, $ templateId, $ vars, $ store);
}
}
}

Microsoft Excel – Determine the order of "updates" when using "Update All"

Is there a specific order in which tables and connections in Excel are updated when using? All refresh on the Data tab.

For example:

If I have a table over one ODBC or SQL Server, and from this table, I create a subset of data that then feeds different pivot tables.

When I use All refresh, will Excel understand that the odbc needs to be updated first?

Is there a standard logic or order for using Update All?

Javascript – Error importing web components in the "wrong" order

I've created a small library of several HTML web components for corporate use. Some components are interdependent, so I also import them. Until recently, I did not have any serious issues with this approach, but now loading an HTML page that uses such interdependent components displays an error message.

I have worked out the problem with a small example. Please check the following three files.

test-container.js

Import {TestItem} from "./test-item";

Export class TestContainer extends HTMLElement {
Constructor() {
Super();

this.attachShadow ({mode: "open"}). innerHTML = `
      
      
`; } connectedCallback () { if (! this.isConnected) { Return; } for (const node of this.childnodes) { if (node ​​instance of TestItem) { // ... } } } } customElements.define ("test-container", TestContainer);

test-item.js

Import {TestContainer} from "./test-container";

Export class TestItem extends HTMLElement {
Constructor() {
Super();

this.attachShadow ({mode: "open"}). innerHTML = `
      
      
`; } } customElements.define ("test-item", TestItem);

index.html




  
  exam
  
  
  


  
    
  


This code seems to work well.

However, if I change the two

web analytics