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

Thread: Show account type on listing page

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    1

    Show account type on listing page

    I have multiple account types (Dealer A, Dealer B etc..)
    On listing page (eg : category page where all the products for that category gets listed), how to show the account type for each product ?
    So far I am able to get the Account_ID using $listing.Account_ID but not able to get the Account Type.

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Location
    Vietnam
    Posts
    157
    I'm considering about account type too.
    Nguyen Dat Tai
    Mobile: +84.909933020
    Web: www.dangbanxe.com

  3. #3
    Hello Levin,

    If you want to get it on browse page you should go to ftp://includes>>classes>>rlListings.class.php

    find method: getListings and line:

    PHP Code:
    Only registered members can view the code
    and replace to:

    PHP Code:
    Only registered members can view the code
    and then in smarty you can get it $listing.Account_type

    Let me know if it's ok.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Hi Viktor,
    Would you mind giving me more detail on how to implement this on account page? I managed to replace the code that you have posted above but i have no idea how to include it in account page? (the page that show user avatar email, first name, last name)

  5. #5
    i am interested as well in this.

  6. #6
    Hello all,

    If you did 1-st point then you should open file: ftp://templates>>your_template>>tpl>>blocks>>listing.tpl
    and insert code where do you want to show it.
    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Thanks, Viktor. I will try it out
    How about if I want to also add the account type in personal address for example in here
    http://general.demoflynax.com/general/

  8. #8
    Does anyone know how to make the personal address show on results page instead of account type?
    thanks

  9. #9
    Does anyone know how to make the account type show on listing details page?
    thanks

  10. #10
    Hello Abraham,

    You can try to use: {$seller_info.Type_name} in listing_details.tpl file
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread