Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Suggested donation of x amount


posword

Recommended Posts

We are a non-profit and want to change to a "suggested donation" basis for products.

 

Is there any way to make the product total an input field, so customers can input the amount they wish to donate? We will still add postage on top of that amount to get the grand total.

 

We can easily change the terminology to say "Suggested donation of $xx" but it doesn't make sense unless people control the amount they want to donate.

 

Thanks,

Peter Wade

-------------------------------------------------------------------

Online since 1995! -- the home

of inspiration and motivation for generic New Testament Christians.

New books by Peter Wade now available from Amazon and others --

Our new book, Bunches of Blessings: Poems by Vivien Wade.

Link to comment
Share on other sites

Is there any way to make the product total an input field...

 

For "product total" read "Sub-total" in checkout_confirmation.php.

 

Thanks,

Posword

-------------------------------------------------------------------

Online since 1995! -- the home

of inspiration and motivation for generic New Testament Christians.

New books by Peter Wade now available from Amazon and others --

Our new book, Bunches of Blessings: Poems by Vivien Wade.

Link to comment
Share on other sites

  • 3 weeks later...
Peter,

 

Did you manage to get this working? I have the same need (to allow customers to pay for custom quoted jobs by entering a price and then proceeding to checkout).

 

Thanks,

Nicole

 

Hi Nicole,

If the donation is going to show up as a single product in the shopping cart then you could have a session variable store this value.

make minimal modifications to shopping cart to show the amount along with the sub-total.

modifications to the shppping-cart total to show the total including the donations ( this will help you with the total int he shopping cart page and the shopping cart box ). then have a simple order line generated for affecting the total in the end ;).. it should solve the issue.. still in doubt feel free to ask for help..

 

Cheers

Hari

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...