Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by ys4uno

  1. here, i post the line between 82-97 ,in payment.php (include/class)



    // Start - CREDIT CLASS Gift Voucher Contribution

    // function javascript_validation() {

    function javascript_validation($coversAll) {

    //added the $coversAll to be able to pass whether or not the voucher will cover the whole

    //price or not. If it does, then let checkout proceed when just it is passed.

    $js = '';

    if (is_array($this->modules)) {

    if ($coversAll) {

    $addThis='if (document.checkout_payment.cot_gv.checked) {

    line 91=> payment_value='cot_gv';

    } else ';

    } else {



    // End - CREDIT CLASS Gift Voucher Contribution

  2. hello ,


    i am very pretty new on oscommerce and have very basic knowledge about php, currently i try to run a oscommerce store, and tried to intall some useful addons .


    i find CCGV and intalled on my oscommerce. but after installation , when i click " Check Out " button, on the payment page, it shows me the following messgae:


    Parse error: syntax error, unexpected T_STRING in /home/aovieu/public_html/includes/classes/payment.php on line 91



    any idea about how this happened ? and how to fix it ?


    many thanks for the help