Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Gift Certificate.


Guest

Recommended Posts

greysun

 

You need to edit /includes/modules/shipping/table.php

 

line 44 should read

 

$order_total = $cart->show_total();

change this to

 

$order_total = $cart->show_total_virtual();

 

I've never tested this so your feedback would be appreciated

Trust me, I'm an Accountant.

Link to comment
Share on other sites

Even if I could just pass the shipping fee into the voucher account that would be ok. That way I could sell the vouchers + shipping and make a note that the shipping fee is added to the total of the voucher. Not sure if this is possible.

Of course it would be better if the shipping fee just wasn't there

Link to comment
Share on other sites

greysun

 

Sorry that did not work, not sure what you mean by second purchase of Gift Voucher. I never really got a chance to test the code so will do that, using your table rates and get back to you.

Trust me, I'm an Accountant.

Link to comment
Share on other sites

Ok, thank you for all your help

 

What I meant was in I went in a bought the first gift voucher after making the changes you suggested it charged $6.50 S&H then I went back in and decided to try it one more time and this time it charged $9 for shipping as if I had purchased over $100 as per my table

 

This is almost the last peice of the puzzle before the sight will be the way I need it. I really do appreciate your help

Link to comment
Share on other sites

Sorry for the delay,

 

First a bit of editing

open /catalog/includes/classes/shopping_cart.php

 

Find the lines

    function calculate() {

     $this->total = 0;

and add straight after this

      $this->total_virtual = 0;

 

also make sure you add 0:0,

to the begining of your table rate definition.

 

That should fix it.

Trust me, I'm an Accountant.

Link to comment
Share on other sites

It's in the contributions section. However I'm currently investigating a bug report concerning v3.1 which means you can't redeem a voucher at checkout.

 

If anyone else out there is using 3.1 could they please confirm or deny this. It may be an install issue with the person concerned rather than an actual bug.

 

If it is a bug, i'll have a fix sometime tonight.

Trust me, I'm an Accountant.

Link to comment
Share on other sites

Ian

 

It may be true, I installed this mod and cannot figure out how to use it at checkout. No option to use it, nor does it display anything related to gift voucher on the checkout_confirmation.php page.

 

Regards

Wayne

Link to comment
Share on other sites

This is probably because you have not enabled the module in admin.

 

Go to admin->modules->order_total and enable the gift voucher. Make sure you adjust the sort order of the order total modules.

Trust me, I'm an Accountant.

Link to comment
Share on other sites

Ian

 

It was enabled and it does not show any option to use the gift voucher when checking out. Please check my configuration for me if you have time. http://www.redtag.net/admin/ Send yourself a gift voucher and create an account and try to use it. If you need to see any files, let me know.

 

Information:

I have it set so it does not queue the GV.

I have your coupon contribution installed.

I have double and triple checked my installation steps.

Please play with it and help me find what's wrong.

 

Regards

Wayne

Link to comment
Share on other sites

Wayne,

 

Yep, definitely something wrong with your set up. Can you email me the following files

 

checkout_payment.php

/includes/classes/order_total.php

/includes/modules/order_total/ot_gv.php

Trust me, I'm an Accountant.

Link to comment
Share on other sites

  • 11 months later...

Hi

 

Did I miss something?

The only time a customer can buy/send a gift voucher is at checkout, if a customer does not buy something how will then send a gift voucher to a friend?

 

Is there a gift voucher infobox?

 

thanks

Jim

--------------------------------------------------------------------------

How can you tell when your out of invisible ink?

 

Of all the things I've lost, I miss my mind the most!

Link to comment
Share on other sites

  • 2 years later...

Hi Ian,

From reviewing the forums, you seem to be the guru.

I am trying to provide potential customers with a coupon code to use at checkout.

I installed ccgv 5.13

My problem is in the admin -->configuration page there is nothing about gv or discount welcome message. This is apparently the only place to add/edit the code that I want to give out to people. What have I done wrong, or do I need to do?

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