Jump to content

mattwhi

Members
  • Content count

    6
  • Joined

  • Last visited


Reputation Activity

  1. Like
    mattwhi got a reaction from gardenho in Credit Class & Gift Vouchers (CCGV) for 2.3.1   
    HI Guys,
     
    I have now a working version of this on my 2.3.1 modified version, there are no instructions as with other addons which specify where to input code its just a case of trying to merge your documents.
     
    From my experience I would strongly advise not to just upload the files included with the addon, go through each page and add the code where applicable to your existing pages, I did this by change a piece of code and uploading each time checking for errors, yes it takes a long time but it ensures your site does not go down and having to back track through tons of code.
     
    Finally one problem I found from this addon is it does not give the customer a balance of their current vouchers so I have added a simple piece of code to the checkout_payment.php
     

    <p>Your Coupon Amount is <strong><span style="font-size:14px">£<?php echo $gv_result['amount']; ?></span></strong></p>
     
    I have placed this under the following code:
     

    <div style="float: right;"> <?php echo '<strong>' . TITLE_PLEASE_SELECT . '</strong>'; ?> </div>
     
    Any comments about this would be great whether it is right or wrong or a better way to display this, I have only been doing PHP for a week now (forced to learn to be able to get this addon to work.
     
    Thanks for the great contribution.
×