WPD Creating a Configuration pt 2

You are here:
Estimated reading time: 4 min
In this article

Listed below are the other sections within a Configuration, that you need to set up. You can find the previous sections here.

  1. Prices Section: The Pricing rules section enables the admin user to charge an extra for the customization depending on the rules defined. A pricing rule has 5 components:
    • The rule parameter: allows you to set which condition should be checked. The parameters currently included in the tool are:
      • Number of characters in text (NB Chars in text): this has to do with the number of alphabets or numeric figures in a text.
      • Number of lines in text (NB Lines in text): this has to do with the lines of a text.
      • Number of images (NB Images): this rule is involved with the amount of images.
      • Number of vectors (NB Vectors): this rule involves the number of vectors.
    • The rule operator: allows you to define the kind of comparison to perform against the rule value. The operators included in the tool are:
      • Is less than.
      • Is less or equals to.
      • Equals.
      • More than.
      • More or equal to.
    • The rule value to check against.
    • The Price: this allows you to define the price or extra price to add to the product base price if the rule is verified.
    • The scope: allows you to set the rule scope. 2 scopes are currently supported:
      • Per item: the extra will be added for each design element which matches the rule defined.
      • On Whole design: the extra will be added only once even if more than one element matches the rule defined.
        Please also note that the administrator has the ability to combine simple rules to create a complex one.
        Click on the Add rule group to set a whole new group pricing rules.
    • Select the templates page if you want your users to assign multiple templates to a custom product with this configuration.
    • Output Settings Section: The output settings sections allows you to configure the output files you need the product designer to generate once the customer has completed his design. To learn more about output management click here.
      • Output width (px): This setting allows you to configure the output files dimensions. So if you want to generate high definition files, just enter the file width in pixels. The height is determined automatically using the defined width. If the output width is empty, the output will have the canvas dimensions.
      • Output loop delay (milliseconds): Time to go through each part when trying to generate the output files especially if during the generation process, you get the message “The edition area is empty. You can increase this setting when the output contains HD files or when the output is HD.
      • The Output Format option allows you to choose:
        • PNG: With this format you define the output width(px), the output loop delay (milliseconds), and whether or not to zip the output file.
        • JPG: With this format you define the output width(px), the output loop delay (milliseconds), the CMYK Conversion is an option used by the printer to slightly change the colour of the output, and whether or not to zip the output file.
        • SVG: With this format you define the output width(px), the output loop delay (milliseconds), and whether or not to zip the output file.
        • Combining PDF with any of the formats mentioned above requires a different set of options to choose from, which are as follows :
          • Define the output loop delay (milliseconds).
          • If you choose the predefined format, all you have to do is to select a format from the list of dimensions available.
          • When you select the custom format, you have to define the output format, dimensions (width,weight, and unit).
          • Next, define the vertical and horizontal margins of the PDF.
          • Define where you want to place the crop marks on the PDF, by representing them by the vertical and horizontal lines called ‘Center Abscissa’ and ‘Center Coordinate’, then define the width and height and finally the areas by the symbols provided.
          • The bleed,trim & safe zone option helps you define the space between the top & down,left & right borders of the document, also the width and the color of the borders.
          • The PDF Resolution option helps in defining the quality of your PDF.
          • The PDF Orientation gives you the choice between a portrait our landscape format for your PDF output.
          • Finally you can zip or not your output file and the publish it.
        • Zip output folder: Allows you to get all the output files in a zip file.
        • Zip output name: Here you can name zip output.
        • CMYK conversion (Requires ImageMagick installed on your server) : The CMYK color model (process color, four color) is a subtractive color model, used in color printing, and is also used to describe the printing process itself. Allows you to set whether or not you need the output to be CMYK valid.
    • Click on the Publish button to save your configuration.



Please note that

  • the canvas dimensions can be set globally in the plugin general settings (so they will be active on every product) or they can be set per product on the product creation/edition page.
    By default, the generated output file will have the canvas dimensions. But this behavior can be overwritten by setting the Output mininimum width in the output settings. That way, the output will have the width defined and the height will be determined proportionally to the canvas height.
  • When previewing, adding to cart or generating/downloading output, the plugin needs time to determine the optimal parameters based on the elements used by the customer (text, images, shapes…). Unfortunately, that time can’t be defined automatically. So you have to make sure that the Output loop delay parameter is set accordingly and that its value equals at least the output width plus 300. If during the generation, you get the error message “The edition area is empty”, make sure you increase the defined value by 500 until the issue is fixed.
  • To be able to send the generated data to the server, you have to make sure your server does not have limitations related to the amount of data which can be sent through a form.
Was this article helpful?
Dislike 0
Views: 12