The installation instructions in all the versions of CCVG don't work for osCommerce 2.3.1... they are for RC2 which has many differences from 2.3.1 and there even are files that doesn't exist anymore.
Has anyone installed CCGV in 2.3.1?
Is there any clean 2.3.1 files with CCGV in them to replace? Any instructions?
I have this installed and working very well with the exception of the shopping cart box. Which is now under modules/boxes/bm_shopping_cart.php. The language quite different from the original boxes file, so I have not got that working yet. If you have been able to get this file working I would be very interested.
You installed it into osCommerce 2.3.1?
I started comparing files and editing the original 2.3.1... I manage to port all the admin part (which I'll contribute later) but I can't fin the way to place the box where the user inputs his coupon code.
Same here, I have all admin functions working and all catalog function except the shopping cart box. So it is useable. I am working on the shopping cart box but to no avail as of yet. Yes, I am working with osc v2.3.1.
I have all the changes for checkout_payment, it you would like them. I get the coupon redemption box for coupons as well as the tic box to apply gift voucher balance's. Both calculate correctly.
Can you send it please?
I will past checkout_payment here. I don't have time right now to add it. MVS changes are also on this in the source.
I also have account.php with all changes there as well. If you need.
echo ' <tr>' . "\n" .
' <td width="10%" class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
echo ' <td width="30%"class="main" align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . ' </td>' . "\n" .
echo ' <tr><td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td><td colspan=2>' . "\n" .
' <table border="0" cellpadding="2" cellspacing="0" width="100%"><tr class="moduleRow" onmouseover="rowOverEffect(this)" onclick="clearRadeos()" onmouseout="rowOutEffect(this)" >' . "\n" .
This is NOT A TEST SITE.
The contribution works perfectly. I will say that it was a straight 24 hours of code modifications, one page at a time, but well worth it.
I do have a full file set that I could clean up and contribute, but I'm working on so many things, that it would be a while before I could get to it.
I also have it installed and working with the exception of /includes/modules/boxes/bm_shopping_cart.php. I am receiving this error When logged in, with a gift voucher balance.
And no gift voucher information is displayed within the shopping cart box. Could you send me or post your changes for bm_shopping_cart.php? Thank you in advance.
$cart_contents_string .= '<tr><td colspan="2" style="padding-top: 5px; padding-bottom: 2px;">' . tep_draw_separator() . '</td></tr>' .
'<tr><td colspan="2" align="right">' . $currencies->format($cart->show_total()) . '</td></tr>' .
$data = '<div class="ui-widget infoBoxContainer">' .
'  <div class="ui-widget-header infoBoxHeading"><a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . MODULE_BOXES_SHOPPING_CART_BOX_TITLE . '</a></div>' .
'  ' . $cart_contents_string .
I may misunderstand what you're saying, so correct me if I'm wrong. You're talking about dropping files over an existing site that has already been modified in one way or another?
I installed this on a FRESH 2.3.1 site with NO modifications and it works.
If you have a site that has been modified in any way, it is not recommended that you just drop the files (for any contribution). File drops are only recommended for clean installs, and usually, it's best to pick the most complicated contribution to drop, because after that, everything else needs to be manually done.
And no, there's no way to customize a 'contribution' for a site that is already operating with modifications. Contributions are generic, and need to be customized on a site per site basis.
you have a couple files outside of the catalog dir, do i need to use those as well?
Umm, yep. That would definitely cause problems. I replaced a couple files, but apparently put them in the zip file and not necessarily in the correct directories. I uploaded the fix, and you should be able to drop this package right over what you already have.
Make sure you perform the sql query as well (found outside the catalog folder).
I got a clean install of osc 2.3.1 and i installed the CCGV module but i am not quit understanding how its works..
I create a product with a name "GIFT Voucher 25 euros" in the product model i put GIFT_25 and then i order it? Then i see it's in the queue when i release it, it's available to me. How do i use it in the store because the mail says you can mail this voucher to a friend etc, but there is nothing to mail right? Since it's a product and not a discount coupon code?
Doesn't look that good really... maybe you can provide me some help please?
When you log back in as a customer, the voucher balance will appear below the shopping cart box (located in the columns). As a customer, if you purchase something, then when you get to checkout, there will be a check box giving you the option of using the voucher balance. You can also email the gift voucher to someone else as a gift to them and they can use it. The thought is that if you're purchasing a gift voucher, then you're purchasing it as a gift for someone else, although you can also use it yourself if you choose. It is a product for sale. After it is purchased, it becomes a store credit - no coupon code required.
On what page are you having layout problems?
There was no detailed installation instructions with the original contribution, and none were made for this modification. The easiest way to install is to use a file compare tool. I personally think that's easier/faster than following line by line install instructions.
Now I needed to update a part of files. And I lost a part.
I did reinstall the files. when I use the original file checkout conformation I cannot enter the payment page.
If I use the file from my backup I get a original buton to redeam the code.
and the system after entering and pressing dous not work anymore.
I go directly to checkout without checking the code. Either with the redeam as the continue buton the result is the same.
I;m totaly stupid.... but a little help is welcome.
small add. when I upload the original file from the package. I can fill in the code and make a credit. How ever when I would like to Order Confirmation it is not possile. it seems to become an endless loop.
If you installed it and it worked, and then you made other changes to your files, then I'm afraid, you probably aren't going to find much help. This is the reason it is so important to backup your files before you make any changes that are too difficult to reverse and also to backup when you make changes, test them, and it does work. Once you go losing and replacing things, there is no telling what went wrong.
What you're talking about is a redirect loop. Your script is redirecting back and forth between two pages (it could even be going through 3 or 4 pages) until it times out and gives you the redirect error. Things that cause a redirect are empty shopping cart, zero order total, not selecting a payment method, or a shipping method, etc... In those cases, it'll send you back to the shopping cart or the checkout. I've only encountered the loop when using one page checkout, which (when certain conditions happen) redirects to checkout_shipping.php, which in turn redirects back to checkout.php. In my case it occurred because the cart contained only free items. I'm not sure what would cause it if you're using the regular checkout.