Hello to all,
i need your urgent help.
I have already create a cart rule, so where a customer add a product in cart it also add a free product as a gift.
But i want, as customer increase the quantity of products that he want, also the gift to increase.
So in a real example i need when a customer has in cart 2 pieces of an Iphone, to get also 2 pieces of a charger which is the gift and not 1 as Prestashop core do.
I am trying to modify it in Cart.php class file but i am spending hours and i can't sleep many days now in order to fix it.
Any help or suggestion would be very helpful but please be as quick as you can, because we are on a hurry.
Thanks in advance and i am waiting your suggestions.
i need your urgent help.
I have already create a cart rule, so where a customer add a product in cart it also add a free product as a gift.
But i want, as customer increase the quantity of products that he want, also the gift to increase.
So in a real example i need when a customer has in cart 2 pieces of an Iphone, to get also 2 pieces of a charger which is the gift and not 1 as Prestashop core do.
I am trying to modify it in Cart.php class file but i am spending hours and i can't sleep many days now in order to fix it.
Any help or suggestion would be very helpful but please be as quick as you can, because we are on a hurry.
Thanks in advance and i am waiting your suggestions.