Post by webocreation.com » Sat Aug 03, 2019 1:44 am

If you are using VSCode then "Opencart Code snippets" visual studio code extension can be helpful for the developer.

https://marketplace.visualstudio.com/it ... ocsnippets

All snippets start with oc. Some of the snippets are:

PHP page supported snippets:
occ : It creates a new Controller class
ocm : It creates a new Method or function
occm : It creates new starter Model class
ocl : It creates new variables for language files
ocprf : It creates print_r with pre

Twig page supported snippets:
oct : It creates starting template layouts in twig files
octfor : It creates for loop in twig files
octif : It creates if statement in twig files
ocbtn : It creates button markup
ocimg : It creates image markup
ocbc : It creates breadcrumbs loop in twig files

OCMOD XML page supported snippets:
ocmod : It creates OCMOD XML code boilerplate
ocmodf : It creates OCMOD XML code boilerplate for files only

More at
https://webocreation.com/blog/opencart- ... xtensions/

Let us know if need to add any other

Thanks

Opencart 4 book for developers
Opencart 4 User Manual Book
Blog free tips and tricks
Free extensions
OpenCart Tutorials
OpenCart Tutorials Youtube Video for developers


User avatar
New member

Posts

Joined
Fri Feb 02, 2018 11:51 pm
Who is online

Users browsing this forum: No registered users and 2 guests