Jump to content
Strider

Credit Class/Gift Vouchers/Discount Coupons 5.10

Recommended Posts

Thanks for the info!

 

I should have mentioned in my original post that I only want to use the coupon portion of the contribution, not gift vouchers. All I want to do is setup 'simple' 10% off, 20% off, et. coupon codes. Any thoughts as to whether or not a particular version of CCGV is more stable for just Discount Coupons? Or does the same answer apply regardless of what I need the contribution for?

 

Thanks again!

 

-- Josh

 

I think if you use the latest contribution you will have fairly good luck (personal opinon). Just make sure to backup the database and all files first and do all this on a development site and test test test.

Joe

Share this post


Link to post
Share on other sites
Yeah - I'm the same issue with a new install and 5.151a install.. I'm looking into it..

$testing= $GLOBALS['ot_gv']->mod_process(); <-- This looks to be the issue.

If I print_r $GLOBAL - variable ot_gv doesn't exsist.

 

The only ot vars available are:

[ot_subtotal] => ot_subtotal Object

(

[title] => Sub-Total

[output] => Array

(

)

 

 => ot_subtotal

[description] => Order Sub-Total

[enabled] => 1

[sort_order] => 1

)

 

[ot_tax] => ot_tax Object

(

[title] => Tax

[output] => Array

(

)

 

[code] => ot_tax

[description] => Order Tax

[enabled] => 1

[sort_order] => 3

)

 

[ot_shipping] => ot_shipping Object

(

[title] => Shipping

[output] => Array

(

)

 

[code] => ot_shipping

[description] => Order Shipping Cost

[enabled] => 1

[sort_order] => 2

)

 

[ot_total] => ot_total Object

(

[title] => Total

[output] => Array

(

)

 

[code] => ot_total

[description] => Order Total

[enabled] => 1

[sort_order] => 4

)

Edited by ellisgl

Share this post


Link to post
Share on other sites

How to customize display of CCGV table that appears on the checkout_payment.php page?

 

I cant seem to find where to edit the code of how the table appears. The way it displays is not how I think it should look. I redesigned it in dreamweaver and this is the code. Can someone help me out and tell me how I can implement my new design of how the CCGV table displays on checkout_payment.php?

 

This would be very much appreciated! :thumbsup:

 

Here is my redesigned code:

<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
 <tr class="infoBoxContents"><td><table border="0" width="100%" cellspacing="0" cellpadding="2">
   <td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
	   <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="moduleRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" >
  <td colspan="3"><div align="left"><b>Gift Vouchers/Discount Coupons:</b></div></td>
  <td width="10"> </td>
</tr>
<tr class="moduleRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" >
  <td colspan="3" align="left"><div align="left">Enter Coupon Code:  
   <input type="text" name="gv_redeem_code">
 <input type="image" name="submit_redeem" onClick="return check_form(), submitFunction()" src="includes/languages/english/images/buttons/button_redeem.gif" class="contbutton" alt="IMAGE_REDEEM_VOUCHER" title = "IMAGE_REDEEM_VOUCHER">
  </div></td>
  <td> </td>
</tr>
<tr class="moduleRow" onMouseOver="rowOverEffect(this)" onMouseOut="rowOutEffect(this)" >
  <td colspan="3" align="left"><div align="left">Check to use Gift Voucher balance: 
 <input type="checkbox" onClick="return check_form(), submitFunction()" name="cot_gv">
  </div></td>
  <td> </td>
</tr>

<td width="10"></tr><tr><td class="main">
  </td>
					   </table></td><td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td></tr></table></td></tr></table>

Share this post


Link to post
Share on other sites

CCGV 5.12a2 Part 1 and 2

 

has anyone got a copy of the files? unable to download them from contributions list there errors with file downloads.

 

plus has anyone got it installed? any present problems or all is ok?

Share this post


Link to post
Share on other sites
CCGV 5.12a2 Part 1 and 2

 

has anyone got a copy of the files? unable to download them from contributions list there errors with file downloads.

 

plus has anyone got it installed? any present problems or all is ok?

 

