My blog post table contains a store_ids field, which stores store IDs as comma-separated for each blog. <filterSelect name="store_ids" provider="${ $.parentName }" component="Magento_Ui/js/form/element/ui-select" template="ui/grid/filters/elements/ui-select"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="filterOptions" xsi:type="boolean">true</item> <item name="levelsVisibility" xsi:type="number">1</item> </item> </argument> <settings> <options class="MageplazaBlogUiComponentListingColumnStoreStoreViewOptions"/> <caption translate="true">All Store Views</caption> <label translate="true">Store View</label> <dataScope>store_ids</dataScope> <imports> […]
Magento
$this->addColumn( 'customer_price', [ 'header' => __('Customer Price'), 'type' => 'number', 'currency_code' => $store->getBaseCurrency()->getCode(), //'value'=> 10, 'index' => 'customer_price', 'header_css_class' => 'col-customer-price', 'column_css_class' => 'col-customer-price', 'editable' => true, 'edit_only' => true, 'filter' => false, 'renderer' => 'BlissPricePerCustomerBlockAdminhtmlCatalogProductGridColumnRendererCustomerPriceRenderer' ] ); $this->addColumn( 'customer_special_price', [ 'header' => __('Customer Special Price'), 'type' => 'number', 'currency_code' […]
I am using Live Search in my project, and the configuration has been completed. Live Search is now working perfectly on the site. However, I need to update the data when syncing the product feed using the command: bin/magento saas:resync --feed products For example, I want to post my custom […]
I would like to set billing and shipping address from my custom page (only for guest customers).My checkout page has been changed and overrided and the shipping and payment steps are changed(no longer /#shipment and /#payment URls : only /checkout). I have already created my form and my controller under […]
What would be the steps to safely downgrade the database of an Adobe Commerce project to Open Source?
A while ago I successfully hid the checkmo payment method from frontend only by setting the variable canUseCheckout to false via preference: -- V/M/etc/di.xml <preference for="MagentoOfflinePaymentsModelCheckmo" type="VMModelCheckmo" /> -- V/M/Model/Checkmo.php class Checkmo extends MagentoOfflinePaymentsModelCheckmo { protected $_canUseInternal = true; protected $_canUseCheckout = false; } This has always worked fine until […]
I have created custom product widget and it was working fine in 2.4.6 and I recently upgraded the version to 2.4.7-p3 and page size stopped working. Working code without custom attribute release_date: $collection->addAttributeToSelect('*'); $collection->addStoreFilter(); $collection->addAttributeToSort('release_date', 'desc'); $collection->setPageSize($this->getPageSize())->setCurPage($this->getRequest()->getParam($this->getData('page_var_name'), 1)); But when I adding a custom attribute filter release_date then page size […]
<?php /** * Taxcloud_Magento2 * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * * @package […]
I am using this endpoint : http://mage.local/rest/V1/carts/3747/items and this is the body: { "cartItem": { "sku": "8717752030514", "qty": 1, "quote_id": "3747" } } I have checked the above associated product have the in stock, also have quantity. But when I do this I am getting this : Product you are […]