We always provide our best creative ideas at the highest level. Tell us about your project and we will make it work.
To explore the code of defualt featured module, let’s start with listing what files are used by the Featured module: Admin folder files: admin\controller\extension\module\featured.phpExplained at https://webocreation.com/exploring-the-code-of-default-featured-module/ admin\language\en-gb\extension\module\featured.phpExplained at https://webocreation.com/exploring-the-code-of-default-featured-module/ admin\view\template\extension\module\featured.tplExplained at https://webocreation.com/opencart-module-development-video-tutorial-introduction-and-table-of-contents/ Catalog folder files: catalog\controller\extension\module\featured.phpExplained at https://webocreation.com/catalog-controller-code-description-featured-module-front-end-opencart catalog\language\en-gb\extension\module\featured.phpExplained at https://webocreation.com/opencart-module-development-video-tutorial-introduction-and-table-of-contents/ catalog\view\theme\default\template\extension\module\featured.tplExplained at https://webocreation.com/opencart-module-development-video-tutorial-introduction-and-table-of-contents/ How to know which files are used by module? Always look to the URL. For Featured module, […]
Hi everyone, Namaste, Me Rupak Nepali. In our third video, we describe OpenCart files and folders and told you that the next video will be of OpenCart code flow but while making the PowerPoint we feel like first, we need to know about the database and global methods of OpenCart then it will be easier […]
Describing files and folders and OpenCart FrameworkHi everyone, Namaste. Namaste is the word used in our Country Nepal to greet someone. Me Rupak Nepali. In our second video, we install OpenCart, and is now up and running at our custom URL “webocreation.loc”. Today in our third video we are going to describe files and folders […]
Hi everyone! Me Rupak Nepali. I am very excited about the first video success – “Introduction and Table of Contents – OpenCart Development” and now this is the second video. In which I will install OpenCart 3.0.2.0 locally and set up a custom URL to work locally. To begin the installation process, first, download OpenCart. […]
To configure and show default featured module you need to login to the Admin dashboard, then follow the following steps: Admin >> Extensions (Left Menu) >> Extensions >> Choose ‘Modules’ from the select box. It will list modules Find the Featured Module Then check ff the Featured module is already installed or not, if not […]
While installing the OpenCart module if you found OpenCart error: Modification requires a unique ID code! then it means that either you are missing <code>ModuleUniqueName</code> or there is a conflict with another module unique name. If you are missing <code> code If you are missing <code> means, while writing ocmod.xml file you missed to write […]
Fatal error: Cannot use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Bool as Bool because ‘Bool’ is a special class When you update your PHP version and you can see the above issue while working in the Expression Engine. I just commented out the following at core\EllisLab\ExpressionEngine\Library\Parser\Conditional\Lexer.php the boolean and string annotations: use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Token; //use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Bool; use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Comment; use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Number; use EllisLab\ExpressionEngine\Library\Parser\Conditional\Token\Operator; […]
While working with one of the eCommerce websites I came up with a drupal error that shows a blank white page when I try to go to admin or /user but design and CSS are showing, only database contents are not showing. I searched many things but not able to find a solution and solve […]
Following is the error encounter after disabling the cache in DrupalThe website encountered an unexpected error. Please try again later.Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service “cache.backend.null”. Did you mean one of these: “cache.backend.apcu”, “cache.backend.php”, “cache.backend.memory”? in Drupal\Component\DependencyInjection\Container->get() (line 161 of core\lib\Drupal\Component\DependencyInjection\Container.php). Drupal\Component\DependencyInjection\Container->get(‘cache.backend.null’) Drupal\Core\Cache\CacheFactory->get(‘render’) call_user_func_array(Array, Array) Drupal\Component\DependencyInjection\Container->createService(Array, ‘cache.render’) Drupal\Component\DependencyInjection\Container->get(‘cache.render’, 1) Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Object) Drupal\Component\DependencyInjection\Container->createService(Array, ‘http_middleware.page_cache’) Drupal\Component\DependencyInjection\Container->get(‘http_middleware.page_cache’, 1) Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Object) […]
Drupal Console: [ERROR] Command “site:status”, is not a valid command name. First try/execute the drupal list command, where you will get a list of available command. If you don’t see the site:status then it means you have not installed the drupal, so Execute the drupal site:install command and again perform drupal list now hope you […]
OpenCart identifies existing modules automatically, simply by reading the catalog/controller/extension/module folder. Any modules existing in this folder will automatically be loaded as per the active modules for the pages on the front end. Let’s start to create our hello world module by creating the file at admin/controller/extension/module and named it helloworld.php. Then follow the following […]
Service ‘page_manager.variant_route_filter’ for consumer ‘router.no_access_checks’ does not implement The website encountered an unexpected error. Please try again later. Symfony\Component\DependencyInjection\Exception\LogicException: Service ‘page_manager.variant_route_filter’ for consumer ‘router.no_access_checks’ does not implement Drupal\Core\Routing\FilterInterface. in Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass() (line 164 of D:\xampp\htdocs\axway\corporate-8\web\core\lib\Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass.php). Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->processServiceCollectorPass(Array, ‘router.no_access_checks’, Object) (Line: 97) Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass->process(Object) (Line: 141) Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object) (Line: 757) Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1307) Drupal\Core\DrupalKernel->compileContainer() (Line: 884) Drupal\Core\DrupalKernel->initializeContainer() (Line: 466) Drupal\Core\DrupalKernel->boot() […]
The website encountered an unexpected error. Please try again later.</br></br><em class=”placeholder”>Symfony\Component\Routing\Exception\RouteNotFoundException</em>: Route "view.products_list.page_2" does not exist. in <em class=”placeholder”>Drupal\Core\Routing\RouteProvider->getRouteByName()</em> (line <em class=”placeholder”>190</em> of <em class=”placeholder”>core\lib\Drupal\Core\Routing\RouteProvider.php</em>). Solution:This is the exception thrown when a route does not exist but you are using it in your twig files or somewhere else. As in the above example find “view.products_list.page_2” in […]
Create a language file helloworld.php at “admin\language\en-gb\extension\module\“, here en-Gb is the English language folder but if your store is multi-language then you have to create helloworld.php in another folder also like at “admin\language\OTHER_LANGUAGE_FOLDER\extension\module\“. Now in helloworld.php, you will define variable that holds the text for that language. Starting defining a variable with $_[‘YOUR_VARIABLE_NAME’] and assign […]
I keep on getting this error logging at watchdog table in the database while loading front end or home page: %type: !message in %function (line %line of %file) Drupal error I spend around 20 min, keep on clicking the “Clear All Caches” button at Performance section. I checked the code and found the following: function watchdog_exception($type, […]