Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about the shopping cart class


jivesoul

Recommended Posts

Posted

Hi everyone.

 

I have a cart where we're selling gift certificates in the following way:

 

The gift certificate is a product that has a value of $1. When the customer orders a certificate, they select a whole dollar value amount then that amount (quantity) is recorded when added to the cart.

 

My question is this: how can I alter the shopping cart class to allow me to accept multiple gift certificates? What I'm seeing now is that when I had the certificate, the add_cart function sees that I already have a gift certificate product in contents[], so it just adjusts that quantity. I need to be able add the gift certificates to the cart and track the values associated with each. Does anyone know of a better way to do this, or a way to alter the shopping_cart class to make it work?

 

Thanks!

Posted

this is not a module with the out of the box osc. And I don't know which module it is. So you need to find the contribution/module name and then check the contributions support forum.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...