Results 1 to 2 of 2

Thread: Premium features on the edit page

  1. #1
    Thread Starter
    Expired Customer preslilvs's Avatar
    Join Date
    Mar 2018
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Premium features on the edit page

    Hi
    Thank you for the beautiful theme.
    I need help. I have ads with premium features "Featured Listing", "Highlight Ad".
    But premium features are not displayed on the ad editing page (if the ad is saved).
    I trying to modify the theme, but I have a few questions.

    1. I displayed the premium features on the edit page (form-listing-edit.php).
    How do I find a submit handler or hook for a form in form-listing-edit.php?
    Note. I need to defer changes of the premium features while payment is pending. I plan use Order Data for this. I would appreciate any ideas.
    2. How to correctly fill an order? I read the documentation but I need an example of creating a new object.
    3. I need create a new order and call the redirect to the payment page when the user saved an ad. Ok, i found this code, it's right?:
    PHP Code:
    if ( $order->is_escrow() ) {
        
    $result appthemes_escrow_process$order->get_gateway(), $order );
    } else {
        
    $result appthemes_process_gateway$order->get_gateway(), $order );


    -------------------------
    Theme:
    classipress 3.6.1
    Plugins:
    CP Premium Add-ons
    CP Phone Link
    SM Sticky Featured Widget
    Paid Ad Features
    Custom Field Data Icons
    ......


    Best regards

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: May 29th, 2017, 01:54 PM
  2. Restrict features for non-premium listings
    By shaneoriordan in forum Vantage General Discussion (Legacy)
    Replies: 1
    Last Post: October 1st, 2015, 12:52 AM
  3. Restrict features for non-premium listings
    By shaneoriordan in forum Help Using Vantage (Legacy)
    Replies: 9
    Last Post: June 19th, 2015, 01:08 PM
  4. [MOD NEEDED] Premium Ads, in CP Top page. dont down.
    By zandunga in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 3rd, 2011, 05:09 AM
  5. ClassiPress 3.0 update: user dashboard and edit ad features
    By kiltin in forum ClassiPress General Discussion
    Replies: 5
    Last Post: February 19th, 2010, 04:15 PM