CdKeys manager - groups


CdKeys manager is a special menu section that or module to sell cdkeys creates in PrestaShop's back office menu. These menu items are created during module installation, and you can see these new menu items on screenshot below: 

menu manager cdkeys prestashop

  1. Groups
    Cdkeys that you sell can be grouped. For example - you sell digital licenses for software: Windows XP, Windows 7, Windows 10. Each software must have own license keys (because license for Windows XP will not work in Windows 10 etc.). Thanks to "groups" feature you can group your cdkeys and decide what cdkey will be delivered to customer depending on purchased product (when someone will purchase "Windows XP" - module will get one cdkey from corresponding group and deliver it to customer).

    This section shows all groups of cdkeys available in your shop, and of course you can create here new groups and edit existing group settings. To add new group, just hit the "add new" button and fill out configuration form.
    cdkeys add group
    The configuration form of group contains fields:

    • Internal Name
      It's a name of group for your eye only. Its for back office purposes to distinct group of cdkeys on list of groups.
    • Invoice name
      Is a name  of group that will be visible for customer on invoice (if option to include cdkey to invoice will be active). "Invoice name" value you will type here will appear near key on invoice, something like: Invoice name: XXXX-XXXX-XXXX-XXXX
    • Product:
      Is a Product from your shop that you want to associate with this group of cdkeys. When someone will purchase this product - module will get one cdkey from this group and send it to customer. Search there for product and just select it from hint window, as on screenshot below:
      group cdkey - product association
    • For specific combination

      Turn this option on if you want to send cdkey associated with this group only if customer will order specific combination of product. Option - when active - will show "combination" menu item where you can select combination. Module will send cdkey to customer from this group of cdkeys if customer will place an order for this specific combination. [ see screenshot ]

    • How many keys to deliver?

      This field decides how many cdkeys module will deliver to customer after purchase of 1 qantity of this product

    • Sync stock

      Option when active will update stock of product (or combination). It will make product's stock equal to the number of codes in database.

      Module updates the stock immediately, so if you will activate this option the stock of product (or combination) associated with this group of cdkeys will be updated.
      If you want to manually update the stock just save settings for this group with active option "sync stock"

       

    • Email template

      Select email template file. Module will use this email template to deliver cdkey to customer. Each group of cdkeys can be associated with own unique email template. You can manage email templates that module has with tool "email templates manager" - just hit the button and you will see the window where you can create / edit / remove email templates.

    • Email title

      This will be the title of the email that customer will receive when module will send and mail with cdkey to customer. If you will activate option to send many cdkeys in one email (when customer will purchase many cdkeys in one order) - module will not use this email title to deliver email to customer. (just imagine that each group of cdkeys can have different email title). The email title from module configuration page will be used instead.

    • Additional email informations
      This option decides about additional text that will be included to email contents. Module will include this specific text to email. You can personalize this message - for each group of cdkeys it can be different


This is an example of group:
cdkeys group - example
This group means that: when someone will purchase product "Windows 10 license" - module will get one cdkey from this group and send it to customer. On the next documentation page you can read of how to add cdkeys to group.