6

Magento intentionally hid these values in Enterprise Edition (see vendor/magento/module-catalog-staging/etc/adminhtml/di.xml). <type name="Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav"> <arguments> <argument name="attributesToEliminate" xsi:type="array"> <item name="news_from_date" xsi:type="string"&...


6

[This may not be a good way to log the Rest API] We should try with Plugin - Magento\Webapi\Controller\Rest::dispatch(): app/code/Vendor/WebApiLog/etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> ...


6

Yes, you can. Here is step-by-step manual: https://github.com/Smile-SA/elasticsuite/wiki


5

Magento 2 Open Source (CE) does not provide integration with elasticsearch by default. We have following options: Create your own Custom extension (Can be explained separately) Use following Free Extensions https://github.com/Smile-SA/elasticsuite/ https://marketplace.magento.com/folio3ecommerce-magento2-module-bingo.html Issues we can face while creating ...


4

You have a couple of options. The simplest is using the Text content type to include the widget using the standard TinyMCE widget feature. Your other option is to create a new content type which wraps your widget in a Page Builder content type. Our Products content type does exactly this, it's just an interface for the Catalog Product List widget. products....


4

The value of 'used_in_forms' should be ['adminhtml_customer', 'customer_account_edit']. If you don't want this attribute to show for a customer, you should set visible=false. You can update your InstallData like below: $customerSetup->removeAttribute(Customer::ENTITY, 'customer_chargify_id'); $customerSetup->addAttribute(Customer::ENTITY, '...


3

Answering my own question: After a fortnight, I now have a passing build... I've identified and fixed four problems: One failed test is fixed by applying the patch for this issue which has been applied to the develop branch but not to the 2.1 release https://github.com/magento/magento2/issues/7746 The majority of other issues were initally being ...


3

app/design/frontend/vendor/themename/Magento_Catalog/templates/product/list.phtml <?php //echo $block->getProductPrice($_product) ?> comment this line... Note : if you not find file above path than copy from vendor/magento/module-catalog/view/frontend/templates/product/list.phtml to app/design/frontend/vendor/themename/Magento_Catalog/...


3

You need to configure the secondary DB and check the configurations to then run this command below using your parameters, you can check the step-by-step on Magento DevDocs Multidatabases. bin/magento setup:db-schema:split-sales --host="localhost" --dbname="magento_sales" --username="magento_sales" --password="magento_sales"


2

Just Solved issue using pass parent class construct dependency. Just Pass ParentObject construct dependency inside createBlock() method and its working fine for getting html content of template file. public function getSectionData() { $totals = $this->getQuote()->getTotals(); //for rewards point $rewards = $this->...


2

Change function as below in vendor/magento/module-checkout/CustomerData/Cart.php public function getSectionData() { $totals = $this->getQuote()->getTotals(); $rewards = $this->getLayout()->createBlock( 'Magento\Reward\Block\Tooltip\Checkout','reward.tooltip.checkout' ); $rewards->setTemplate('...


2

Yes, we can integrate elasticsearch with Magento2 CE and you need to create a custom module for this. To make it work, we need to do the following steps. 1) Install and start the elasticsearch server program, in your magento server. 2) Use a client program, to communicate between the elasticsearch server and your programming language, which is PHP. ...


2

The Orders tab displays a chart of all orders during the specified time period. For example: On 6/19/18 there where 30 orders placed and 90 on 6/20/18 Below the chart is the total revenue, tax, shipping, and quantity ordered. The Amounts tab displays a chart of all order amounts during the specified time period. For example: On 6/19/18 there where orders ...


2

I am using Magento Enterprise Edition 2.2.4, You need to make YES for Show on Storefront and assign values for Forms to Use In


2

As per the Magento EE documentation, they support Elasticsearch versions 1.4, 1.7, and 2.4. The default version is 1.7. But I tried to inegrate latest version of elasticsearch (Elasticsearch 6.0).I have installed elasticsearch 2.4 and working fine now.


1

Magento devdoc suggests to use rsync to move media files. https://devdocs.magento.com/guides/v2.3/cloud/live/stage-prod-migrate.html To migrate static files from your local machine: Use the rsync command to copy the pub/media directory from your local Magento server to staging or production: rsync -azvP local_machine/pub/media/ <environment_ssh_link@...


1

If you see in file magento/module-customer-balance/Model/Balance/History.php line no: 154. You need to set setBalanceModel and setHistoryAction like this require __DIR__ . '/app/bootstrap.php'; $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); $obj = $bootstrap->getObjectManager(); $state = $obj->get('Magento\Framework\App\State'); $...


