Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Addon [Soft-Solid] - Insert Custom Code Into Store

 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 606 posts

Posted 17 April 2019 - 06:14 PM #1

Hello,

 

We present a new extension to CS-Cart and Multi-Vendor allows adding html of js code to store. In case of multiple storefronts, code can be placed separately for each store.

We start from installing an extension:

 

ss_inject_code_1_en.png?1554401784233

 

In tab "Website" a new position was added, to manage custom code:

 

ss_inject_code_2_en.png?1554401784233

 

 

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:

 

ss_inject_code_new1_en.png?1554467864449

 

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":

 

ss_inject_code_new2_en.png?1554467864449

 

If we want to place code into multiple pages, we can clone it:

 

ss_inject_code_new3_en.png?1554470736729

 

Code shown in example changes the color of mobile browser bar, according to Google rules:

 

Screenshot_2019-04-05-14-54-52.png?15544

 

Features:

  • 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.

 


Team of SoftSolid
cs-cart.pl