In Magento 2.4.4 EE we have staging feature which we can schedule some changes on products If product is scheduled for change it creates a new row on catalog_product_entity so for example for product id 100 we have 2 rows row_id 100 and row_id 101 how to retrieve the two […]
Magento1
I’ve been working on a module to change Magento Thumbnails in the Cart, Minicart and Checkout Order Summary. The only place I cannot get this to work is the Checkout Order Summary. There is a real lack of documentation on how to modify the image thumbnails there. So far, I […]
How to Create Product using graphql is there any mutation for this I couldn’t find a single tutorial nor mutation in core module-catalog-graph-ql.
I wanted to duplicate the “page.main.title” element on the product pages, so I added this block to my catalog_product_view.ml <block class="MagentoThemeBlockHtmlTitle" name="title.additional2" template="Magento_Theme::html/title.phtml"> <arguments> <argument name="css_class" xsi:type="string">product</argument> <argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument> </arguments> </block> I want to add this block because I moved “page.main.title” elsewhere on the page. <move element="page.main.title" destination="page.top" before="breadcrumbs" […]
How do we add custom sorts like Most View and Best Selling products in the API of Product List in Magento 2? I need to add the most views and best-selling products in /V1/products to this API using search criteria. eg: http://domain.com/index.php/rest/V1/products?searchCriteria[page_size]=10&searchCriteria[sortOrders][0][field]=most-view&searchCriteria[sortOrders][0][direction]=ASC any help on this?
What is this request and how to do it? And this is in the admin section. I’m trying to understand the request and understand how to do it but it’s not working yet.
$fieldset->addField( 'image', 'image', [ 'name' => 'image[]', 'multiple' => true, 'label' => __('Customer Images'), 'title' => __('Customer Images'), ] );
registration form shows one of the field as required, but it is not required, how remove the asterisk.
I want to make one of customer attributes not required I run the below code, but it doesn’t work public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context) { $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); $customerSetup->addAttribute( MagentoCustomerModelCustomer::ENTITY, 'trade_license', [ 'required' => false ] ); }