1

Step 1: Create field (customer attribute) using InstallData.php <?php namespace <vendor_name>\<module>\Setup; use Magento\Framework\Module\Setup\Migration; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleContextInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; /** * @codeCoverageIgnore */ ...


1

I've found how to find the detail error description instead show this message : Exception message: Asymmetric transaction rollback. go to this file in the magento vendor folder and open this Class : <magento_root>\vendor\magento\framework\DB\Adapter\Pdo\Mysql.php then searching this function rollback() and comment this line code : ... throw new ...


1

I'm waiting 5 days for an answer, finally I found a shortcut. So I think better to post it here. This will helpful to developer who needs to customize the register post. Register page show Customer attribute as follows, $customerAttributes = $block->getChildBlock('customer_form_user_attributes'); if ($customerAttributes): $customerAttributes->...


1

I was able to accomplish something similar (although, not on Magento Commerce Cloud) by creating a plugin for the method: Magento\Store\Model\StoreResolver::getCurrentStoreId() In my case, if no store is set (new visitor), I am choosing the store to show based on custom logic with $this->getStore(). public function aroundGetCurrentStoreId(\Magento\...


1

Connect you via SSH in the root of you Magento The method is : composer require <product> <version> --no-update, so according to your version you have to run this: composer require magento/product-enterprise-edition 2.2.3 --no-update rm -rf /generated rm -rf /var/cache/ rm -rf /var/page_cache/ php bin/magento setup:upgrade php bin/magento ...


1

To Fully understand Customer attribute Segment option,you need to know about this feature: As per definition of Customer Segment by Magento EE: Customer segments allow you to dynamically display content and promotions to specific customers, based on properties such as customer address, order history, shopping cart contents, and so on. You can ...


1

Could you please try the following code. please go to root installation folder and fire following command magento module:disable Magento_DataMigrationTool Than clear cache , do re indexing and provide proper permission Let me know if you have still any issue


1

I did get this to work. I also found a module someone else made that exports the configurable_variations. I also found that when exporting full catalog it was leaving that column out all together, but exporting in smaller batches it would work better. tonight I will also add a sample csv here and link to module.


1

Customer Segmentation, Targeted Promotions & Merchandising Segment customers into groups and optimize marketing initiatives by identifying specific customer groups using specific characteristics (address, location, sex, etc.) and/or value (purchase history, on-site browsing, etc.). Advanced segmentation capabilities include the ability to identify ...


1

It is possible that one of the staging cron jobs is "freezed" (in "running" status in cron_schedule table), most likely it is 'staging_apply_version' job: cron checks the task and since it's in running state it does not start nor is it set to 'failed' because it is considered to be in progress but in fact it is stuck and cannot get completed. Try to remove ...


1

You can use the following FOSS module: https://github.com/vladflonta/magento2-webapi-log


1

is_used_for_customer_segment is used only in Magento EE. When is_used_for_customer_segment is true they display inside customer segements select option backend otherwise its not display in customer segementation section. Customer segmentation is useful feature for magento enterprise for marketing perspective. Customer segmentation is the simply ...


1

You have to override checkout module Customerdata/Cart.php file getSectionData() function in your custom module. Pass new argument inside function return value, public function getSectionData() { $totals = $this->getQuote()->getTotals(); $rewards = $this->layout->createBlock('Magento\Reward\Block\Tooltip\Checkout','reward.tooltip....


Only top voted, non community-wiki answers of a minimum length are eligible