I downloaded and installed it with no apparent problems. I am absolutely, completely, totally new to this, so if I could do it, anyone can. :)

Share this post


Link to post
Share on other sites
Do you have the gift vouchers set up as actual products?

 

First are they installed? You have to make sure you go to the admin panel>modules>order total and install both gift vouchers and coupons and then check their settings by highlighting them and clicking edit. It is good idea to queue the vouchers to make sure you receive payment beofre releasing them.

 

Then you need to make a category for them like any other product. I have 'Gift Vouchers' as a category then I insert 'new product' and assign the value of the voucher in 'Products Price' (as per the install instructions) where the 'Products Model' you put the word GIFT in caps with whatever denominaiton you want it to be worth GIFT5 ..... GIFT10 .... GIFT15 etc. Also set the weight to 0

 

Then on the catalog page you will see a category to purchase the gift voucher where customers can add them to the cart like any other product in your store. Once you receive confirmation of the order you go to the admin panel and go to 'vouchers/coupons' and select Gift Voucher Queue and select confrim (if you queue the vouchers). hope this helps

 

Maddie

 

Hi , I have follow the instruction above , but when I purchased the gift voucher, i found nothing in the gift queue , is there any problem.(i have set download enable , and queue vouchers),

thanks

Share this post


Link to post
Share on other sites
Did you sort this out, I'm having the same problem (vanilla store, right version of checkout_payment) Here's what I get when I 'view source' (without identifying stuff):

 

<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
var selected;
var submitter = null;
function submitFunction() {
  submitter = 1;
  }
function selectRowEffect(object, buttonSelect) {

 // #################### Begin Added CGV JONYO ######################
 if (!document.checkout_payment.payment[0].disabled){
 // #################### End Added CGV JONYO ######################
if (!selected) {

if (document.getElementById) {
  selected = document.getElementById('defaultSelected');
} else {
  selected = document.all['defaultSelected'];
}
 }

 if (selected) selected.className = 'moduleRow';
 object.className = 'moduleRowSelected';
 selected = object;

// one button is not an array
 if (document.checkout_payment.payment[0]) {
document.checkout_payment.payment[buttonSelect].checked=true;
 } else {
document.checkout_payment.payment.checked=true;
 }
// #################### Begin Added CGV JONYO ######################
 }
// #################### End Added CGV JONYO ######################
}

function rowOverEffect(object) {

 if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}

