Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 5 votes

[Contribution] Discount Coupon Codes


3188 replies to this topic

#2641 jsalis

  • Community Member
  • 44 posts
  • Real Name:Jason Salis
  • Gender:Male
  • Location:Nevada City, CA

Posted 19 November 2009, 04:09

View PostAmarilla, on 19 November 2009, 02:15, said:

***I HAAVE NOW BEEN LOCKED OUT OF MY ADMIN PAGE BECAUSE OF THIS ERROR, DESPERATELY NEED TO GET IN**** ANY HELP WOULD BE WONDERFUL. THANKS!!
This contribution has nothing to do with the catalog/admin/login.php page has nothing to do with this contribution. I suspect however that your catalog/admin/includes/configure.php file is not correct. Try to navigate directly to login url for your store http://yourstore.com/catalog/admin/login.php for example and see what happens. If you do not get a 404 take a look at your catalog/admin/includes/configure.php file and see if any thing is messed up in there as far as the directory constants are concerned. Another place to look is filenames.php file, as it is entirely possible that the FILENAME_LOGIN constant is not properly defined. If you do get a 404 however, then ftp in and see if the login.php files is even present on the server.
From the message you provided I suspect that filenames.php and/or the configure.php file(s) have some constants not correctly defined and specifically the FILENAME_LOGIN constant simply isn't defined at all. Do tell what you find out.
-Jason
I run a completely customized osC2.2 RC1 shop with mostly custom modifications that replicate the features of many contributions available except in a way that the data is more easily synced with Quickbooks on a continuous basis.

#2642 spaniels1

  • Community Member
  • 10 posts
  • Real Name:Spaniels1

Posted 19 November 2009, 16:04

Hi there-

I have a new install of this contribution - eager to get it rockin - looks great!

I had to manually edit files, and have everything in place.

Two things not working quite right - thinking they are related.
In admin, when I try to edit, make new coupon, etc - not of that stuff, the buttons, do anything.
I cannot delete, create new, edit - nothing.
Also, in checkout, the test coupon that was the default - does nothing. Not working.

Been through the file edits twice. Actually three times, as I had a buddy help me do the same too - all three sets of files gave the same result.

Any ideas of where to start looking?

Thanks!

--Jeff

#2643 atomiksteve

  • Community Member
  • 1 posts
  • Real Name:Steve C.

Posted 19 November 2009, 19:33

Hello-

I have an urgent problem... any help is greatly appreciated!

I entered a discount code, but entered the wrong discount amount by accident. It is set to $0.30 instead of 30%. The coupon interface in the admin panel will not let me change anything on this coupon at all! I can edit all the older coupons, but not this one.

Does anyone know how I can unlock the edit features on this coupon? Do I have to change the amount in the SQL database?

Thanks in advance for any help!

#2644 Mort-lemur

  • Community Member
  • 899 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 22 November 2009, 14:14

Hi,

Sorry posted a question in the general support section on this by mistake :-(

Has anyone got this working with single page checkout contribution yet ?

Thanks
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#2645 tfoolen

  • Community Member
  • 45 posts
  • Real Name:Tom Foolen

Posted 23 November 2009, 14:09

Me again...

Fixed my previous problem, but got a new one: how do I get this to work when order_total is zero. Everything will do just fine untill it's payment time. checkout_confirmation.php will take you to my payment provider. This doesn't like zero amounts.

Anyone got an idea? Am I missing something?

Ciao,
Tom

#2646 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 23 November 2009, 16:04

This isn't a Discount Coupons issue- it's an osC issue. There is a contribution that allows checkout with $0.00 amounts without needing payment information. (I forget the name of the contribution, but if you search through the contributions for zero dollar checkout you should find it). Hope that helps :)

View Posttfoolen, on 23 November 2009, 14:09, said:

Me again...

Fixed my previous problem, but got a new one: how do I get this to work when order_total is zero. Everything will do just fine untill it's payment time. checkout_confirmation.php will take you to my payment provider. This doesn't like zero amounts.

Anyone got an idea? Am I missing something?

Ciao,
Tom

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics

#2647 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 23 November 2009, 16:05

This should be editable. The only part of a coupon that is not editable is the actual coupon code. You should be able to simply delete the coupon and then re-create it, but I would also double check your code as something must not be right for this to be happening.

