Jump to content

Update Cart Price


iamgaurav

Recommended Posts

HI

 

I am trying to update the cart price of the current cart id. Its basically something like a credit system where if a user has XX Credits i would like to subtract the credits from the total cart amount and update the cart so he can pay the remaining amount via a Payment Gateway.

 

Thanks

Link to comment
Share on other sites

I would suggest you create a coupon and basically exchange a coupon for credits. The cart total price is calculated by a lot of rules, so its best to not just manually edit those carts total value (as invoices will break down with wrong prices, emails will be sent with wrong prices).

 

IF you choose to use coupons for this, they'll see the total price of the products MINUS a "credit coupon" = real price to pay through a regular payment gateway.

 

This will take some time to build but I did it before, it's possible.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...