function rowOutEffect(object) {
 if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
<br />
<b>Fatal error</b>:  Call to a member function on a non-object in <b>/home/evidence/public_html/copyshop/checkout_payment.php</b> on line <b>174</b><br />

 

If anyone knows when molafish will be ready to release the pulled-together update I'd really really like to know... I'm also wondering how it's so hard to get this thing to work, though my php skills are rudimentary at best...

 

Comment out lines 174 and 175 and it appears to work..

Share this post


Link to post
Share on other sites
CCGV 5.12a2 Part 1 and 2

 

has anyone got a copy of the files? unable to download them from contributions list there errors with file downloads.

 

plus has anyone got it installed? any present problems or all is ok?

 

What sort of errors with the downloads?

 

Did you change the file extension as instructed?


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
Comment out lines 174 and 175 and it appears to work..

 

Thanks, what worked for me in the end was *cough* reading the flippin' manual and installing the modules in the order-total section. Was just a shame when I copied it to my live site that I somehow overwrote my filenames file removing references to paypal and nochex. Sorted now and apparently working a treat :) Need to sort out the tables for the redemption box now but that can wait.

 

Thanks again

Share this post


Link to post
Share on other sites
What sort of errors with the downloads?

 

Did you change the file extension as instructed?

 

 

Trying to open the newest contribution CCGV 5.12a2 Part 1 can open part 2.

 

Did you change the file extension as instructed?

there is no zip extension to change its rar plus it says the file is empty.

 

 

could some one download it or send the the files by email please send to godino31@yahoo.co.uk

 

 

What versions are you using at present?

Share this post


Link to post
Share on other sites
Trying to open the newest contribution CCGV 5.12a2 Part 1 can open part 2.

 

Did you change the file extension as instructed?

there is no zip extension to change its rar plus it says the file is empty.

could some one download it or send the the files by email please send to godino31@yahoo.co.uk

What versions are you using at present?

 

I will e-mail you part 2.

 

The downloaded file names are

CCGV1.51a2-part1.rar.zip

CCGV1.51a2-part2.zip

 

I will send you CCGV1.51a2-part1.rar ie the .zip is removed.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
I will e-mail you part 2.

 

The downloaded file names are

CCGV1.51a2-part1.rar.zip

CCGV1.51a2-part2.zip

 

I will send you CCGV1.51a2-part1.rar ie the .zip is removed.

 

Just tested the download file for both. Part2 just needs to be renamed from .zip to .rar and it will open no problem.

 

-- Mindy

Share this post


Link to post
Share on other sites

I don't know about anyone else here, but this contribution SUCKS

 

Absolute MESS.

 

Very Problematic.

 

 

First you need to jump through loops to understand the contribution downloads.

 

Then... the install instructions and actual install is different.

 

To top it all off... it screws everything up.

 

 

Freaking Shame. :angry:

Share this post


Link to post
Share on other sites

I totally agree on this,

publishing distributions this way must be stopped. It is an insult to the open source community. This hasn't been tested very well (if at all) before publishing in the first place. Going trhough the forum I can't imagine anyone having this contrib working fully. Now community members like Shane Jackson are cleaning up the mess. This contrib is a waste of community effort.....

But I still hope it'll work out one day, I like the idea of this contrib for my shop.........

 

Hubert

 

I don't know about anyone else here, but this contribution SUCKS

 

Absolute MESS.

 

Very Problematic.

First you need to jump through loops to understand the contribution downloads.

 

Then... the install instructions and actual install is different.

 

To top it all off... it screws everything up.

Freaking Shame. :angry:

Edited by sokos

Share this post


Link to post
Share on other sites
I don't know about anyone else here, but this contribution SUCKS

 

Absolute MESS.

 

Very Problematic.

First you need to jump through loops to understand the contribution downloads.

 

Then... the install instructions and actual install is different.

 

To top it all off... it screws everything up.

Freaking Shame. :angry:

 

I wasn't going to respond to this, but..

Pity that you didn't say what version you were installing.

 

I found the latest version to be satisfactory.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
I totally agree on this,

publishing distributions this way must be stopped. It is an insult to the open source community. This hasn't been tested very well (if at all) before publishing in the first place. Going trhough the forum I can't imagine anyone having this contrib working fully. Now community members like Shane Jackson are cleaning up the mess. This contrib is a waste of community effort.....

But I still hope it'll work out one day, I like the idea of this contrib for my shop.........

 

Hubert

 

I have no idea what you mean.

 

Did you try the latest version?


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

I'm having a problem unzipping Part 1. It says it can't get the contents of the file. I did rename it to remove the .zip. I can unzip part 2 just fine. Can anyone send me part 1?


Tara Lang

Share this post


Link to post
Share on other sites
I wasn't going to respond to this, but..

Pity that you didn't say what version you were installing.

 

I found the latest version to be satisfactory.

 

I first downloaded CCGV 5.12a2 Part 1

No install instructions or sql, so got the CCGV 5.15a (Full Package).

 

Tried them... nothing but problems.

 

 

Then, got CCGV 5.15a2 Part 1 and part 2

 

Started fresh and it had the best results. But... the calculations are not right.

 

So ... a waste of time.

Share this post


Link to post
Share on other sites
I'm having a problem unzipping Part 1. It says it can't get the contents of the file. I did rename it to remove the .zip. I can unzip part 2 just fine. Can anyone send me part 1?

 

You need winrar to extract the files.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

So I need to download an older version of the mod just because I don't have WinRar? Can't someone zip it and upload it that way? Please? I'd appreciate it.


Tara Lang

Share this post


Link to post
Share on other sites
So I need to download an older version of the mod just because I don't have WinRar? Can't someone zip it and upload it that way? Please? I'd appreciate it.

 

Just download winrar from the internet and install it.

 

As stated previously, the file is in rar format because the zip version was too big to upload to the contrib area.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

A Successful Installation!!!

 

I don't post much, but after completing an installation of CCGV 5.15, I feel the need to shout it out!

 

Was it easy? Absolutely not. Did it work right away? Definitely not. Was it easy to troubleshoot? No.

 

I think most of my problems were typical of many that were mentioned in this phorum. Mainly problems with Shipping and Payment processing. The cart shipping method was Table shipping by price, and the Payment methods being used were Basic Credit Card and PayPal.

 

I installed this on a shop I originally created for a client. I probably made less than minimum wage if you calculate hours vs. original quote, but next time around I'll have a better understanding of how this contribution actually works.

 

Site can be seen at www.popcornpottery.com/catalog/

 

Best of luck to all others working on this mountain of a contribution! :D

Share this post


Link to post
Share on other sites

Hi

I have installed the lasted version of this contrib. and have installed it on a cart with many other contr. on it. I have worked through a few glitches but am having a problem in the check out. First I can't seen to get the shipping charge to not go on th GV order and when I get to the confirm order and go to the checkout_process.php page I get this error

 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/p/i/e/piecesof/html/shopping/includes/functions/database.php on line 103

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p/i/e/piecesof/html/shopping/includes/functions/database.php:103) in /home/content/p/i/e/piecesof/html/shopping/includes/functions/general.php on line 55

 

