Setup guide for Text Designer module (Prestashop)
This is done by setting up 3 product's features :
Your product is now setup !
The module use standard .ttf fonts files.
You can try to convert non TTF files to TTF using converters (like the ones on https://everythingfonts.com/), but always double check the looks of the font in the module.
To add or remove fonts, simply load or delete them on your FTP in /modules/cvtextdesigner/lib/jquery-configurateurvisuel/css/fonts/
Then call the update font list script at http://yourserver/modules/cvtextdesigner/lib/jquery-configurateurvisuel/css/fonts/fontsLib.php
Be sure to use fonts with a valid licence. |
A good source for free fonts is http://www.fontsquirrel.com/ |
Make sure the fonts you are using include your langage special characters (like accents) |
Translations are made like usual in your Translations tab of the Backoffice.
You need to select Installed modules, either core translations or theme translations.
There is an additionnal translation file for your language located in /modules/cvtextdesigner/lib/jquery-configurateurvisuel/i18n/
You need to add colors to the Text Designer product. To do so, add Prestashop's color attributes from the Combinations tab of the product edit page.
The price is calculated per square meter, based on the user's dimensions.
The m² price is defined in /modules/cvtextdesigner/lib/jquery-configurateurvisuel/js/static.json as :
"priceM2": "150", |
You can edit the price value here (150 in the above example), be sure to keep the " " and the ,
If some of your materials (like gold or mirror adhesives) are more expensive than the base materials, you can add an impact on the price per m² using Prestashop's attributes impact.
On the product edit page (in the backoffice), go tto the Combinations tab and enter the Product Combination Generator.
Add price impact on the colors of your choice : the impact will be added to the price m² value.
You can define a minimum price for products in static.json :
"pMin": "3.33", |
you can defined the minimum height for one line in static.json :
"heightMin": "3", |
and the maximum height for any number of lines:
"heightMax": "250", |
You can activate the stencil option by adding the sencil product feature to the product and set its value to ON
You can activate the price option by adding the price_factor product feature to the product and set its value to ON.
The factor is defined in static.json :
"pPercentage": "1.2", |