View Postatomiksteve, on 19 November 2009, 19:33, said:

Hello-

I have an urgent problem... any help is greatly appreciated!

I entered a discount code, but entered the wrong discount amount by accident. It is set to $0.30 instead of 30%. The coupon interface in the admin panel will not let me change anything on this coupon at all! I can edit all the older coupons, but not this one.

Does anyone know how I can unlock the edit features on this coupon? Do I have to change the amount in the SQL database?

Thanks in advance for any help!

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics

#2648 spaniels1

  • Community Member
  • 10 posts
  • Real Name:Spaniels1

Posted 23 November 2009, 17:27

Hi there-

Just giving the issue a bump... Any ideas on which file to examine?
Where to look?

I know something is wrong, but may be something in my customized store or...?

Thanks!

--Jeff



View Postspaniels1, on 19 November 2009, 16:04, said:

Hi there-

I have a new install of this contribution - eager to get it rockin - looks great!

I had to manually edit files, and have everything in place.

Two things not working quite right - thinking they are related.
In admin, when I try to edit, make new coupon, etc - not of that stuff, the buttons, do anything.
I cannot delete, create new, edit - nothing.
Also, in checkout, the test coupon that was the default - does nothing. Not working.

Been through the file edits twice. Actually three times, as I had a buddy help me do the same too - all three sets of files gave the same result.

Any ideas of where to start looking?

Thanks!

--Jeff


#2649 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 23 November 2009, 18:05

I would do a file compare with a program like WinMerge just to make sure that you don't have some code in the wrong place on the page. Also, I might compare files with an older version of DCC to see if maybe something changed in a newer version that is then causing the problem.

What version of DCC are you using, and what version of osC are you running? Do you have other contributions installed?

View Postspaniels1, on 23 November 2009, 17:27, said:

Hi there-

Just giving the issue a bump... Any ideas on which file to examine?
Where to look?

I know something is wrong, but may be something in my customized store or...?

Thanks!

--Jeff

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics

#2650 spaniels1

  • Community Member
  • 10 posts
  • Real Name:Spaniels1

Posted 23 November 2009, 18:15

View PostTracyS, on 23 November 2009, 18:05, said:

I would do a file compare with a program like WinMerge just to make sure that you don't have some code in the wrong place on the page. Also, I might compare files with an older version of DCC to see if maybe something changed in a newer version that is then causing the problem.

What version of DCC are you using, and what version of osC are you running? Do you have other contributions installed?

Yep - running a couple of other contributions. SEO and Meta be two off the top of my head.
We ran those changes a few times - but seems odd that it won't properly let me administer them, and then I lose the code in checkout. I have a buddy who is a programmer helping me find the problem, but he's not that versed in Oscommerce.

Thanks!

--Jeff

#2651 spaniels1

  • Community Member
  • 10 posts
  • Real Name:Spaniels1

Posted 23 November 2009, 20:41

View Postspaniels1, on 23 November 2009, 18:15, said:

Yep - running a couple of other contributions. SEO and Meta be two off the top of my head.
We ran those changes a few times - but seems odd that it won't properly let me administer them, and then I lose the code in checkout. I have a buddy who is a programmer helping me find the problem, but he's not that versed in Oscommerce.

Thanks!

--Jeff


Btw - using 2.2 osc
And I am one version behind on DCC. If I add that new file (orders.php) it blows the whole store up.
In checkout - it just throws a blank screen.
Right now - it appears functional to the customer. But the codes won't actually deduct anything (the test code).
And, I cannot add new ones so it's just in a half-functional state at the moment.

Thanks!

--Jeff

#2652 fruchtge

  • Community Member
  • 15 posts
  • Real Name:Jens Honda
  • Gender:Male
  • Location:Berlin

Posted 25 November 2009, 11:25

Hi there,

I have one of those tax problems. I want to display all prices with tax. If I choose "Display discount with discounted tax applied" and make a coupon with percentage everything is calculated fine. But when I choose a fixed amount I have to enter the amont without Tax when i make i Coupon, thats not so fine becaue all of my fixed coupons are with tax.

I tryed a little, but i have no good PHP and JS skills. The thing that there is only on field for fixed n percentage amounts made me stuck. :-D

