Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Grand Total on the fly


joewhite

Recommended Posts

I would like to create a shopping cart with computers for sale. how ever if a customer selects a pc, i would like to give them options to upgrade for example the monitor, or hard drive etc. if they select an upgrade i want oscommerce to display the grand total on the item page instead of the customer proceeding to checkout to get the final price. How do i do this?

Link to comment
Share on other sites

You can use this code to display the total

$cart->show_total();

There is also a cart total contribution that displays a box on the page with the current cart total. I think it is called In Cart, or something like that.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...