Page 1 of 3 123 LastLast
Results 1 to 10 of 23
Like Tree2Likes

Thread: Listing upgrade to a different plan

  1. #1
    Thread Starter
    Rookie rodthegod's Avatar
    Join Date
    Aug 2013
    Location
    United Kingdom
    Posts
    7
    Thanks
    0
    Thanked 6 Times in 1 Post

    Listing upgrade to a different plan

    Hi,

    I needed to change the official way that vantage themes worked so that a free plan could be upgraded to a premium plan.
    Firstly my child theme is called vantage-sts1 so amend appropriately.
    It wasnt as hard as I expected, just took a while to figure out what was going on. Not bad for a Sunday.

    files changed:
    [added existing plans code to this child theme file]
    wp-content/themes/vantage-sts1/purchase-listing-existing.php

    [added some extra lines to this includes file]
    wp-content/themes/vantage/includes/listing-purchase.php
    ln:156
    $plans = $this->get_available_plans(); //added $plans so we can add other plans to appthemes_load_template
    if ($last_order = _va_get_pending_recurring_listing_order($listing->ID)) {
    ln:168
    'plans' => $plans,

    ln:175 - 178 : added check for existing plan id from $_POST
    ln 199 - 205 : extra check for available plans
    Attached Files Attached Files

  2. The Following 6 Users Say Thank You to rodthegod For This Useful Post:

    deanokimoto (November 30th, 2014), efreighter (November 1st, 2014), matthewkotze (September 9th, 2014), pascale1973 (October 8th, 2014), teinesamoa (December 4th, 2014), wzshop (September 26th, 2014)

  3. #2
    jrossmacleod's Avatar
    Join Date
    Dec 2013
    Location
    Bradenton, FL, USA
    Posts
    212
    Thanks
    3
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #3
    Thread Starter
    Rookie rodthegod's Avatar
    Join Date
    Aug 2013
    Location
    United Kingdom
    Posts
    7
    Thanks
    0
    Thanked 6 Times in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!
    efreighter likes this.

  5. #4
    matthewkotze's Avatar
    Join Date
    May 2014
    Location
    United Kingdom
    Posts
    19
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Veteran wzshop's Avatar
    Join Date
    Mar 2012
    Location
    Netherlands
    Posts
    345
    Thanks
    27
    Thanked 7 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #6
    tradeamillion's Avatar
    Join Date
    Mar 2012
    Location
    New York
    Posts
    1,076
    Thanks
    82
    Thanked 12 Times in 12 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    efreighter likes this.
    Computers are incredibly fast, accurate, and stupid: humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination.

  8. #7
    Veteran wzshop's Avatar
    Join Date
    Mar 2012
    Location
    Netherlands
    Posts
    345
    Thanks
    27
    Thanked 7 Times in 6 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #8
    pascale1973's Avatar
    Join Date
    Apr 2014
    Location
    Orange county, Ca
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #9
    Senior Member efreighter's Avatar
    Join Date
    Jun 2011
    Location
    United States
    Posts
    149
    Thanks
    13
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. #10
    Expired Customer deanokimoto's Avatar
    Join Date
    Oct 2014
    Posts
    11
    Thanks
    7
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to show all the plan types in the upgrade listing
    By spiritlevel in forum Vantage General Discussion (Legacy)
    Replies: 2
    Last Post: March 30th, 2014, 08:56 AM
  2. Replies: 103
    Last Post: January 27th, 2014, 09:24 AM
  3. Why cant you upgrade a listing to another plan
    By f1trader in forum Vantage General Discussion (Legacy)
    Replies: 25
    Last Post: August 13th, 2013, 11:38 PM
  4. Listing Plan Suggestions
    By dcg627 in forum Vantage General Discussion (Legacy)
    Replies: 1
    Last Post: May 22nd, 2013, 12:09 PM
  5. Free listing with paid upgrade plan setup & payment not working
    By ctfirm in forum Report Vantage Bugs (Legacy)
    Replies: 31
    Last Post: February 4th, 2013, 11:10 PM