Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category in homepage with products. i want created this types Please check screens-short :- https://prnt.sc/r5b2q5 Showing this category :- Above category showing this position :- i want to custom getting all category above the top seller products. and i want to the category showing homepage enable/disable attributes category attributes…

Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category in homepage with products. i want created this types Please check screens-short :- https://prnt.sc/r5b2q5 Showing this category :- Above category showing this position :- i want to custom getting all category above the top seller products. and i want to the category showing homepage enable/disable attributes category attributes…

A custom route to an entity form will not pass the entity

I want a custom route to the normal user form. So, I’ve added an entry to the routing file that directs my custom route to the canonical form of the User entities: my_profile_form: path: ‘/user/{user}/my-profile-form’ defaults: _form: ‘\Drupal\user\ProfileForm’ _title: ‘My profile form’ requirements: _role: ‘administrator’ When I try to open /user/1/my-profile-form with my browser, I…

Multi-step webform hooks

I have built a multi-step webform which has some field on first page (checkboxes, selectboxes etc.). I tried to access $form_state on second page in MYTHEME_form_alter where is checked if $form[‘progress’][‘#current_page’] == ‘second_page’. When am I on second page I add custom element via $form variable $form[‘custom’] => [ ‘button_generate’ => [ ‘#type’ => ‘submit’,…

Magento 2 showing category in homepage with products using enable/disable attributes

How to get the all custom category in homepage with products. i want created this types Please check screens-short :- https://prnt.sc/r5b2q5 Showing this category :- Above category showing this position :- i want to custom getting all category above the top seller products. and i want to the category showing homepage enable/disable attributes category attributes…

Magento 2 Programatically created customer login is not working

I have created customer using following links: https://meetanshi.com/blog/create-customers-programmatically-in-magento-2/ OR How to add a customer programmatically in Magento 2? The customer is created and I can see it in the customers list using admin account. But I am unable to login into the storefront using the provided credentials which I used during programatically creation process. When…