We start from installing an extension:
In tab "Website" a new position was added, to manage custom code:
When adding new code, we can choose the place where is should be placed. From list "Place of insertion" we choose a hook where our code should be injected:
We can also define pages, where our code should appear. Controller can be selected from pre-made list "Controller" or you can type your own into "Custom controller":
If we want to place code into multiple pages, we can clone it:
Code shown in example changes the color of mobile browser bar, according to Google rules:
- no core file changes
- Compatibility CS-Cart version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x, 4.8.x, 4.9.x
- Compatibility Multi-Vendor version 4.0.x, 4.1.x, 4.2.x, 4.3.x, 4.4.x, 4.5.x, 4.6.x, 4.7.x, 4.8.x, 4.9.x
Please, do not hesitate contact us if you have any additional questions.
Link to addon
See our other addons in Marketplace.