Linux
Magento 2 :: How to setup Cron Job
Setup Cron In Local System. 1. Run the following command 2. Add the following command using terminal. Add Cron Jobs in Magento Custom Module. 1.Create crontab.xml 2.Create Taskname.php File Path: File: app/code/Namespace/Module/Cron/Taskname.php
Magento2
Magento 2: Remove upsell products or move upsell products
1. If you want to remove the upsell products from product details page. Open Your theme catalog_product_view.xml and add the following code. File location: app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_product_view.xml 2. Add upsell product block under Tab section.
Magento2
Magento 2 :: Call phtml page in cms page
The template file would be : app/design/frontend/Namespace/theme/Magento_Theme/templates/your_folder_name/file_name.phtml
Magento2
Magento2 : Product Collection
Get Award winning product where award winning is a custom attribute. Full page code of Data helper file