# ws_giftdropdown
A companion module for thecheckout. Adds gift wrapping options when a user wants to make the order a gift. Originally created for houtendiershop and Knuffelshop.
This module requires thecheckout module to be installed.
Todo:
1.) Make the module more portable when it comes to mail and PDF templates. Right now you have to manually add {ws_gift_paper_choice} to the mail templates
`order_conf.html:`
```html
|
Cadeaupapier
{ws_gift_paper_choice}
|
```
2.) Make the module more portable when it comes to adding the radio buttons in the checkout. Right now we have to manually add to the tpl: `themes/falcon/modules/thecheckout/views/templates/front/blocks/shipping.tpl`
```smarty
{if isset($gift_paper_options) && $gift_paper_options|count}
{/if}
```
3.) Make this translatable in displayHooks.php
```
if ($paperChoice) {
$note = 'Cadeaupapier: ' . $paperChoice;
$order->note = $order->note ? $order->note . "\n" . $note : $note;
$order->update();
}
```
5.) Make paper choice an entity