Situation: I am running some free trials of Magento 2 and have limited HD space on the VPS. For this reason to cut down on HD space I want to have Magento symlink the files in default or production mode. I have noticed that a default Magento 2…
I need add a tab tabs of sales order.
I think the tabs are defined in sales_order_view but I create a module in Vendor/ModuleName/view/adminhtml/layout/sales_order_view.xml and I put this:
I am stuck with a crappy vendor whose extensions have lot of bugs.
I want to disable all the extensions from that vendor for sometime, without deleting the inside settings, to check if some other problems are caused by this extension or not.
How can…
I want to display out of stock products at the end of the listing page.
I have followed the link here, getting error: Exception #0 (Zend_Db_Select_Exception): You cannot define a correlation name '_inventory_table' more than once
How can I do?
I am getting a 50 second server response time for a category page.
When processing, the following is shown in top:
4312 www-data 20 0 488280 146704 41816 R 99.7 1.8 1:11.54 php-fpm7.0
I have x-debug enabled with php7.0-fpm and…
I have installed Magento 2.1.0 successfully and also created many modules.
Suddenly after every php bin/magento setup:upgrade command , its not generating static contents.
The problem is after every setup:upgrade needs to have static content deploy…
When I open my .co.uk website, it says a lot of stuff in Dutch from the pack I installed. I want my German website to be German, Dutch to be Dutch and English to be English.
Why it is not working?
How can I fix this?
I don't know from where to…
In a ko template (abc.html) I have the following
.
I made sure that requirejs-config.js loaded the correct config
'a_script' : 'namespace/js/a_script'
and that "a_script.js" file exists. At runtime,…
Lets asume that I have code like this:
$searchCriteria = $this->searchCriteriaBuilder
->addFilter('increment_id', $incrementId, 'eq')
->create();
$orderList = $this->orderRepository
->getList($searchCriteria);
Is it possible to see SQL…
Does the Magento 2 REST API support updating a single customer address?
This endpoint is incomplete: customerAddressRepositoryV1
GET /V1/customers/addresses/{addressId}
DELETE /V1/addresses/{addressId}
This endpoint allows adding/updating of…
I need to get the customer email in homepage in a script.
Googling around I find mentions of window.customerData variable, but is always undefined (perhaps removed in latest versions?)
So at first I tried this:
require([
…
I have added custom field-set to product edit page and trying to upload multiple (more than 8) images.
To add custom field-set I have added layout file in my custom module -
/view/adminhtml/layout/catalog_product_new.xml
I want to get product collection by category id on phtml file. For that I used below code but it's not working.
$collection = $this->productFactory->create()
->getCollection()
->addAttributeToSelect('*')
->addCategoriesFilter(['eq' => 2]);
I also…