+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: No price (0) = Contact seller help

  1. #1
    Senior Member
    Join Date
    Jun 2016
    Posts
    185

    No price (0) = Contact seller help

    Where to edit and how to edit. So when a user gives no price or price is 0. It will write "Ask seller for price"

  2. #2
    Junior Member
    Join Date
    Feb 2017
    Posts
    25
    Last edited by Sohail Zafar; April 14, 2018 at 06:48 PM.

  3. #3
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    The first one i have seen. But only work on details page. And not other places.

    The second link is my topic. Which i started for this help. But ended up about something completely different. So i thought i will start a new topic with my need of help.

  4. #4
    Hello Fadil,

    Open file: ftp://includes>>classes>>rlListings.class.php

    find line:

    PHP Code:
    Only registered members can view the code
    and add new code in the end of foreach:
    PHP Code:
    Only registered members can view the code
    in methods: getListings, getRecentlyAdded, getFeatured, getRandom

    The same in file rlSearch.class.php in mehod: search
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    Quote Originally Posted by Viktor View Post
    Hello Fadil,

    Open file: ftp://includes>>classes>>rlListings.class.php

    find line:

    PHP Code:
    Only registered members can view the code
    and add new code in the end of foreach:
    PHP Code:
    Only registered members can view the code
    in methods: getListings, getRecentlyAdded, getFeatured, getRandom

    The same in file rlSearch.class.php in mehod: search
    when i add the code. it give site error

  6. #6
    Hello Fadil,

    I think you added 'code ...' as wrote in my example.
    but you should add my new code below all code in foreach

    PHP Code:
    Only registered members can view the code
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    [QUOTE=Viktor;22569]Hello Fadil,

    I think you added 'code ...' as wrote in my example.
    but you should add my new code below all code in foreach

    PHP Code:
    Only registered members can view the code
    /QUOTE]

    this is how i have added the code

    Code:
    Only registered members can view the code.
    the code is an example from the getListings method in that life.

  8. #8
    Hello Fadil,

    That's right. Where do you see error?

    I hope you added new phrase with key: ask_for_price
    into Admin Panel >> Languages
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    Strange. I re-added them and now everything seems fine. hmmm

    Thank you Viktor

  10. #10
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    Hi Viktor

    I have added and testet the code. but it does not show the words.

    I have added a little like this hoping to add style.

    Code:
    Only registered members can view the code.
    But it only shows the "" and nothing on listing details page. and with only your code it shows nothing on any part.

+ Reply to Thread