Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

schrøder

Archived
  • Posts

    45
  • Joined

  • Last visited

Everything posted by schrøder

  1. HI I like to add "Customers who bought this product also purchased.." to all the menu Categories in OsCommerce. Anyone now a Contribution to figure this out? :blink: Breg Even
  2. Refer to this lines I find to remove prices totaly from the store, because I will make it a library.. "You could just edit /includes/classes/currencies.php and change the setting on the last function ... function display_price ... to return '' Now all prices are gone." Anyone know where to put this to return and how this script in currencies.php is gonna be. As it is it goes like this function display_price($products_price, $products_tax, $quantity = 1) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } } ?>
  3. schrøder

    IP recording

    All works fine, exept at the last checkout_process.php when the button checkout is clicked then I got this error 1054 - Unknown column 'ipaddy' in 'field list' insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value, ipaddy, ipisp) values ('2', 'even scroder', '', 'mele4', '', 'viggja', '7354', '', 'Norway', '7766554433', '[email protected]', '1', 'even scroder', '', 'mele4', '', 'viggja', '7354', '', 'Norway', '1', 'even scroder', '', 'mele4', '', 'viggja', '7354', '', 'Norway', '1', 'Cash on Delivery', '', '', '', '', now(), '1', 'USD', '1.00000000', '82.194.204.81', 'loqal.no') [TEP STOP] I think i could be something with --RUN the SQL--- and ALTER TABLE `orders` ADD `ipaddy` VARCHAR(15) NOT NULL; ALTER TABLE `orders` ADD `ipisp` VARCHAR(15) NOT NULL; But where shall I configure this?? Breg Eugen
×
×
  • Create New...