Jump to content

Calculate Cart total


betterhosting

Recommended Posts

I noticed there isn't an API for the internal system that would allow me to create a custom cart for the user. Normally the calculation would be done with some pretty basic math, but I'm hoping there is a function I can use to get the price after any promotional codes are used to make sure the math I am displaying to the user with my module and the actual price submitted to an order are the same.

 

I'm looking for any level of technical solution for this.

Link to comment
Share on other sites

If you need something down and dirty for one client, you could always run thru an order, take a snap shot of the cart view, that gives the grand total including any promos. You might be able to make it look nice. I also looked at https://www.whmcs.com/appstore and i didnt see anything for this.

 

Are alot of your clients asking for this, most people know there will be variations with tax and extras at the time of purchase.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated