This is a discussion on Add to Cart => Download within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I'm going to host a product download site. I'll add customers to my site manually. So, I want to remove ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I'm going to host a product download site. I'll add customers to my site manually. So, I want to remove "Add to Cart" button, and place the "Download Now" button there. I DON'T need any verification (checkout success, payment done etc.,) Only the customer needs to be logged in. Can anyone help me with the code? |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| I would post the code if it were that simple but your talking about a re-write of the catalog. The easiest way to do this would be to ad an admin screen to work with downloadable products and give you an interface to insert the correct file name with a browse button. Then just rewrite the code with a hard link for downloading that file in the product_info.php page. Probably need to do it this way as its the only way i see to completely bypass the checkout process completely. This job would take us a few hours to do though.
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
|
#3
| |||
| |||
| I tried this, * Copied the code for download link from "checkout_sucess.php" * Pasted next to "Add to cart" button. Seems it works. If the user is logged in, he can see the "Download" button. I tried one download, it works. Now, I only need to remove "Add to cart" button. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Product download count deducted when canceling download | GeorgeW | osCMax v2 Installation issues | 1 | 11-06-2005 07:12 PM |
| Remove product from cart - cart not updating | mentalskylight | osCommerce 2.2 Installation Help | 0 | 03-10-2005 01:42 AM |
| where to download osC MS2-MAX ? | coli | osCMax v1.7 Installation | 1 | 11-28-2004 07:35 PM |
| Add Item to Cart, authenticate, then deletes cart contents? | Anonymous | osCMax v1.7 Discussion | 8 | 07-20-2004 10:48 AM |
| MS2 MAX 1.7 download? | Anonymous | osCMax v1.7 Discussion | 3 | 06-03-2004 03:45 PM |