Well it´s not so urgent, but it would be nice for everyone who has Coupons with tax.
life long and knusper

#2653 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 25 November 2009, 14:58

First thing is to make sure whether or not the code for this contribution is changing any pages that have also been changed by another contribution. If so, you need to manually make the changes and not just upload the files. If the other contributions you have are easier to install, then I would suggest grabbing a stock osC 2.2 and uploading the files for the DCC Contribution - make sure that is functioning properly, and then add the other contributions. A program like WinMerge would probably be a big help for you and your friend ;)

View Postspaniels1, on 23 November 2009, 20:41, said:

Btw - using 2.2 osc
And I am one version behind on DCC. If I add that new file (orders.php) it blows the whole store up.
In checkout - it just throws a blank screen.
Right now - it appears functional to the customer. But the codes won't actually deduct anything (the test code).
And, I cannot add new ones so it's just in a half-functional state at the moment.

Thanks!

--Jeff

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics

#2654 smithec

  • Community Member
  • 2 posts
  • Real Name:Edward Smith

Posted 26 November 2009, 02:58

Hi, I'm having a bit of trouble with this module in our store. I've tried to search this thread but didn't find an answer, I do apologize if I missed a post and re posted this question. We are running osc 2.2 MS2 and DCC 3.34. I'm pretty familiar with the base osCommerce files but not so much with the Order Totals modules.

The install went fine and we've been using the module for about a month now, but this week the store owner decided to have a tiered sale where if you spend $25 you get 20% off, at $75 it jumps to 25% off and at $100 it jumps to 30% off. This seemed to working fine at first but now that I've tested it some more I find that I can get 30% off when I only have $16 in my cart. The order minimum doesn't seem to be getting enforced. I have added some additional debug messages to the top of each function so that I can trace the progress and I never see finalize_discount or check_coupons_min_order get called. I suspect that this is part of my issue, but I can't seem to find why they aren't being called.

Thanks for any help.

-Ed

