Migrating AWO coupons from VM1.1 to V3


  • Default avatar
    derekwebster    
     5 years ago
    0

    Hi, can anyone help me upgrade from VM 1.1 to V3. Finally took the plunge!!


    I have all my DB tables but not sure how to upgrade or Migrate the Old coupons & History etc

  • Your avatar
    seyi    
     5 years ago
    0

    Hello,

    More info needed.  What version of AwoCoupon are you using in Virtuemart 1.
  • Default avatar
    derekwebster    
     5 years ago
    0

    its version 2.3.6
  • Your avatar
    seyi    
     5 years ago
    0

    Ok, should be a relatively easy upgrade.  This assumes in your upgrade, your product_ids, category_ids, order_ids...etc are all still the same.

    This should work:
    • Install AwoCoupon 2.3.6 on your new site
    • In the database vm3 site delete all #__awocoupon tables and copy your old awocoupon tables to the vm3 site
    • In the database run the following query:
      UPDATE #__awocoupon SET estore="virtuemart";
      UPDATE #__awocoupon_history SET estore="virtuemart";
      UPDATE #__awocoupon_giftcert_product SET estore="virtuemart";
      UPDATE #__awocoupon_giftcert_code SET estore="virtuemart";
      UPDATE #__awocoupon_voucher_customer SET estore="virtuemart";

    • That should do it
    • If you have a later version of AwoCoupon  you can upgrade it directly



  • Default avatar
    derekwebster    
     5 years ago
    0

    Ok, I've done that - the tables were changed - I'm now getting a spinning loader.


    I think its loading my old licence file?


    I have a test URL right now - how can I change the licence file to reflect this

  • Your avatar
    seyi    
     5 years ago
    0

    What version of AwoCoupon is this?  Is this 3.x?  If so might just be loading some old js files, in which case clear your browser cache.
  • Default avatar
    derekwebster    
     5 years ago  last edited 5 years ago
    0

    Sorry for the delay, Yes this is V3.0 and im still getting this issue. Can you possibly have a look for me?
    Sorry for the delay, Yes this is V3.0 and im still getting this issue. Can you possibly have a look for me?
    Its actually breaking my front end now aswell

    0 Too few arguments to function AwoCoupon_Helper_Estore_Virtuemart1_Discount::cart_coupon_validate_auto(), 0 passed in /home/*****/public_html/plugins/vmpayment/awocoupon/awocoupon.php on line 52 and exactly 1 expected

  • Your avatar
    seyi    
     5 years ago
    0

    Can you access admin > awocoupon > configuration screen?  If so, go there and click the save button, then try the front end again.

    If on the config screen you see an 'estore' dropdown, make sure virtuemart, not virtuemart 1 is selected.