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"
Printable View
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"
Hopefully this will help you
http://forum.flynax.com/showthread.p...ty-show-a-word
http://forum.flynax.com/showthread.p...field-is-empty
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.
Hello Fadil,
Open file: ftp://includes>>classes>>rlListings.class.php
find line:
and add new code in the end of foreach:PHP Code:
Only registered members can view the code.
in methods: getListings, getRecentlyAdded, getFeatured, getRandomPHP Code:
Only registered members can view the code.
The same in file rlSearch.class.php in mehod: search
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=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
/QUOTE]PHP Code:
Only registered members can view the code.
this is how i have added the code
the code is an example from the getListings method in that life.Code:Only registered members can view the code.
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
Strange. I re-added them and now everything seems fine. hmmm
Thank you Viktor
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.
But it only shows the "" and nothing on listing details page. and with only your code it shows nothing on any part.Code:Only registered members can view the code.