How to create category attribute dropdown with Cms Block list programmatically in magento 2?

Magento 2, You can create a custom category attribute with a list of CMS Block in the dropdown field.

The module is simply residing in the app/code folder of Magento instance.

For example, We kept Package name as Rbj and Module name as CategoryAttribute.
You can keep any name for Packagename/Module name. In our demo, we have kept Packagename_Modulename as Rbj_CategoryAttribute. Continue reading “How to create category attribute dropdown with Cms Block list programmatically in magento 2?”

Difference between Void and Cancel an order of Magento?

Void doesn’t close the order. After Void from Order, Payments have to be refunded to Payment Gateway. Still Voiding will let you create the offline invoice later.

Cancel, Cancel Order means to close the order. In Order canceled you can’t order to be modified after the cancel order.