Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Discount Coupon Codes


kgt

Recommended Posts

Hello!

I have a problem everytime I go to Catalog -> coupons in admin site I got this error

 

On that line In currencies.php is this

 

// TABLES: currencies

class currencies {

var $currencies;

 

coupons.jpg

 

someone who know what the problem can be??

Link to comment
Share on other sites

Hello EveryOne,

I installed the coupon module Version 3.31.all is working fine except this 2 problems.

 

i have an problem in customer exclusion.can somebody help me out?

The problem is when i exclude some customer from that particular coupon,even then that coupon is applied to that excluded customer.What may be The PROBLEM?

 

Also,

When i set the minimum order to 200 the customers are getting the benifits of that coupon even when they purchase products less than 200.What is the problem?

 

Can someBody please help me out?

Link to comment
Share on other sites

Hi!

 

I ask for excuses for my language in English.

 

I have the contribution installed in my web page. I have searched in the forum in Spanish but I have not found the solution to my problem.

 

This contribution me works very well, but when I want to visualize the order(request) realized by my client with the applied(hardworking) discount this is what I see:imagen1.jpg

 

In the catalogue the perfect order(request) appears. The client receives the perfect e-mail. I receive the perfect included payment of the goods the discount.

 

I have checked the installation of the contribution often, but I do not find the mistake.

 

When a normal order is realized, everything goes perfectly enclosedly in the section of the manager.

 

can you to help myself?

Link to comment
Share on other sites

Hi, I have been using this contribution for a while now and it workd great, but I have a problem.

 

I have disount cards that I want not to change the shipping and tax settings. I want to give a free gift coupon that has no charge including tas and shipping.

 

How do I do this?

 

Rcik

Link to comment
Share on other sites

Hi!

 

I ask for excuses for my language in English.

 

I have the contribution installed in my web page. I have searched in the forum in Spanish but I have not found the solution to my problem.

 

This contribution me works very well, but when I want to visualize the order(request) realized by my client with the applied(hardworking) discount this is what I see:imagen1.jpg

 

In the catalogue the perfect order(request) appears. The client receives the perfect e-mail. I receive the perfect included payment of the goods the discount.

 

I have checked the installation of the contribution often, but I do not find the mistake.

 

When a normal order is realized, everything goes perfectly enclosedly in the section of the manager.

 

can you to help myself?

 

 

I am investigated

I have tested. I have put a version "zero" of the program oscommerce and installed only this contribution. (" Coupons with discount discount_coupon_codes 3.19)

Well, so(then) since(as,like) he is a logician, here it works. Despues I have done a safety copy and I her(it) have removed to the version that this in Internet. Since it(he,she) is normal, they have gone out for me a sponger of failures(judgements), but all related to the base of information, of things that were absent, etc. Of contributions that logically estan installed and they are called the files to the database.

 

I have arranging the database installing only the files .sql as(according to) me salian the failures(judgements) and I have managed to make a purchase with discount and check that it works with the same files that in the "good" version it does not work. Which wants to say that the mistake this one in to database.

 

Can I do now?

Link to comment
Share on other sites

change:

$order_total = $this->cart_info['total_products']['total'];

 

to:

$order_total = $cart_info['total_products']['total'];

 

and its solved.

My server has recently been upgraded to php5 and discount coupons are now not showing on checkout_confirmation page unless I refresh my page. Is the above fix for this problem and if so where is the relevant code found? (I searched and could not find it anywhere in my site )

Link to comment
Share on other sites

  • 2 weeks later...

I have been using this contribution for quite a while and it has been working great. I have about a dozen coupons. the problem is that with 3 of the coupons, the edit feature does not show up and I can't change or delete them.

 

Any ideas?

Link to comment
Share on other sites

I'm having some problems with my website and the Discount Codes. I uploaded the files for the Dicount Code and I can create the Discount Codes through the Admin. Everyting looks good there. the problem is when you chose a product and proceed to check I get the shipping page I chose the shipping and click continue, then I get this error.

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home2/marketro/public_html/includes/header.php:228) in /home2/marketro/public_html/includes/boxes/categories.php on line 13

 

I get this when you reach the https://market-row.com/checkout_payment.php page.

 

No one can checkout with this error.

 

Thanks

Corey

Link to comment
Share on other sites

Just curious:

 

Has anyone come up with a way to apply a product and shipping discount on the same coupon? (such as 10% off product price plus free shipping)

 

Has anyone figured out how to get the recalculate shipping charge function working properly? I had to turn mine off as it didn't function correctly if the customer entered a discount which changed shipping, was redirected for the new shipping, and then chose not to enter the discount code. It wouldn't re-calculate.

~Tracy
 

Link to comment
Share on other sites

Hello!

I have a problem everytime I go to Catalog -> coupons in admin site I got this error

 

On that line In currencies.php is this

 

// TABLES: currencies

class currencies {

var $currencies;

 

coupons.jpg

 

someone who know what the problem can be??

 

Is it someone who know about this problem? I cant find it out:\

Link to comment
Share on other sites

Looks like a really great contribution - I downloaded the zip file and read the coupons_manual.html file included in the package.

 

It references users to view the included install.html file - which is not included in the 3.32 package.

 

Any one know where to find a recent install.html file for this contribution?

 

I tried searching this thread using "install.html" - without success.

 

Regards,

Gaver

diplomacy is the art of saying "nice doggie" - while you look for a rock.

Link to comment
Share on other sites

Hi what a brilliant contribution.

I'm fairly new to oscommerce i started working with it last Friday and have no other experience working with php.

I'm working on my local computer before i launch it online.

and have come up with a problem after Ive installed coupon codes.

every thing works how it should its just when the customer enters the payment information, confirmation, finished sections.

the main background turns black when it should be white.

 

Any idea what the problem could be.

I'm working with three languages and the same problem occurs on each one.

 

look forward to a reply.

Thanks :rolleyes:

Link to comment
Share on other sites

When I go to this page to download Discount Coupon Codes... which one do i download? I am assuming I should download Discount Coupon Codes 3.3 ,date: June 4th 2007. Am I correct? Thanks

 

 

Looks like this isn't being moderated any more. Does anyone know where else to go to get help?

 

Thanks

Link to comment
Share on other sites

Has anyone had any luck getting this to work with PayPal IPN 2.3.3? I've added the code from "Paypal IPN w/ Discount Coupons Updated" posted back in January and it still doesn't work.

 

 

on the same boat here, found any solutions?

Link to comment
Share on other sites

Hello to all,

 

I have installed this contribution and everything is working except that the discount is being added to the subtotal...

 

Any idea of what could it be?

 

Regards,

David

 

Download this fix and apply per instructions. It worked for me.

 

Bug Fix for subtotals problem

 

-=Charles

Link to comment
Share on other sites

Download this fix and apply per instructions. It worked for me.

 

Bug Fix for subtotals problem

 

-=Charles

 

 

Hello Charles,

 

Thanks for your help

 

However my problem is different, the discount is not applied at all, the instead it is ++ to the amount...

 

Regards,

David

Edited by drtduarte
Link to comment
Share on other sites

My discount coupon is applied this way

 

Product price 345€

 

Discount 10% - 34,5

 

345-34,5=310,5

 

Than 310,5 is added to 345 so we get the subtotal of 655,5 :(

 

Here you have my debug

 

<!-- Discount Coupons DEBUG

order Object

(

[info] => Array

(

[order_status] => 1

[currency] => EUR

[currency_value] => 1.00000000

[payment_method] => Multibanco / Transferência Bancária

[cc_type] =>

[cc_owner] =>

[cc_number] =>

[cc_expires] =>

[shipping_method] => Portes (Correio Expresso)

[shipping_cost] => 10

[subtotal] => 655.5

[tax] => 0

[tax_groups] => Array

(

[Taxa desconhecida] => 0

)

 

[comments] =>

[total] => 631

)

 

[totals] => Array

(

)

 

[products] => Array

(

[0] => Array

(

[qty] => 1

[name] => TR4402

[model] =>

[tax] => 0

[tax_description] => Taxa desconhecida

[price] => 345.0000

[final_price] => 345

[weight] => 0.00

[id] => 64

)

 

)

 

[customer] => Array

(

[firstname] => David

[street_address2] => 118

[telephone] => 789456123

[lastname] => Daniel

[company] =>

[street_address] => Av. Rasosas

[suburb] =>

[city] => London

[postcode] => 2720

[state] =>

[zone_id] => 0

[country] => Array

(

[id] => 171

[title] => PT

[iso_code_2] => PT

[iso_code_3] => PRT

)

 

[format_id] => 1

[email_address] => [email protected]

)

 

[delivery] => Array

(

[firstname] => David

[street_address2] => 118

[telephone] => 789456123

[lastname] => Daniel

[company] =>

[street_address] => Av. Rosas

[suburb] =>

[city] => london

[postcode] => 2720

[state] =>

[zone_id] => 0

[country] => Array

(

[id] => 171

[title] => PT

[iso_code_2] => PT

[iso_code_3] => PRT

)

 

[country_id] => 171

[format_id] => 1

)

 

[content_type] => physical

[coupon] => discount_coupon Object

(

[messages] => Array

(

[debug] => Array

(

[0] => INFO: DISPLAY_PRICE_WITH_TAX = false

[1] => INFO: MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING = false

[2] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS = true

[3] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_SORT_ORDER = 2

[4] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TYPE = true

[5] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_SUBTOTAL = false

[6] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_TAX = None

[7] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_EXCLUDE_SPECIALS = true

[8] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_RANDOM_CODE_LENGTH = 6

[9] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_LINES = false

[10] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_ALLOW_NEGATIVE = false

[11] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_USE_LANGUAGE_FILE = true

[12] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DISPLAY_CONFIG = Valor do Desconto

[13] => INFO: MODULE_ORDER_TOTAL_DISCOUNT_COUPON_DEBUG = true

[14] => INFO: Product 64 passed exclusion check. Discount 34.5 applied. (percent)

[15] => INFO: Discount of 34.5 applied to product 64 ($345).

[16] => INFO: Calculating tax on 310.5. Displayed price 310.5.

[17] => INFO: Discount of 34.5 applied to order total.

)

 

)

 

[coupon] => Array

(

[coupons_id] => TESTE

[coupons_description] => Teste

[coupons_discount_amount] => 0.100000000000

[coupons_discount_type] => percent

[coupons_date_start] =>

[coupons_date_end] =>

[coupons_max_use] => 0

[coupons_min_order] => 0.0000

[coupons_min_order_type] =>

[coupons_number_available] => 0

)

 

[applied_discount] => Array

(

[Taxa desconhecida] => 34.5

)

 

[cart_info] => Array

(

[valid_products] => Array

(

[count] => 1

[line_items] => 1

[total] => 345

)

 

[total_products] => Array

(

[count] => 1

[line_items] => 1

[total] => 345

)

 

[exclusions] => Array

(

[categories] => Array

(

)

 

[products] => Array

(

)

 

[manufacturers] => Array

(

)

 

)

 

)

 

[discount_tax] => Array

(

[Taxa desconhecida] => 0

)

 

)

 

[billing] => Array

(

[firstname] => David

[street_address2] => 118

[telephone] => 789456123

[lastname] => Daniel

[company] =>

[street_address] => Av. Rosas

[suburb] =>

[city] => London

[postcode] => 2720

[state] =>

[zone_id] => 0

[country] => Array

(

[id] => 171

[title] => Portugal

[iso_code_2] => PT

[iso_code_3] => PRT

)

 

[country_id] => 171

[format_id] => 1

)

 

)

 

End Discount Coupons DEBUG-->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...