I am working on a simple custom form for my site where employees can perform internal orders between stores. The form and results div is as follows: <form method="post" action="" id="myForm"> <?php $store = $_GET['store']; ?> <!-- Store input --> <label for="store">Store: </label> <input name="store" type="hidden" id="store" value="<?php echo $store; […]
Magento
I am trying to sync missing order in google analytics but I don’t now what should I passed in below code $result['orders'][] = [ 'id' => $order->getIncrementId(), 'affiliation' => $this->escapeJsQuote($this->_storeManager->getStore()->getFrontendName()), 'revenue' => $order->getGrandTotal(), 'tax' => $order->getTaxAmount(), 'shipping' => $order->getShippingAmount(), ];
I’m working on an integration that reads data from a Magento2 database and the final aim is to send order data, products and the relation between products (line_item) to a third party service via API. The database has thousands of orders, but none of them has relation for quote and […]
I’ve the problem that in search results the products are not listed properly. In the search suggester (we use Amasty Extension) everything is fine when i search for term „Warm up“. The most relevant products are listed first. https://www.kunert.de However when i hit enter and go for the full result […]
I was wondering if magento was offering a CRUD CLI like Symfony would do. You get a prompt that ask you your entity fields and once your entered them all then the entity and it’s related repository is generated automatically. Does magento offers some kind of similar functionnality ? Or […]
There is no customer tax class in magento 2.4.2 Stores > Tax Rule. How to enable the tax classes. The configuration inside the Stores > Configuration > Sales > Tax
By default Magento implement Mview/indexer for some grids for example customer grid. But for sale grids (sale, invoice, credit memo, shipment) Magento use a cron job to insert/update new data (if async grid were enabled). So why is there such difference? Magento decides the solution based on which conditions? Thanks […]
I’m trying to get the checkout sending methods on another page in magento 2, and I saw that it would be possible to do it using magento 2 api consumption. However, magento 2 documentation is very bad, an api request using ajax?