chameleon-system-private/pkgshopbuyablevoucher
Mit diesem Modul kann im Shop ein Kaufgutschein erworben werden. Dieser kann entweder per Post als Gutscheinnkarte oder als E-Mail verschickt werden. Sofern der Gutschein per E-Mail verschickt werden soll, hat der Kunde die Moeglichkeit diesen an eine beliebige E-Mailadresse mit Name und Kommentar zu verschicken. Damit Gutscheine Ausgedruckt werden können, werden Gutscheine auch als HTML-Seite zu verfügung gestellt.
Requires
- chameleon-system/core: ~8.0.0
- chameleon-system/pkgshop: ~8.0.0
- 8.0.x-dev
- 8.0.45
- 8.0.44
- 8.0.43
- 8.0.42
- 8.0.41
- 8.0.40
- 8.0.39
- 8.0.38
- 8.0.37
- 8.0.36
- 8.0.35
- 8.0.34
- 8.0.33
- 8.0.32
- 8.0.31
- 8.0.30
- 8.0.29
- 8.0.28
- 8.0.27
- 8.0.26
- 8.0.25
- 8.0.24
- 8.0.23
- 8.0.22
- 8.0.21
- 8.0.20
- 8.0.19
- 8.0.18
- 8.0.17
- 8.0.16
- 8.0.15
- 8.0.14
- 8.0.13
- 8.0.12
- 8.0.11
- 8.0.10
- 8.0.9
- 8.0.8
- 8.0.7
- 8.0.6
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 7.1.x-dev
- 7.1.138
- 7.1.137
- 7.1.136
- 7.1.135
- 7.1.134
- 7.1.133
- 7.1.132
- 7.1.131
- 7.1.130
- 7.1.129
- 7.1.128
- 7.1.127
- 7.1.126
- 7.1.125
- 7.1.124
- 7.1.123
- 7.1.122
- 7.1.121
- 7.1.120
- 7.1.119
- 7.1.118
- 7.1.117
- 7.1.116
- 7.1.115
- 7.1.114
- 7.1.113
- 7.1.112
- 7.1.111
- 7.1.110
- 7.1.109
- 7.1.108
- 7.1.107
- 7.1.106
- 7.1.105
- 7.1.104
- 7.1.103
- 7.1.102
- 7.1.101
- 7.1.100
- 7.1.99
- 7.1.98
- 7.1.97
- 7.1.96
- 7.1.95
- 7.1.94
- 7.1.93
- 7.1.92
- 7.1.91
- 7.1.90
- 7.1.89
- 7.1.88
- 7.1.87
- 7.1.86
- 7.1.85
- 7.1.84
- 7.1.83
- 7.1.82
- 7.1.81
- 7.1.80
- 7.1.79
- 7.1.78
- 7.1.77
- 7.1.76
- 7.1.75
- 7.1.74
- 7.1.73
- 7.1.72
- 7.1.71
- 7.1.70
- 7.1.69
- 7.1.68
- 7.1.67
- 7.1.66
- 7.1.65
- 7.1.64
- 7.1.63
- 7.1.62
- 7.1.61
- 7.1.60
- 7.1.59
- 7.1.58
- 7.1.57
- 7.1.56
- 7.1.55
- 7.1.54
- 7.1.53
- 7.1.52
- 7.1.51
- 7.1.50
- 7.1.49
- 7.1.48
- 7.1.47
- 7.1.46
- 7.1.45
- 7.1.44
- 7.1.43
- 7.1.42
- 7.1.41
- 7.1.40
- 7.1.39
- 7.1.38
- 7.1.37
- 7.1.36
- 7.1.35
- 7.1.34
- 7.1.33
- 7.1.32
- 7.1.31
- 7.1.30
- 7.1.29
- 7.1.28
- 7.1.27
- 7.1.26
- 7.1.25
- 7.1.24
- 7.1.23
- 7.1.22
- 7.1.21
- 7.1.20
- 7.1.19
- 7.1.18
- 7.1.17
- 7.1.16
- 7.0.x-dev
- 7.0.22
- 7.0.21
- 7.0.20
- 7.0.19
- 7.0.18
- 7.0.17
- 7.0.16
- 7.0.15
- dev-main
- dev-66480-paypal-button-integration-wip
- dev-65797-paypal-checkout-7.1.x
- dev-65797-paypal-button-integration
- dev-64992-campaign-tracking-bundle
- dev-64817-update-tag-manager-bundle
README
With this package you can sell shop articles as vouchers. Customer can buy two types of voucher. Voucher cards or email vouchers. If the customer buys a voucher the system generates dynamically unique voucher codes and add the codes to order notification. E-mail vouchers will be directly send to customer mail or customer can set a different mail.
For each voucher the system generates a html page the customer can be use to print the voucher. The Link to print voucher was be added to separate email voucher notification
Installation
- if you use old php view templates
- Look at the installation directory, the most files are includes you can include directly in the same named view in your customer project
- if you use a them with twig templates
- copy or link /installation/snippets/pkgShopBuyableVoucher to your theme and add include them in you theme templates
- basket-product-email-voucher.html.twig to you items in checkout basket step. You have to add the mapper BasketArticleVariantMailVoucherMapper to chain.
- basket-product-email-voucher-show.html.twig to your items in checkout confirm step. You have to add mapper BasketArticleVariantMailVoucherMapper to chain.
- order-items-voucher-codes.html.twig to your items in the order history. You have to add mapper OrderItemVoucherDataMapper to chain.
- copy or link /installation/snippets/pkgShopBuyableVoucher to your theme and add include them in you theme templates
- Create new voucher series sponsor if you don't have one.
- Create new voucher series in cms and connect it with you voucher series sponsor.
- Create new voucher article
- Connect this article with your voucher series
- On the variant selection in you article choose variant set "Gutschein Post/E-Mail"
- Then create the variant you need for email voucher and card voucher
- configure the new mail templates (Geschenkgutschein-E-Mail an Kunde, Geschenkgutschein-E-Mail an alternative E-Mailadresse)
- if you want that the customer can print their voucher
- create new page in the system tree
- add module "Kaufgutschein drucken" to page
- go to routing configuration in cms (Kaufgutschein Druckansicht) and set your created page
- add a sytem page in your portal with system name "buyable_voucher_print" and link it with you print page
- copy the snippets directory in the installation directory to your theme (twig for print voucher)
- style your twig template
- you can add an voucher background in cms -> Portale/Webseiten -> Druckansicht Kaufgutschein (Hintergrund)
- add your custom less in /assets/pkgshopbuyablevoucher-assets/voucherPrint.less