How can I reduce the price of a product on the cart page?

If the user has an existing account balance, I would like to give him the opportunity to indicate how much his previous balance should be applied to the item and synchronize this information with the cart and the order. I have already implemented the balance of the user account, both on the front and on the back end.

Will a similar coupon system work better, or should I try something else?

Thanks in advance.

+4
source share
3 answers

I would allow the client to reduce the total basket with the balance, it would be easier / logical for the client (?)
What ecommerce solution do you use? Magento (?) If so, there are coupon extensions that can handle this.

You can also create a simple balance system in which users will see the balance there in this account (if this function is implemented) or simply send them a message with a unique code that you save in DB +, the balance value, then use this code as coupon at checkout.

0
source

We have created many solutions for e-commerce. Usually, when the user balance is activated, then you make two transactions related to one account. In the first transaction, indicate the amount taken from the balance, where, like the other transaction, you can use any method of statement. After the callback from the check, check whether the balance issued to the account matches its mark as paid with respect.

Alternatively, you can use the discount - reduce the user's balance and add a "discount" to the order. It all depends on your accounting needs and preferences.

0
source

On Amazon, they allow you to apply any unused balance to an existing order. When you check that they say that you have a loan of $ 150 in your account, you would like to apply this to your order, by default it is given in a check mark.

Its quite neat and simple, it does not allow you to apply part of the amount from what I saw.

Then, when you proceed to pay, you pay $ total - balance.

So, if you have only 200 dollars, credit card payment will be for 50 dollars.

0
source

Source: https://habr.com/ru/post/1380714/


All Articles