I tried to find it in the discussion but couldn't. Any help would be greatly appreciated.

Thanks

Shelby :huh:

Share this post


Link to post
Share on other sites
I totally agree on this,

publishing distributions this way must be stopped. It is an insult to the open source community. This hasn't been tested very well (if at all) before publishing in the first place. Going trhough the forum I can't imagine anyone having this contrib working fully. Now community members like Shane Jackson are cleaning up the mess. This contrib is a waste of community effort.....

But I still hope it'll work out one day, I like the idea of this contrib for my shop.........

 

Hubert

 

Let me be the first to say that bashing this contribution is not going to do anything but piss the people working on it off!

 

As I have said before - I am not a coder. All I did was look up all the fixes on big bugs and while I was fixing my install I went ahead and put them in a repack so it would save people time........

 

Now I get all sorts of emails asking me questions on the contribution..... Most of the time i's from users that didnt take the time to read the instructions...."Part 1 will not open...."

 

If you have a problem with this contribution either ask for help or restore from the backup you made and dont use it! Dont come here and bitch.....

Share this post


Link to post
Share on other sites
Let me be the first to say that bashing this contribution is not going to do anything but piss the people working on it off!

 

As I have said before - I am not a coder. All I did was look up all the fixes on big bugs and while I was fixing my install I went ahead and put them in a repack so it would save people time........

 

Now I get all sorts of emails asking me questions on the contribution..... Most of the time i's from users that didnt take the time to read the instructions...."Part 1 will not open...."

 

If you have a problem with this contribution either ask for help or restore from the backup you made and dont use it! Dont come here and bitch.....

 

Thanks Shane, I couldn't agree more. As always, back up your files and database before making changes.

 

It is helpful if people asked specific questions, and gave details of what they are doing. Generalisations do not help.

 

It was mainly through your efforts (and Primadudes) that I finally got this working.

 

I know that a lot of people put a great deal of time and effort into this contrib, and their efforts are greatly appreciated by me and many others.

 

I would like to say that I had a lot of trouble getting CCGV to work, and I spent over 4 weeks solid on it. I have installed over 40 contribs to my new store, so I am not a novice, but I am not a coder.

 

As it turned out, one of my standard OSC files differed from the stock OSC files and these differences were not CCGV related.

 

Also, it is very easy to make mistakes (despite checking the mods that have been made). There a many files that need to be changed to get CCGV to work. It is difficult to document everything, and some experimentation is mandatory.

 

Some people also need to be aware of how to install an sql file. There are many instructions on the OSC forum about how to do this. If they cannot find them, they can ask their web hosting company how to do it.

 

Finally, if people can't open a file because they have not bothered to download and install winrar or equivalent, I am happy to provide them with the zip file. They do need to provide their e-mail address for me to do this (I will not ask for it).


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×