Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Credit Class/Gift Vouchers/Discount Coupons 5.10


Strider

Recommended Posts

Installed this today, but the coupons dont take any money off?

 

Ive just realised that it has some how 'removed' all my payment modules, i now have these back but its still not taking any money off?

 

Also the payment modules will only allow me to have one, so it says i have none installed, but i click on paypal express, and it says its installed and has all setting etc, so i uninstall and reinstall then its back.

 

I then do web payments paypal standard, and express disappears...

 

Any ideas?

Link to comment
Share on other sites

  • 2 months later...
  • Replies 4.8k
  • Created
  • Last Reply

Top Posters In This Topic

Hi all, i continue with the same problem described here:

http://forums.oscomm...ost__p__1509926

 

checkout_payment.php

<?php
// Start - CREDIT CLASS Gift Voucher Contribution
echo $order_total_modules->credit_selection();
// End - CREDIT CLASS Gift Voucher Contribution
?>

 

In /includes/modules/order_total/ot_gv.php

		$image_submit = '<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" border="0" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">';

 

 

In /includes/modules/order_total/ot_couponphp



 $selection_string .= TEXT_ENTER_GV_CODE . tep_draw_input_field('gv_redeem_code', 'redeem code') ;
 $selection_string .= ' ';
 $selection_string .= tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'onclick="return submitFunction()"');

 

 

 

I insert the code GIFT20 on the box, but clicking button_redeem.gif nothing happens!!!! Cannot redeem!

I dont know how to fix it.

Edited by bhbilbao
Link to comment
Share on other sites

See the problem:

<?php
// Start - CREDIT CLASS Gift Voucher Contribution
    echo $order_total_modules->credit_selection();
// End - CREDIT CLASS Gift Voucher Contribution
?>

 

That code must be inserted after

  echo $order_total_modules->sub_credit_selection();

 

pasting before doesnt work.

Link to comment
Share on other sites

  • 5 months later...

Hi all, i am using v2.2 RC2 and have CCGV 5.21 installed.

 

Need Help ........ how do i exclude special products from coupons ????? currently i guess you can only restrict to category and product........have looked through the whole forum but somehow havent come across any issue like that.

 

Hopefully some of ya'll have an answer to this

 

Cheers

Link to comment
Share on other sites

  • 4 months later...

Can someone please tell me how the coupon discount is passwd to paypal express? I've been unable to find what variable it is putting the discount amount in so that I can modify my paypal express to work with CCGV. Running OSC 2.2 RC2.

 

Thanks in advance!

Link to comment
Share on other sites

  • 1 year later...

I'm having an issue with coupons not being passed to PayPal. The coupons do show on the checkout_confirmation.php and are deducted from the totals. When the transaction is sent to PayPal the coupons don't show up and the order total does not reflect the coupon discount.

 

Coupon module: 5743

Paypal module: 5655 patched with 8763

 

Any help would be appreciated.

 

Thanks,

WSG

Link to comment
Share on other sites

  • 8 years later...

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...