Here is the debug info from the module
[coupon] => Array
(
[coupons_id] => 30off
[coupons_description] => 30% Off Orders Over $100
[coupons_discount_amount] => 0.30
[coupons_discount_type] => percent
[coupons_date_start] => 2009-11-25 00:00:00
[coupons_date_end] => 2010-01-01 00:00:00
[coupons_max_use] => 0
[coupons_min_order] => 100.0000
[coupons_min_order_type] => price
[coupons_number_available] => 0

[cart_info] => Array
(
[valid_products] => Array
(
[count] => 2
[line_items] => 2
[total] => 16.98
)

[total_products] => Array
(
[count] => 2
[line_items] => 2
[total] => 16.98
)


[debug] => Array
(
[0] => smithec: entering constructor
[1] => smithec: entering get_coupon
[2] => INFO: DISPLAY_PRICE_WITH_TAX = false
[3] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false
[4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true
[5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true
[6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 0
[7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true
[8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None
[9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = false
[10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6
[11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false
[12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false
[13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false
[14] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon [coupon_desc] applied
[15] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true
[16] => smithec: entering total_valid_products
[17] => smithec: entering is_allowed_product
[18] => smithec: entering is_allowed_product
[19] => smithec: entering calculate_discount
[20] => smithec: entering is_allowed_product
[21] => INFO: Product 3025 passed exclusion check. Discount 1.797 applied. (percent)
[22] => smithec: entering calculate_shown_price
[23] => INFO: Discount of 1.797 applied to product 3025 ($5.99).
[24] => smithec: entering apply_tax
[25] => INFO: Calculating tax on 4.193. Displayed price 4.193.
[26] => smithec: entering calculate_discount
[27] => smithec: entering is_allowed_product
[28] => INFO: Product 3014 passed exclusion check. Discount 3.297 applied. (percent)
[29] => smithec: entering calculate_shown_price
[30] => INFO: Discount of 3.297 applied to product 3014 ($10.99).
[31] => smithec: entering apply_tax
[32] => INFO: Calculating tax on 7.693. Displayed price 7.693.
[33] => smithec: entering verify_code
)

#2655 sackling

  • Community Member
  • 255 posts
  • Real Name:robert stein

Posted 27 November 2009, 14:53

I added all the code manually this time. I am still having to refresh the checkout_confirmation to get the coupon to show.

This happens with debug mode on or off.

The refresh codes for some reason bring me back to my sites homepage instead of just refreshing the page. I am not sure why. Very frustrating, I know this is hard to recreate and for the life of me I do not know why it is happening as it is working perfectly on another site of mine.

#2656 sackling

  • Community Member
  • 255 posts
  • Real Name:robert stein

Posted 27 November 2009, 16:25

View Postsackling, on 27 November 2009, 14:53, said:

I added all the code manually this time. I am still having to refresh the checkout_confirmation to get the coupon to show.

This happens with debug mode on or off.

The refresh codes for some reason bring me back to my sites homepage instead of just refreshing the page. I am not sure why. Very frustrating, I know this is hard to recreate and for the life of me I do not know why it is happening as it is working perfectly on another site of mine.

One more thing to say about this right now.. I am pretty sure the problem does not have to do with checkout_confirmation page so much as it does checkout_payment.

I say this because if I am in the same session after going to checkout confirmation once, then back to the card, I can change quantities and then the coupon code and checkout_confirmation will not require a refresh again. it takes the new coupon code.

Actually typing this out I don't think that narrows it to checkout payment. But just saying..

#2657 tfoolen

  • Community Member
  • 45 posts
  • Real Name:Tom Foolen

Posted 28 November 2009, 11:36

Hi all,

Does someone have this contrib working when the order_total is null/zero/0? In my case it will just go to my payment provider, while I would like it to go to checkout_success directly (or something like that).

Besides not working, I will have another problem: the discount is applied in checkout_payment.php. The customer has to choose a method of payment here. That would be a bit strange when the order_total is going to be zero. The next question therefore is: how can I apply the discount earlier in the process, in for example checkout_shipping? Then skip checkout_payment and directly go to confirmation.

It i obvious that the most important problem to solve is the first one.

Ciao,
Tom

#2658 jsalis

  • Community Member
  • 44 posts
  • Real Name:Jason Salis
  • Gender:Male
  • Location:Nevada City, CA

Posted 30 November 2009, 05:06

View Postsackling, on 27 November 2009, 16:25, said:

One more thing to say about this right now.. I am pretty sure the problem does not have to do with checkout_confirmation page so much as it does checkout_payment.

I say this because if I am in the same session after going to checkout confirmation once, then back to the card, I can change quantities and then the coupon code and checkout_confirmation will not require a refresh again. it takes the new coupon code.

Actually typing this out I don't think that narrows it to checkout payment. But just saying..
I think the refresh is taking you back to the store home page, because you have the main catalog directory specified as your base href in your head section. I did some experimenting when I realized that this is the default osC setup. I tried commenting out the base href line from the head section and presto it works. I still think it is better to get to the root of the problem, but hey there is a temporary fix. You will have to discover for yourself what osC components are justifying that base href. I cannot find any for this page in particular. Perhaps there are other pages that require this, and it was simply apply site wide. I have no idea on that one, but this is apparently why you are having trouble with the refresh issue.
I run a completely customized osC2.2 RC1 shop with mostly custom modifications that replicate the features of many contributions available except in a way that the data is more easily synced with Quickbooks on a continuous basis.

#2659 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 30 November 2009, 14:55

As far as I know DCC wasn't designed to do this. That would be a different contribution, but I am not sure at the moment what it would be called. I would search the word discount in the contributions and see what comes up - I know there is a price break discount module - maybe that is what you need for these types of sales?

View Postsmithec, on 26 November 2009, 02:58, said:

Hi, I'm having a bit of trouble with this module in our store. I've tried to search this thread but didn't find an answer, I do apologize if I missed a post and re posted this question. We are running osc 2.2 MS2 and DCC 3.34. I'm pretty familiar with the base osCommerce files but not so much with the Order Totals modules.

The install went fine and we've been using the module for about a month now, but this week the store owner decided to have a tiered sale where if you spend $25 you get 20% off, at $75 it jumps to 25% off and at $100 it jumps to 30% off. This seemed to working fine at first but now that I've tested it some more I find that I can get 30% off when I only have $16 in my cart. The order minimum doesn't seem to be getting enforced. I have added some additional debug messages to the top of each function so that I can trace the progress and I never see finalize_discount or check_coupons_min_order get called. I suspect that this is part of my issue, but I can't seem to find why they aren't being called.

Thanks for any help.

-Ed

Here is the debug info from the module
[coupon] => Array
(
[coupons_id] => 30off
[coupons_description] => 30% Off Orders Over $100
[coupons_discount_amount] => 0.30
[coupons_discount_type] => percent
[coupons_date_start] => 2009-11-25 00:00:00
[coupons_date_end] => 2010-01-01 00:00:00
[coupons_max_use] => 0
[coupons_min_order] => 100.0000
[coupons_min_order_type] => price
[coupons_number_available] => 0

[cart_info] => Array
(
[valid_products] => Array
(
[count] => 2
[line_items] => 2
[total] => 16.98
)

[total_products] => Array
(
[count] => 2
[line_items] => 2
[total] => 16.98
)


[debug] => Array
(
[0] => smithec: entering constructor
[1] => smithec: entering get_coupon
[2] => INFO: DISPLAY_PRICE_WITH_TAX = false
[3] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false
[4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true
[5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = true
[6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 0
[7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true
[8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None
[9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = false
[10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6
[11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false
[12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false
[13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = false
[14] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Discount Coupon [coupon_desc] applied
[15] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true
[16] => smithec: entering total_valid_products
[17] => smithec: entering is_allowed_product
[18] => smithec: entering is_allowed_product
[19] => smithec: entering calculate_discount
[20] => smithec: entering is_allowed_product
[21] => INFO: Product 3025 passed exclusion check. Discount 1.797 applied. (percent)
[22] => smithec: entering calculate_shown_price
[23] => INFO: Discount of 1.797 applied to product 3025 ($5.99).
[24] => smithec: entering apply_tax
[25] => INFO: Calculating tax on 4.193. Displayed price 4.193.
[26] => smithec: entering calculate_discount
[27] => smithec: entering is_allowed_product
[28] => INFO: Product 3014 passed exclusion check. Discount 3.297 applied. (percent)
[29] => smithec: entering calculate_shown_price
[30] => INFO: Discount of 3.297 applied to product 3014 ($10.99).
[31] => smithec: entering apply_tax
[32] => INFO: Calculating tax on 7.693. Displayed price 7.693.
[33] => smithec: entering verify_code
)

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics

#2660 TracyS

  • Community Member
  • 1,194 posts
  • Real Name:Tracy
  • Gender:Female
  • Location:U.S.

Posted 30 November 2009, 15:01

You have to install another contribution that allows you to checkout with a zero dollar amount without requiring payment info. I believe it's called "Free of Charge".

View Posttfoolen, on 28 November 2009, 11:36, said:

Hi all,

Does someone have this contrib working when the order_total is null/zero/0? In my case it will just go to my payment provider, while I would like it to go to checkout_success directly (or something like that).

Besides not working, I will have another problem: the discount is applied in checkout_payment.php. The customer has to choose a method of payment here. That would be a bit strange when the order_total is going to be zero. The next question therefore is: how can I apply the discount earlier in the process, in for example checkout_shipping? Then skip checkout_payment and directly go to confirmation.

It i obvious that the most important problem to solve is the first one.

Ciao,
Tom

~Tracy
Currently using: STS v4.5.8 with Header Tags Controller v2.6.3, Master Products v1.2, Separate Pricing Per Customer v 4.1.5, Hide Products and Categories from Customer Groups for SPPC , InfoBox Customizer, Discount Coupon Codes and Exclude Customer Groups for DCC, All Products, Tell Friend About Site too, Scrolling Specials Box, Ultimate SEO URL's, MS2-2.2 SiteMap, Product Sort, Customer Testimonials, Embed Links w/SID in Description, Minimum Order Amount, Free Shipping w/Minimum Amount, Cross Sell for MS2, Super Contact Us Enhancement + antirobot, Anti Robot Registration Validation, Agree2Terms, Customer Registration Report, Sales Report 2, Edit Auto Emails in Admin, Ad Tracker, Visitor Web Stats, Supertracker, Product Listing, Sales Tracker, How Did You Hear About Us, Order Editor, About Us, Country State Selector, Credit Card Number Encryption, Remove Credit Card Numbers, Links Manager II and Google Analytics