how to get quote item of the current quote? i have already get the quote i’ll share some code . $quote = $this->quoteFactory->create()->load(13); //echo "<pre>";print_r($collection->getData()); $shippingAddress = $quote->getShippingAddress(); //form data $firstname = $quote->getCustomerFirstname(); $lastname = $quote->getCustomerLastname(); $mail = $quote->getcustomer_email(); //shipping Address $city = $shippingAddress->getCity(); $address1 = $shippingAddress->getStreet(1); // Get the […]
Magento1
I have a requirement to show time picker to input hh:mm:ss for a user in a custom UI module in Magento 2 . It needs to allow to enter hours from 1 to 6, minutes from 0-59, same for seconds .. I don’t want to associate date with this ! […]
I am pulling files from 3rd party server using apis and generating pdf files. My code is some thing like this. I Will update the sample code to explain my approach. foreach ($fileData['dataDocuments']['items'] as $document) { //API Call $urlToGetData = $this->api->getDocumentById($identifier, $docId); $data = $this->api->getDataFromApi($urlToGetData); $decodeData = json_decode($data, true); $labelContent[] […]
I want to gather information about the Falcon eCommerce accelerator. Can anyone know how it works, how we can see a demo or reference website, and what the differences are between default Magento and this solution?
This looks like it has similar questions asked about it, but nothing recent, and I cant believe a platform the size of magento can’t handle this – unless I’m missing something obvious in my site configuration. We are a B2B website, we have about 4000 products, some regularly stocked, some […]
i have changed the checkout process into 4 steps Adress shipping payment methods and agreement summary and placeorder button everything is working fine accept the terms and condtion. i have put the vaidation that user has to check the box for agreement other wise he wont be able to move […]
I have Magento 2 installation with a lot of websites and one website has language which other websites don’t. When I execute setup:static-content:deploy it generates the language for all store views I have. It’s strange behavior, I think it should generate this language only for a particular website and store […]
I tried to override InvoiceSender (in /app/code/UFS/Sales/Model/Order/Email/Sender/InvoiceSender.php) but it doesn’t work and I don’t understand why. I added “‘created_at_formatted’ => $order->getCreatedAtFormatted(3)”. My di.xml looks like: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="MagentoSalesModelOrderEmailSender" type="UFSSalesModelOrderEmailSender" /> </config> My InvoiceSender.php looks like: <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt […]