Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

choosealogin

Pioneers
  • Posts

    1,104
  • Joined

  • Last visited

Everything posted by choosealogin

  1. That thread is good, but before you try any of it, do take note of that fact that the solutions are different for Windows vs. Linux servers. I only scanned through it, but I didn't see this. On a windows server, I think you need to exclude the name (alias) when you fill in your e-mail addresses in admin. I'm not sure, but every little bit helps when you're trying to get that to work :blink: me <[email protected]> bad for windows [email protected] good for windows
  2. Those links are pointing to https:// pages (secure pages). My guess is one of two things you either have SSL enabled, but you don't have SSL OR you do have SSL and it's not configured correctly
  3. :'( Sorry, I forgot to include the code <td align="right" valign="middle" class="main"><?php if($products_new['products_quantity'] > 0){echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; }else{ echo '<a href="mailto:'. STORE_OWNER_EMAIL_ADDRESS .'?subject='. $products_new['products_name'] .'">' . NON_ONLINE_ITEM . '</a>';} ?></td>
  4. As far as your first idea goes, see if this is what you had in mind: link Your NON_ONLINE_ITEM text would appear there as the e-mail link I don't really have the skills, I'm just lucky so far :blush: See what you think of that so far.
  5. I noticed this in the instructions (4) catalog\includes\functions\general.php ADD: (anywhere is ok, bottom of the file for example) function tep_get_category_description($category_id, $language_id) { $category_query = tep_db_query("select categories_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $category_id . "' and language_id = '" . $language_id . "'"); $category = tep_db_fetch_array($category_query); return $category['categories_description']; } Then I noticed this on the contribution page, noted in the version you installed Fixed the description of the general.php file (was the general file in catalog not in admin as it should be) Backup first, but if you put the code from step 4 in catalog/includes/functions/general.php then take it out and put it in catalog/admin/includes/functions/general.php instead. Let me know if it worked :) BACKUP :thumbsup: BACKUP :thumbsup: BACKUP :thumbsup:
  6. My guess would be that you missed a step. The function tep_draw_products_mselect() is not defined. Were there instructions to edit a file called html_output.php? I would guess that might be a place where that function would be defined, but I'm not sure. Be careful, because there are TWO html_output.php files...one in admin/includes/functions and one in catalog/includes/functions. Maybe you edited the wrong one? They are not the same. I AM NOT FAMILIAR W/FEATURED PRODUCTS...so don't change anything unless you find a mistake you made
  7. You're welcome :) My problem is, I type faster than I can think :'(
  8. I'm sorry, I wasn't very clear. I meant that EP cannot add a new manufacturer. You have to add new new manufacturers though admin>catalog>manufacturers. So if you go there and add a manufactuer called "Ford". Then when you're filling out your spreadsheet, you can put the name "ford" in the manufactuers_name field. It will recognize one that already exists, it just cannot make a new one. Is that making more sense or did I misunderstand?
  9. You're welcome :) At this point, yes...just add them through admin>catalog>manufacturers> then 'insert' Then, any existing manufacturer that you've added there can be assigned to products in EP, by putting that manufacturer name in the manufacturer field w/ excel. In other words, EP can assign existing manufacturers to your products, it just can't add new manufacturers.
  10. First of all, I'm glad you got it working :D I think I know what you mean. Easy Populate is only capable of performing the same process that you would go through when adding a new product manually. Go into your admin page > catalog > then 'new product' On that page where you add a new product (manually, not with EP), the only field related to manufacturer is manufacturer name. All you can do there on that page is select an existing manufacturer. That's all that EP is doing when you put in a manufacturer_name. It will select from your manufacturer list that comes from: admin>catalog>manfacturers> insert (where you can add a new manufacturer) I don't think that anyone's re-written it to do anything different, but I could be wrong.
  11. You had 2 ifs and 2 elses and a couple extra td tags... Keep a copy for now and change this: <?php if ($products_new[$x]['products_quantity'] > 0 ) { ?> <td align="right" valign="middle" class="main"><?php if($products_new['products_quantity'] > 0){echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; }else{ }?></td> <?php } else { ?> <td class="main" align="right"><?php echo NON_ONLINE_ITEM; ?></td> <?php } ?> To this: <td align="right" valign="middle" class="main"><?php if($products_new['products_quantity'] > 0){echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; }else{ echo NON_ONLINE_ITEM;} ?></td> I put it in my file and it's working, just showing NON_ONLINE_ITEM because I didn't define that on my end. The other differences in the file were insignificant but it did help to see the whole thing :) Let me know how that goes.
  12. Hmmm :( I was able to get that working on my end...at least on that new products page (where it takes you after 'welcome back, so and so'...) It's a stock test shop, no other changes, though...so there must be more to it. :huh: I'll leave it this way for a bit, if you check back --- link I changed the end bit, so it wouldn't be blank...just 'not available'
  13. Check the line that begins with: define default language currency in the file catalog/includes/languages/english.php make sure the value (USD or GBP or etc etc etc) is indeed YOUR currency.
  14. craigie b - excellent news, and thanks for following up :thumbsup: burnsy44 - I'm glad it helped !
  15. I didn't see this earlier. I'm glad you made some progress :thumbsup: What are your session settings in admin? admin>configuration>sessions
  16. For your first question about the return url...I think that technically the return url is www.yourstore.com/checkout_process.php But would you like to see my settings >_< ? PayPal's Instant Payment Notification (IPN) allows you to integrate PayPal payments with your website back-end operations. Instant Payment Notification (IPN) Off Instant Payment Notification (IPN) URL: I don't remember where I read that...but something told me to leave the settings at Paypal alone and try it first. Well, it worked ... Mine works, really! I used Paypal IPN 1.1 http://www.oscommerce.com/community/contri...arch,paypal+ipn
  17. Peter, I'm not familiar w/this contribution but for your question If I understood the question...you can turn that column off in admin>configuration>product listing>Display product quantity...it will disappear :)
  18. Ok, so it didn't work :-" Check your settings I guess. If you have IPN turned turned on at Paypal you can try turning it off. I never touched mine after I set it up. It's still set to off over there at Paypal. The module seems to take care of everything. Check your currency abbreviation, I found one post that hinted at osc's abbreviation and paypal's abbreviation being different for Canadian dollars, so might as well check your GBP and make sure that's all straight. If you have encrypted web payments enabled in the ipn module, try turning that off too. As I recall I left the openssl entry just as it was when I downloaded the module. If you don't have ssl leave it like it was. Let me know if any of that works. B)--> QUOTE(craigie b @ May 29 2006, 06:29 PM) <{POST_SNAPBACK}> hiya mark,yeah if you go to www.silvershoeforge.com and purchase a silver rose it will cost you a penny ;) just don;t expect a delivery! lol. The thing is though that the payment doesn't go through anyway so I'm really dumb founded and my friend doesn;t want to use the regular paypal module becuase it 'loses' orders!
  19. I had weird errors in the sandbox and weird errors trying to buy from myself and absolutely no erros with real customers. So I wouldn't worry to much yet. I would do another test first. Do you have a 1 cent test item or something. I'd test it for you if you want. B)--> QUOTE(craigie b @ May 29 2006, 06:20 PM) <{POST_SNAPBACK}> Hi Guys,I've been trying to get Paypal IPN working with oscommerce however I'm getting no where very slowly! Basically I have installed the IPN module and when I make an order through the Sandbox it all registers with my database and it all works fine. Groovy. However when I switch over to the live server I encounter a problem with paypal. The order registers with my database, as it should, however paypal cannot complete the order. When I click pay I get the following message... "We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment. Message -1" I don't have the foggiest idea as to what would cause this to happen and it does not happen when I us the regular paypal module nor does it happen in sandbox. THe only thing I can think is that I have failed to create the proper OpenSSL location or temp directory, but realistically I'm just grasping at straws...if anyone can help that would be great!
  20. You're welcome. Pretty soon, you can graduate from 'novice' to 'beginner', like me. I still have a lot to learn :blush:
  21. That's tare weight, to allow for the weight of packaging. You can adjust it to zero or another number if you like. It's in admin > configuration > shipping and packaging.
  22. That contribution will be a headache for you if you don't have the other ones installed too. But I wouldn't go to all of that trouble just to hide the buy now button w/0 stock. There's got to be an easier way. The code you pasted below looks like it would belong in product_listing.php, not products new. To hide the 'buy now' or 'cart' button (w/zero stock) on the products_new.php page, try this (backup first!!!!!) find $products_new_array = array(); $products_new_query_raw = "select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name from " . and add p.products_quantity to it, like this $products_new_array = array(); $products_new_query_raw = "select p.products_id, p.products_quantity, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name from " . Then around line 90 find <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> and change it to <td align="right" valign="middle" class="main"><?php if($products_new['products_quantity'] > 0){echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; }else{ }?></td> That would hide the buy now/cart button on products_new.php if stock is 0. To answer your other question, the code in your second post is from a modified (column display) version of product_listing.php.
  23. In the menu up above, it's the red bar "community", then "contributions", From there you can search for STS or it's probably in the top downloads near the top.
×
×
  • Create New...