Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OrderCheck v1.5 And CCGV Coupon Gift Vouchers v5_13


Recommended Posts

Hi

 

(first post for me - although the forum is hugely useful - and am a Java programmer so forgive me if I wander off protocol unintentionally)

 

I have integrated ccgv (Gift Vouchers) onto OSC 2.2, all good. Then later I have applied OrderCheck module, first over a virgin version of the site, then over the version with ccgv installed.

 

The two operate fine on their own as far as I can see, but when working together the OrderTotal module calls the process() method on each order_total module, I guess to calculate running totals :

 

From ordercheck_functions.php:

 

$order_totals = $order_total_modules->process();

 

Usually it would appear that this method can be called multiple times on a given Order_Total module with no side effect, but with the Gift Vouchers module mods present, each order total element in the checkout_confirmation.php page is displayed twice, with the Gift Voucher discount being applied twice (this only reveals itself on the payment page).

 

I suspect the problem to be a patch on ccgv and how it affects values in $GLOBALS : I am using v5_13 but have tried v5_15a2 with no improvement.

 

Is anyone able to offer any pointers on this? Any help very much appreciated

 

cheers

 

Phil

Never Knowingly Understood

Link to comment
Share on other sites

  • 2 months 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...