Jump to content

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

How To Compose Core.js File? Rate Topic   - - - - -

 
  • radaman
  • Junior Member
  • Members
  • Join Date: 10-Jun 09
  • 9 posts

Posted 10 January 2020 - 01:55 PM #1

Hello guys,
since new version of CS has already composed core.js file, I would like to ask you how to make changes in it? I founded the relevant code is contained in directory src/core/index.js but no idea how to generate the core.js file with desired changes. Thank you for your tips.  



 
  • radaman
  • Junior Member
  • Members
  • Join Date: 10-Jun 09
  • 9 posts

Posted 10 January 2020 - 02:01 PM #2

Example CS 4.11.2:
 

Annotation-2020-01-10-145851.png



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1655 posts

Posted 11 January 2020 - 11:20 AM #3

Hello

 

We use it https://beautifier.io/ and make changes and then save it in a decoded form.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl | marketplace | Multi-Vendor/CS-Cart Development | Dedicated developers

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22839 posts

Posted 13 January 2020 - 05:51 AM #4

Hello guys,
since new version of CS has already composed core.js file, I would like to ask you how to make changes in it? I founded the relevant code is contained in directory src/core/index.js but no idea how to generate the core.js file with desired changes. Thank you for your tips.  

 

We posted a post in the Russian bug tracker about it. They promised to create instruction how to build core.js file soon


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)


 
  • radaman
  • Junior Member
  • Members
  • Join Date: 10-Jun 09
  • 9 posts

Posted 13 January 2020 - 05:54 AM #5

We posted a post in the Russian bug tracker about it. They promised to create instruction how to build core.js file soon

OK, keep us please in touch.



 
  • madanps
  • Newbie
  • Trial users
  • Join Date: 23-Jun 21
  • 11 posts

Posted 22 September 2021 - 07:49 AM #6

We posted a post in the Russian bug tracker about it. They promised to create instruction how to build core.js file soon

Please update me on this.

I needed instruction on how to build core js file with my changes.



 
  • harmsmitsdev
  • Senior Member
  • Members
  • Join Date: 22-Feb 20
  • 237 posts

Posted 22 September 2021 - 09:10 AM #7

You will need to install NPM, then you just execute the following in the 'js/core' folder.

npm install
npm run prod

Perhaps read up on webpack / nodjes / npm.


Best Brands Support - We empower your business!

info@bestbrands.eu


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22839 posts

Posted 22 September 2021 - 01:23 PM #8

Please update me on this.

I needed instruction on how to build core js file with my changes.

 

No, we still did not receive official answer


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)