Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

edgy

Archived
  • Posts

    30
  • Joined

  • Last visited

Profile Information

  • Real Name
    Edgy

edgy's Achievements

  1. Hi Alex, I am trying to build something for my site which I believe would make a great contribution as well. The gist is that people can enter a code they are given so they can access some downloads. I am planning on using this on a site that is already using oscommerce and your super download shop. I would like to take advantage of the file groups function your contribution has. I would like to make another table for the secret codes - which would be linked to your file groups. I would love to hear how you would logically organize this. If you have a second - drop me a line! Thanks.
  2. Ok, for anyone else in the situation where you have a real product being shipped to your customer but want to give them a download with the same sale (i.e. if you sell a CD but want to give them the mp3 in the meantime) this is what seems to be working for me: First of all, I used the Super Download Store, Add weight to product attributes, and Zero weight skips shipping contributions available on this site. The last mod I did was this, in includes/classes/shopping_cart.php After: if ( (DOWNLOAD_ENABLED == 'true') && ($this->count_contents() > 0) ) { reset($this->contents); I added: if ($this->weight > 0) { $this->content_type = 'physical'; } Oscommerce automatically believes all products with downloads associated with them are virtual, but with these mods you can control what is "virtual" or not based on weight. Alex, being the resident genius - if you see any blaring holes in my logic here let me know!
  3. Alex, you are clever! Indeed the shipping address is absent. I will play around with includes/classes/shopping_cart.php... perhaps I can link it to the attribute table (as "buy product and receive download" and "buy download only" would always be the defining attribute) or the weight... hmm, I think weight would be easier.
  4. Yes, you are right. Actually I cheated a bit. I edited checkout_shipping.php where it says: if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') || ($total_weight == 0 )) if (!tep_session_is_registered('shipping')) tep_session_register('shipping'); $shipping = false; $sendto = false; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); and just commented out the first two.
  5. Hi, Please disregard my post above.. I don't think your code did anything to alter this. I think I need to stop staring at the screen for a bit, I'm getting a bit confused! All seems to be working fine. Thanks for the contribution and the help, Alex.
  6. Hi Alex, thanks for your help with this - it seems to be working now - no code problems to speak of at that end, but I don't think I was attaching the files correctly. I did follow the steps you described about though and they were very useful in trying to gain an understanding of the whole process. One more thing I'm working on though - I had initiated a weight-based system to differentiate between items that need shipping and those that don't - see the thing is some of my products that I sell include a downloadable teaser - obviously still need the shipping page though. I have seen an instance of where you wrote something to also skip the shipping page - anything tricky about removing that bit of code without mucking anything else up?
  7. You need to enter your database information in catalog/includes/configure.php it should look something like this: // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'my_stores_database_username'); define('DB_SERVER_PASSWORD', 'myspuersecretpassword'); define('DB_DATABASE', 'my_database'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' and you need to put the proper names in between the quotes. I guess you can get this information in the control panel of your webhosting company.
  8. Hi, I seem to be having a different error than any described in the previous 19 pages, so I thought I would ask for some help while I continue to look over the code... everything seems to be working proper, but once the customer logs in to get their download, they get a page listing the files, saying "Link expires: Tuesday 03 July, 2007" (ie today, even though I have it set for 7 days), and "0 downloads remaining", even though it should be five. There is no download button. Any ideas why I would have this?
  9. Actually Jeep, thanks! I could never get EP to export the extra price column, so I added it manually and then imported it! it worked!
  10. hmm,thanks for your help, but no dice...don't worry, I'm very sure I'm doingsomething wrong with EP, will just have to startfresh with it..... Also was messing with the MySQL, but there's probably a few instances of where I need to change the pricing, am I right?
  11. Hi, I am using this contrib and it's working very well! However, for my 900 products I wasn't able to bulk upload my wholesale prices with Easy Populate (something I am trying to resolve seperately). Quick question...is it possible with MySQL to copy my retail prices to wholesale? I just want to get some prices in there until I get Easy Populate worked out. I don't know much about MySQL, so any tips would have to be pretty straightforward :blush: thanks for any help!
  12. Thanks, I will play with that for a bit... I would chat with you, but I think I would just be wasting your time as I can't even get EP to work with SPPC....
  13. Hi all, I'll admit right now I don't know much about this kind of stuff, but maybe there's an easy fix here. My subcategory names are getting cut off at about 32 characters.. This causes products that should be in the same categories to each get thie own individual categories with a shortened name. I know the easy workaround is to shorten the category names - but they are latin and I'd like to keep them if possible. I'm using v2.76c
  14. I'm just going to suggest a workaround, because I really don't know that much about it...After completing the upload, have you then tried to "Import from Temp Dir"? This may work for you.
  15. Hi, I'm trying to use EP 2.76c with Seperate Pricing Per Customer (SPPC) Version 4.1.5, but EP isn't exporting the multiple pricing... can you see any problems in my code?
×
×
  • Create New...