Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

aheisey

Archived
  • Posts

    69
  • Joined

  • Last visited

Everything posted by aheisey

  1. I just started working on this and already I'm lost. I read the installation instructions and requested an API Credential according to Step #1;1-4. How am I supposed to download this according to #5 in Step #1? All I see are buttons 'Print this Page' or 'Remove'. I see my credentials, API username, API password, etc. but it's only viewable as text on the web page.
  2. Thanks, Amanda! This contrib has many faces - adaptable and easy to use. I just suck at coding though, but if I have a basic code to work from, I can kinda figure out how to change it to suit what I need to do - well, usually.
  3. I tried it out and it seems to work fine.
  4. What isn't working? Did you follow the instructions on all the 'install.txt' files? Did you add this code to the 'shopping_cart.php' file? if ($cart->count_contents() > 0) { if ((isset($_POST['coupon_code'])) and ($_POST['coupon_code'] != '')) { switch (strtolower($_POST['coupon_code'])) { case 'yourcouponcodehere' : $new_discount = $cart->show_total() * 0.1; $easy_discount->set('COUPON1','10% Coupon Discount', $new_discount); break; case '2ndcouponcodehere' : $new_discount = $cart->show_total() * 0.1; $easy_discount->set('COUPON2','10% Coupon Discount', $new_discount); break; case '3rdcouponcodehere' : $new_discount = $cart->show_total() * 0.2; $easy_discount->set('COUPON3','20% Coupon Discount', $new_discount); break; } } } else { $easy_discount->reset(); } Also read some of the previous posts and you'll be able to piece together what else you might need to do.
  5. I love the contribution! In addition to the coupon discounts, I'd like to be able to subtract a dollar amount from orders when a certain code is used. For example, customer types in the code and gets a $25 deduction on their entire order. I'm not great at coding so if you could review what I have below and let me know if it would work. I assume that I'll add it to the existing coupon code in 'shopping_cart.php'. case 'dusty' : $new_discount = 25; $easy_discount->set('COUPON4','$25 off', $new_discount); break; }
  6. I uploaded the one file and also got the same error: Warning: main(includes/modules/events_calendar_listing.php): failed to open stream: No such file or directory in /home/aanddclo/public_html/osCommerce/catalog/events_calendar.php on line 325 Warning: main(includes/modules/events_calendar_listing.php): failed to open stream: No such file or directory in /home/aanddclo/public_html/osCommerce/catalog/events_calendar.php on line 325 Fatal error: main(): Failed opening required 'includes/modules/events_calendar_listing.php' (include_path='.:/usr/local/lib/php') in /home/aanddclo/public_html/osCommerce/catalog/events_calendar.php on line 325 But fixed after uploading the missing 'events_calendar_listing.php' file. Awesome! It works!
  7. Awesome! I'll give it a go after work. Thanks for all of your responses!
  8. I would love to install this mod on my site so that crawlers can get my product info. I'm confused as to what to install as on the contribs page I see several possible downloads. Which one gets installed first and then what's second?
  9. I wanted to add an events page, but this is what appeared on the page: April, No Events found. I have an event entered for the 22nd and the link works on the calendar. What did I miss?
  10. I didn't look at the php file in 'Classes'. thanks for the pointer to it. I also had to fix the months too in that same file: var $monthNames = array(Januar,Februar,M?rz,April,Mai,Juni,Juli,August,September,Oktober,November, Dezember);
  11. Bump... Is anyone supporting this contribution?
  12. Bump... I'm still not able to find the lines or the files that control how the days of the week are spelled per my previous message.
  13. I really like this contrib, but having one problem: 1. the days of the week show up as So, Mo, Di, Mi, Do, Fr, Sa You can view it here: http://aanddclokeyenterprisesinc.com/osCom...talog/index.php Its on the bottom left side. I looked at many of the files, but couldn't find the script that might be causing this. Driving me nuts for about an hour now.
  14. Figured it out. It had to do with the way the Order Total Modules in the admin were sorted. Discount is figured into the total now on the checkout confirmation page. Finally, I think I'm done. I had the discount after the total. Now it looks like this: Easy Discount - 1 Shipping - 2 Sub-Total - 3 Total - 4
  15. I had a duplicate entry in the account.php file. Deleted and it seems to be fixed. The discount sticks until the code is removed. I'm still not seeing the discount reflected in the checkout page, only in on the shopping cart page. I have the code added to shopping cart.php: if ($cart->count_contents() > 0) { if ((isset($_POST['coupon_code'])) and ($_POST['coupon_code'] != '')) { switch (strtolower($_POST['coupon_code'])) { case 'asgra' : $new_discount = $cart->show_total() * 0.1; $easy_discount->set('COUPON1','10% Coupon Discount', $new_discount); break; case 'ASGRA : $new_discount = $cart->show_total() * 0.1; $easy_discount->set('COUPON2','10% Coupon Discount', $new_discount); break; case 'klmni' : $new_discount = $cart->show_total() * 0.0; $easy_discount->set('COUPON3','0% No Coupon Discount', $new_discount); break; } } } else { $easy_discount->reset(); }
  16. I also noticed that it's giving a discount indiscrimately. The discount is showing up without inputing the code.
  17. Okay, I did a test and while the discount works in the shopping cart, we don't see the correct amount in the checkout page. The discount is not reflected in the total amount. What did I forget to do?
  18. Okay, seems to be working now. The problems were that I needed to be sure that the coupon code case was the same in both the account.php and shopping cart.php files. Works great now. I'll post a message shortly that has instructions all in one shot so we don't have to go sorting and pasting and figuring out what goes where and stuff.
  19. With some tweaking I was able to fix all the errors (my site is moderately modded). Now to adding the coupon code codes from previous posts. Wish me luck.
  20. I'm also getting this after inserting the coupon code: Fatal error: Call to undefined function: easy_discount_display() in /home/aanddclo/public_html/osCommerce/catalog/shopping_cart.php on line 189 Really at loss as to how to fix these errors. The file 'easy_discount.php' is in the includes/functions/ folder I've installed all files and made code changes based on the downloaded package and from 'EWW' posts. Please advise, as my site is functioning and online (and showing the errors on the pages). After we get these issues resolved, I may make notes so others can use them to do the same thing that I'm trying to accomplish.
  21. Okay, added the codes to respective files. Having this error on the shopping cart page: Warning: main(DIR_WS_FUNCTIONSeasy_discount.php): failed to open stream: No such file or directory in /home/aanddclo/public_html/osCommerce/catalog/shopping_cart.php on line 12 Warning: main(): Failed opening 'DIR_WS_FUNCTIONSeasy_discount.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/aanddclo/public_html/osCommerce/catalog/shopping_cart.php on line 12 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/aanddclo/public_html/osCommerce/catalog/shopping_cart.php:12) in /home/aanddclo/public_html/osCommerce/catalog/includes/functions/sessions.php on line 67 also, in the 'install.txt' file #1 says to ' 1) add the files to their respective directory and install the module in admin modules->order totals' - what is the module and where is the admin modules folder.
  22. When I try to do an advanced search on your name, I'm bounced back to he main contrib support page. Must be a Mac thing. Well, I guess I'll have to wade through all 14 pages since no one seems to have the codes in a text file or anything as well as figure out which files need to have the code changes. Oh, this'll be fun.
  23. Okay, has anyone come up with codes to do this? if so does anyone have the code, or is there a section somewhere between the first page and this page that might have partial codes/codes that work?
  24. I've been reading up on the posts and I just want to clarify: I want customers (new and old) to be able to enter a special code when they order to get a discount on their order (promotional code). The discount would be valid for maybe 30 days. Does the current version (2/10/2006) have this code already in the files?
  25. I checked the contrib. It bases the discount on the number of items you've ordered or on a model/product number. Anyone know of another contirb?
×
×
  • Create New...