How to hide stores without LOGOS?

In this forum you can post anything related to PrestaShop Modules/Addons from Agile Addons-Modules.Com.

If you need support for any module/addon from Agile Addons-Module.Com, please post it here. We will respond as soon as possible. Usually within one business day.

Please indicate the PrestaShop version, product name. product version, and if possible your order # to get a prompt response.

Moderator: jeffayao_1666

How to hide stores without LOGOS?

Postby sors11_2957 » Thu Oct 24, 2013 10:22 am

Hi...I´d like to hide the stores without logo when the user list them....

There are a lot of user that don´t understand what important is their logo in their shops inside mine....and it´s not professional to show the image "logo not available" .... so I´d like to show only stores with logos...
Attachments
Logo no disponible.jpg
sors11_2957
 
Posts: 31
Joined: Tue Jun 18, 2013 11:36 am

Re: How to hide stores without LOGOS?

Postby shokinro » Fri Oct 25, 2013 12:36 am

Thanks for using Agile Multiple Seller modules - a best PrestaShop based on-line market place solution.

.I´d like to hide the stores without logo when the user list them....

There are a lot of user that don´t understand what important is their logo in their shops inside mine....and it´s not professional to show the image "logo not available" .... so I´d like to show only stores with logos...

You can try to filter out the sellers in following theme file, check {$seller.seller_logo_url}, it it is end of "-nologo.png", then it is a seller does not have a logo.

/modules/agilemultipleshop/agileseller
s
.tpl

Please note: the file name ends with "s".

Hope this helps.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Re: How to hide stores without LOGOS?

Postby sors11_2957 » Fri Oct 25, 2013 1:07 pm

I´ve found the file and the line...but please...I don´t understand what you mean exactly

Please check my pooooooor code ejjeje....how do you write this check ...this "nologo" check...

something like that?
---------------------------------------------------------------------------
if{ {$seller.seller_logo_url} != '%-nologo.png' }

/*shows the seller image */

<a href="{$seller_link}" title="{$seller.company|escape:html:'UTF-8'}" class="product_image">
<img src="{$seller.seller_logo_url}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$seller.company|escape:html:'UTF-8'}" /></a>

{else}
/* nothing...it doesn´t show nothing */
{/if}
sors11_2957
 
Posts: 31
Joined: Tue Jun 18, 2013 11:36 am

Re: How to hide stores without LOGOS?

Postby sors11_2957 » Sat Oct 26, 2013 10:15 am

some help?

please...I don´t know how to check if the shop has logo or not....

where is this field in the database?....you know the table where is saved the {$seller.seller_logo_url} field?
sors11_2957
 
Posts: 31
Joined: Tue Jun 18, 2013 11:36 am

Re: How to hide stores without LOGOS?

Postby shokinro » Sat Oct 26, 2013 3:44 pm

it seems that you do not have Smarty coding experience. You will have to learn syntax coding from the syntax.
The logo is not saved in database and it is saved physical golder. On the that page the logo url as been assiged by the module, you can retrieve it from {$seller.seller_logo_url} inside the loop as I mentioned.

But I think it might be not a good idea to filter out the sellers do not have logo. You may replace the "No-Logo" image by a better one.
It just like in many forum or membership websites, if the membership does not have profile photo, it will be replaced with a general portrait photo. I think this might be the good way to go.

The default "no-logo" image are under following folder for each language
/modules/agilemultipleseller/images/en_nologo.png
/modules/agilemultipleseller/images/es_nologo.png
....
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm

Re: How to hide stores without LOGOS?

Postby sors11_2957 » Sun Oct 27, 2013 10:27 am

Thanks! I'll do as u say :)
And it's true ...I don't understand smarty jejej ...give me time!
sors11_2957
 
Posts: 31
Joined: Tue Jun 18, 2013 11:36 am

Re: How to hide stores without LOGOS?

Postby shokinro » Tue Oct 29, 2013 5:40 am

Yes, I think that is best way, otherwise, it is also not fair to your sellers to be not listed up there because of no logo.
Follow us at Twitter Like us on Facebook Watch our Tutorial Videos on YouTube
shokinro
Site Admin
 
Posts: 3091
Joined: Sat Jun 25, 2011 3:08 pm


Return to Support forum - Agile PrestaShop Modules/Addons

Who is online

Users browsing this forum: Google [Bot] and 6 guests