I try to change the shipping method list template, I need to add the Carrier Title at the beggining and to remove it from columns. I try to edit this file /public_html/app/design/frontend/theme/my_theme/Magento_Checkout/web/template/shipping-address/shipping-method-list.html But how I can call / add Carrier Title after foreach? I need to be the same like […]
Magento1
i am kinda new to magento interface. I am using lots of extensions in my store. I was wondering let me know if there are any side effects.Thanks in advance.
I have a magento extension giving a credit point to the customer and I added a custom extension giving a custom discount to the customer. The problem is that when i use the custom extension the credit point one is not adding to the grand total. My custom extension has […]
I have set mage: mage user for my project it’s working fine but whenever I am doing checkout then every time folder owner is getting changed to root: root for only var/cache/ & var/session/ folder. Due to this every time I am getting file permission error on the frontend. anyone […]
Magento 2.3 Admin > Sales > orders are not updating. I have to run cron:run in the terminal and than refresh the sales > orders page to view the new orders. While checking cron_schedule I found most of the jobs in missed or pending status and a few in running […]
I want to show my products out of stock. I have assigned a source in my products when product quantity is negative but it shows In stock. You can check the screenshot then you will get my query.
Is it possible to have a random sort when searching with repositories? Checked dev docs and unsure. Not found much elsewhere. https://devdocs.magento.com/guides/v2.3/extension-dev-guide/searching-with-repositories.html#sorting use MagentoFrameworkApiFilterBuilder; use MagentoFrameworkApiSearchCriteriaBuilder; use MagentoFrameworkApiSortOrder; use MagentoFrameworkApiSortOrderFactory; $this->searchCriteriaBuilder->addFilter(MessageInterface::STATUS, [Data::ENABLED], 'eq'); $randomSort = $this->sortOrderFactory ->create() ->setField(MessageInterface::SORT) ->setDirection(SortOrder::SORT_ASC); // random sort here $this->searchCriteriaBuilder->setSortOrders([$randomSort]); $searchCriteria = $this->searchCriteriaBuilder->create(); return $this->messageRepositoryInterface->getList($searchCriteria)->getItems();
As I don’t have implemented admin theme I have to override /vendor/magento/module-payment/view/adminhtml/templates/info/default.phtml file in my custom module. how can I write my layout file to call this file? I have copied default.html in my custom module