Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 964 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 964 Bytes

CSV to Features

This script is a utility to help in updating text content of to the features on the pricing page. Download a CSV copy.

Using this script

Clone the repo

git clone [email protected]:C-Mejlak/csv-to-features.git

Install dependencies

npm install

Running the script

node main.js <input-path> <output-path>

Example let's say your CSV file is named features.csv. And it is located in the Dowloads directory. And you want save it as features.php in the Downloads.

node main.js ~/Downloads/features.csv ~/Downloads/features.php

Copy file content

pbcopy < ~/Downloads/features.php

Open the file web/app/themes/klicktipp/resources/assets/data/new-products-features.php and replace all content with what you've just copied.