Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wendy James

Archived
  • Posts

    4,011
  • Joined

  • Last visited

Everything posted by Wendy James

  1. Hello : ) I am trying to install this contribution http://www.oscommerce.com/community/contributions,355 (the newest download) and everything works as it is suposed to except one function and I can't seem to work it out. If a customer does not create an account and makes a purchase everything works right. If a customer either already has an account or creates an account their address does not show up anywhere until the confirmation page (and it gets added to their address book). I have widdled it down to this bit of code that goes on includes/functions/general.php function tep_address_label($customers_id, $address_id = 1, $html = false, $boln = '', $eoln = "\n") { // Ingo PWA Beginn if ($customer_id == 0) { global $order; if ($address_id == 1) { $address = $order->pwa_label_shipping; } else { $address = $order->pwa_label_customer; } } else { $address_query = tep_db_query("select entry_firstname as firstname, entry_lastname as lastname, entry_company as company, entry_street_address as street_address, entry_suburb as suburb, entry_city as city, entry_postcode as postcode, entry_state as state, entry_zone_id as zone_id, entry_country_id as country_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customers_id . "' and address_book_id = '" . (int)$address_id . "'"); $address = tep_db_fetch_array($address_query); } // Ingo PWA Ende $format_id = tep_get_address_format_id($address['country_id']); return tep_address_format($format_id, $address, $html, $boln, $eoln); } If I change it back to the original code function tep_address_label($customers_id, $address_id = 1, $html = false, $boln = '', $eoln = "\n") { $address_query = tep_db_query("select entry_firstname as firstname, entry_lastname as lastname, entry_company as company, entry_street_address as street_address, entry_suburb as suburb, entry_city as city, entry_postcode as postcode, entry_state as state, entry_zone_id as zone_id, entry_country_id as country_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customers_id . "' and address_book_id = '" . (int)$address_id . "'"); $address = tep_db_fetch_array($address_query); $format_id = tep_get_address_format_id($address['country_id']); return tep_address_format($format_id, $address, $html, $boln, $eoln); } the addresses show up for customers with accounts or who create an account but not those checking out without an account so that is why I am guessing it has to do with this code. Does anyone have any ideas on how to fix this or if I am missing something somewhere that could be causing this problem? I don't think I am, I have installed/uninstalled twice to be sure I do everything I am suposed to. Thanks in advance.
  2. osCommerce does not come with an admin security feature. The password in your database would be encrypted if a contribution was installed and that is why it won't work. I am not sure what to tell you. First I would try and find out how the admin security was set up. If it is an htaccess file, or done through the web hosts admin panel you can reset it through the admin panel. Usually a link "password protect directory" or something like that. If it is a contribution I would think you need to find out which one and probably "re-install" it, or atleast the database portion. Maybe someone else would have other ideas.
  3. I do not see anything wrong with the code you pasted here. Maybe that is why no one has posted anything.. because they do not know the answer. Only thing I can suggest is to post more code from the top of the page than you did.
  4. You can turn on/install as many payment types as you want to offer. Check out the IPN for paypal that is supported by osCommerce http://www.oscommerce.com/community/contributions,2679 As for bank payments, check the contribution area... one may be written for your bank already. If not, some banks can tell you how to set one up, or may have instructions. If not, and you have a machine to run credit cards you can just use the credit card module that comes with osCommerce and manually enter the info. Not sure what direct payment is so can't help you there, sorry.
  5. What kind of advertisements do you mean? osCommerce already comes with a banner system built in.
  6. Try google. Tons and tons of template sites out there. Also, pay attention to the banner ads at the top of the forum pages. There is one for a template site, I believe.
  7. Paypal already comes with osCommerce but I suggest installing http://www.oscommerce.com/community/contributions,2679
  8. osCommerce already does that. In your admin area under catalog there is a link for product attributes. You add them there.
  9. Not sure if these will do what you want but read the descriptions http://www.oscommerce.com/community/contributions,2683 http://www.oscommerce.com/community/contributions,1658
  10. Have you set your email address information in the admin configuration area?
  11. Looks like someone installed one of the meta tags contributions and didn't add the database part of it. I would find out which one was installed and get the contribution so you have the right sql info to add.
  12. If you used New Attribute Manager http://www.oscommerce.com/community/contributions,1119 there is a post there about sorting by name, otherwise stock osCommerce already sorts by name so we would need to know which contribution you used.
  13. Looks like you did not run an sql file, or add information to your database that you need for this to run. It should have come with the contribution.
  14. For Savante, I hadn't heard of a contribution which could do something like that so I took a look through the contributions and wasn't able to find one. Maybe someone else will come along that knows what can be done or has suggestions. For brochad Individual Product Shipping Prices http://www.oscommerce.com/community/contributions,1333 Adds a new field to the product so this can be used along with any other shipping module and can be used with multi vendor shipping. http://www.oscommerce.com/community/contributions,2906
  15. Basically it is just saying if you want to remove some of the categories they have already set up then you can remove them from the sql. Or, if you want ones that are not listed there, you can add them in. Like you could add something like this. INSERT INTO admin_notes_type (type_id, type_name, status) VALUES (1, 'Phone Sales', 1); or say you don't want notes about Guests, Payments, or Products you can remove the lines they are on. INSERT INTO admin_notes_type (type_id, type_name, status) VALUES (1, 'Guests', 1); INSERT INTO admin_notes_type (type_id, type_name, status) VALUES (1, 'Payments', 1); INSERT INTO admin_notes_type (type_id, type_name, status) VALUES (1, 'Products', 1);
  16. If the contribution does not haveyou set a defines for it you need to do that by opening admin/includes/filenames and add define('FILENAME_EASYPOPULATE', 'easypopulate.php'); Then you will need to define the page name usually this is done in your main language file.. like admin/includes/languages/english.php add define('BOX_HEADING_EASYPOPULATE', 'Easypopulate'); then on the page you posted above add this line tep_admin_files_boxes(FILENAME_EASYPOPULATE, BOX_CATALOG_EASYPOPULATE) . anywhere above tep_admin_files_boxes(FILENAME_PRODUCTS_EXPECTED, BOX_CATALOG_PRODUCTS_EXPECTED)); hope that helps.
  17. Most people suggest installing the PayPal IPN supported by osCommerce when people have these issues. http://www.oscommerce.com/community/contributions,2679
  18. If I am reading you correctly, osCommerce already does that. You should have a new products box when you click on a category that shows the new products for that particular catagory.
  19. The errors are all saying the same thing, they are looking for the ccc.php file which should be in the language folder. includes/languages/english/ Make sure that is there.
  20. Looks like you missed a step in the instructions. I would double check and follow the steps again. I could be wrong here but I think that is what it is.
  21. First the simple things. In admin have you turned on caching? GZIP compression? Are your images compressed as much as they can be while still looking ok? I haven't tried this but I came across this contribution, maybe it could help. http://www.oscommerce.com/community/contributions,1862
  22. Not sure about hiding categories but this contribution will hide products... read about it before you use it though. http://www.oscommerce.com/community/contributions,2597
  23. I would suggest rereading the instructions. Your catalog page is calling for the admin GV box which is wrong.
  24. What about http://www.oscommerce.com/community/contributions,2082 or just adding an extra field for the customer to fill out when placing an order or creating account so they can enter the persons name?
×
×
  • Create New...