I SOLVED it myself. Works fairly well, is not perfect, but does the job.
In this way I have done it :
Look in your theme folder and open ” shopping-cart-product-line.tpl ”
look for:
{if (!isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0) && empty($product.gift)}
and replace it with:
{if (!isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0)}{* && empty($product.gift) *}
--------------------------------------------------------------------------
In cart rules, I created different rules (actions> send a free gift) to give a free gift from a certain purchase amount, as a gift at 50 euro, or another gift at 100 euros etc ....
The customer can then choose a gift from the list under the vouchers block.
Now it would be useful if there is a delete button ( like a normal product ) present if the customer selected a wrong gift to remove it in order to select another gift.
I've already looked at the file shopping-cart.tlp but did not immediately find something to fix it.
Does anyone have any experience with coding, believed to be a few lines in which tpl file is modified.
Best regards, Profoon
ps: I use version 1.6.1.1 prestashop