Credit Class/Gift Vouchers/Discount Coupons 5.10
#1361
Posted 11 August 2004, 18:09
Simon
#1362
Posted 11 August 2004, 22:38
I'm about to take my first plunge into adding an osCommerce contrib, and I'm looking for some reassurance. I have the documentation for release 5.10, and I think it all makes sense, but I wanted to know if there were any additions or warnings from the community that I might do well to heed. Let me know if there's anything in particular I should check for or do that's not in the docs, and cross your fingers for me.
Banzai!
Dante
#1363
Posted 12 August 2004, 04:26
Sort order is correct... There is one file specific to ccgv that a lot of people have made small edits too but not posted a new version of CCGV... I was hoping you might be able to either release a bug free version or post snippets of code...
Thanks
Steve
#1364
Posted 12 August 2004, 04:44
#1365
Posted 12 August 2004, 15:59
I have read through many pages here but have not found a solution...anyone have any ideas? Thanks so much!
#1366
Posted 12 August 2004, 17:37
I am trying to utilize the coupon feature of the add-on. Installation and everything works great except for 1 problem.
The percentage discount for my coupon, calculates based off of the shipping instead of the product price.
For example:
1 pair of eyewear is $100
shipping is: $12
I set my coupon discount to 15% and it calculates $1.80 discount (which is 15% off of $12)
That happened with the settings at:
- Display Total: true
- Sort Order: any sort order it seems
- Include Shipping: true
- Include Tax: true & false
- Re-calculate Tax: None
- Tax Class: --none--
And it looks something like this:
Sub-Total: $100.00
Discount Coupons: -$1.80
Federal Express (Shipping and Handling Total): $12.00
Total: $110.20
Now if I turn off "Include Shipping" (aka. set it to false), because I don't want it to deduct the discount from shipping. Then the next time I test out the coupon, I get this:
Sub-Total: $100.00
Federal Express (Shipping and Handling Total): $12.00
Total: $112.00
This seems to me that the coupon is calculating the discount from the shipping instead of the product price.
Someone please give me some help as to where/what I can do to fix this.
Thank you.
EDIT: I tried running a search for anyone else who's had this problem, but after the first 10 pages of results, I just couldn't go on reading.
Edited by AmethystHaze, 12 August 2004, 17:38.
#1367
Posted 12 August 2004, 17:43
Edited by AmethystHaze, 12 August 2004, 17:44.
#1368
Posted 12 August 2004, 19:09
When I goto purchase a gift voucher, It's added to the cart just fine, but when it comes to the checkout payment type, whatever type I click gives me the following error....
Fatal error: Cannot redeclare class order_total in x:\x\include\classes\order_total.php on line 13
Can someone tell me how to fix this!?
Everything else seems to be working okay!
#1369
Posted 12 August 2004, 19:13
Thanks though.
#1370
Posted 12 August 2004, 19:14
#1371
Posted 13 August 2004, 14:37
My Question is regarding the actual certificate image. It is allways nice when you have somehting you can download and print off after recieving a voucher. Is there anyway for images or links to be sent to the reciepient where they can print off something ?
Just curious if anyone has played around with this.
Hugz
#1372
Posted 13 August 2004, 14:49
updmike, on Aug 13 2004, 02:37 PM, said:
My Question is regarding the actual certificate image. It is allways nice when you have somehting you can download and print off after recieving a voucher. Is there anyway for images or links to be sent to the reciepient where they can print off something ?
Just curious if anyone has played around with this.
Hugz
#1373
Posted 13 August 2004, 16:01
My other concern with this is that I do accept check/moneyorder so the vouchers are held in Queue prior to releasing them to make sure payment is actually made before coupon is spent.
I have been going through the forums looking now for info on virtual products...
#1374
Posted 13 August 2004, 16:04
The intrustions on this page say
Quote
But when I enter the % after the number I still get a $ discount when I redeem upon checkout..
Anyone know how to fix this up? I am using ver510c
Thanks..
#1375
Posted 15 August 2004, 00:41
the contribution in all its glory nowadays?
I have installed the latest release of the contribution on a heavily modified version of MS2.
The only problem I had was the need to change a line of gv_redeem.php from
> tep_redirect(FILENAME_DEFAULT);
to
< tep_redirect(tep_href_link(FILENAME_DEFAULT));
Otherwise I got messages indicating a recursive redirection when I tried to redeem gift
certificates. Now, no more problems that I am aware of, but I am concernced that things may
be missing.
For example, I havent found anywhere to acertain what the "current balance" is in the
gift account, and I dont see anything in the "install documentation" or GV FAQ that tells me
how to figure it out. There is no info about it printed in either the shopping cart, at checkout, or
in my "account information" page. And I cant find that information on the admin pages either.
Also, I couldnt get things to work until I enabled downloads and downloads by redirect.
At this point I have successfully issued myself gift vouchers and redeemed them so I think
most of the functionality is there, but it took more trial and error than I like, and I dont like the fact that I cant monitor the balance of the gift vouchers as a customer or an admin. I dont
really know whether it is working right or wrong at this point
If somebody clarifies, I would be happy to modify either the FAQ or the install.html file
as my contribution to the effort.
Thanks
Phil
#1376
Posted 16 August 2004, 16:08
$prodlist_size = sizeof($order->products);
$shipping_cost = number_format($order->info['shipping_cost']* $default_rate,2,'.',',');
$tax_total = number_format($order->info['tax'] * $default_rate,2,'.',',');
Thank you for any help
#1377
Posted 16 August 2004, 20:14
I installed the ccgv 5.10b, and all semed to go fine until I attempted to add an item to the cart, which then gives me the following error in the Shopping Cart infobox:
Fatal error: Call to undefined function: get_products() in /***/***/***/***/catalog/includes/boxes/shopping_cart.php on line 31
When I click to view my shopping cart contents, I get the following error:
Fatal error: Call to undefined function: get_products() in /***/***/***/***/catalog/shopping_cart.php on line 77
I do have a number of other contributions installed, and all had tested as working properly before I attempted the ccgv install, and as far as I can tell, still do.
After double checking my install, and looking over the code of the two error message files, I believe they are fine and that my error is in some other file... I'm no PHP genius though, and could be totally wrong! Can anybody help here?
#1378
Posted 16 August 2004, 20:43
updmike, on Aug 13 2004, 12:04 PM, said:
The intrustions on this page say
Quote
But when I enter the % after the number I still get a $ discount when I redeem upon checkout..
Anyone know how to fix this up? I am using ver510c
Thanks..
Would it make sense to take the code that makes the % work in version b and replace into version c?
Has anyone been able to discount a % and not $$ in version c ? Just curious or if I am really just running around in circles tryiig to get this to work..
Everyhting works fine, just it does not subtract % like described above..
#1379
Posted 16 August 2004, 21:16
I am pulling my hair out. I have recopied the files several times now, can create and edit coupons without any problem, but nowhere during the checkout process are you given a place to enter the coupon code.
#1380
Posted 16 August 2004, 21:36














