Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is price stored in the cart?


teamaster

Recommended Posts

QUESTION:

 

Where is the price information stored when an item is transfered to the shopping cart? It should happen restore_content function in the DIR_WS_CLASSES/FILENAME_SHOPPING_CART, but I do not understand how or where. I have turned my db inside out, but I cannot find such a field.

 

This is what happens:

 

1) A customer puts items into the basket. The price is shown with tax.

 

2) The customer logs on, and it turns out that she lives in a non-taxable area.

 

3) The basket/total at check out still shows the price with tax.

 

If the customer logs in first, and then add stuff, the basket shows the price without tax as it should. So it seems that the price is stored someway.

 

Now, to be honest, I have messed around with the attributes to make it show the total price with tax, so I don't try to blame anybody...

Link to comment
Share on other sites

In 2.2MS2 look in admin->configuration->my store-> display prices with tax (set to false)

 

In older version it is in catalog/includes/application_top.php file

 

HTH

The_Bear

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...