Forums / All Other Contributions/Addons / Manufacturers All About Support

Manufacturers All About Support

Views: 7,343

Results 21 to 29 of 29
22 Oct 2015, 1:33 PM
#21
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Manufacturers All About Support

Thank you for your response.
Works llike a charm. Unfortuntaely due to other problems with having the site in Spanish with other plugins I have decided to remove Spanish from the site.
I do however still have one more problem.
Here is my setup: zc 1.54, Manufacturers _all_about 1.1, ceon URI mapping 4.x
The manufacturers site link on the manufacturers_all page works fine. However the manufacturers site link in the manufacturers_info sidebox does not. The sidebox link goes to http://http//mydomain.com/index.php?main_page=redirect&action=manufacturer&manufacturers_id=%28manufacturers ID number)
In short how do I get rid of the extra http//

Thanks in advance for any help.

24 Oct 2015, 8:03 AM
#22
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Manufacturers All About Support

includes/templates/YOURTEMPLATE/sideboxes/tpl_manufacturer_info.php
change about line 27 from:

  if (zen_not_null($manufacturer_info_sidebox->fields['manufacturers_url']))
    $content .= '<div class="manuInfoLink"><a href="http://' . zen_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '" target="_blank">' . BOX_MANUFACTURER_INFO_HOMEPAGE_TEXT . '</a></div>';

to

if (zen_not_null($manufacturer_info_sidebox->fields['manufacturers_url']))
    $content .= '<div class="manuInfoLink"><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '" target="_blank">' . BOX_MANUFACTURER_INFO_HOMEPAGE_TEXT . '</a></div>';
26 Oct 2015, 11:01 AM
#23
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: Manufacturers All About Support

webchills:

includes/templates/YOURTEMPLATE/sideboxes/tpl_manufacturer_info.php
change about line 27 from:

if (zen_not_null($manufacturer_info_sidebox->fields['manufacturers_url']))
$content .= '<div class="manuInfoLink"><a href="http://' . zen_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '" target="_blank">' . BOX_MANUFACTURER_INFO_HOMEPAGE_TEXT . '</a></div>';

> to
> ```
if (zen_not_null($manufacturer_info_sidebox->fields['manufacturers_url']))
    $content .= '<div class="manuInfoLink"><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '" target="_blank">' . BOX_MANUFACTURER_INFO_HOMEPAGE_TEXT . '</a></div>';

Thank you for your reply. I made the code changes but now in the sidebox url link I get http://mydomain.com/manufacturers.com and a 404 error. Looks like the redirect is not working.

Again the link on the Manufacturers All Page works fine.

29 Oct 2015, 7:48 AM
#24
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: Manufacturers All About Support

This code change has only removed the unneccessary double http://
You posted before that the link was fine, but had a http:// twice in it.
Seems that the link was already wrong before.
A link to your store would help.

9 May 2017, 2:10 PM
#25
justrimless avatar

justrimless

Zen Follower

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: Manufacturers All About Support

Hello,
Looking at this mod, should be helpful.

What I would like to do if poss, either by way of this mod or another is,

When filtering by manufacturer, have the 'about' text above the product listing.
Any advice on this would be appreciated.

21 Oct 2017, 7:17 PM
#26
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: Manufacturers All About Support

hello,
is there a demo site which shows the plugin in action?

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

5 Dec 2017, 6:32 PM
#27
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: Manufacturers All About Support

Hi,

I have this mod installed on zc155e. Great mod, thank you!!!

Here is my ALL listing:
https://002mc.justmedical.biz/index.php?main_page=manufacturers_all

And here is a page with a description:
https://002mc.justmedical.biz/index.php?main_page=manufacturers_about&manufacturers_about_id=10

Can anybody tell me how I could add that description to the manufacturer's product listing page:
https://002mc.justmedical.biz/index.php?main_page=index&manufacturers_id=10

Thanks!

6 Dec 2017, 4:37 AM
#28
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,018
Plugin Contributions:
2

Re: Manufacturers All About Support

Feznizzle

Thanks for you feedback, much appreciated.

Good to see it works with 155e

Thanks

5 Apr 2018, 5:54 PM
#29
tari avatar

tari

New Zenner

Join Date:
Feb 2012
Posts:
2
Plugin Contributions:
0

Re: Manufacturers All About Support

Hello,

I have a problem with my multi-language shop.

I have integrated the manufacturers_about code in the manufacturers page (tpl_index_product_list.php), and everything works fine, but the manufacturer description text is always english. I've tried a lot, but I can't find I a solution to query the language from the database. Webchill's language fixes are done.
Here is my code in the tpl_index_product_list.php:

<div class="centerColumn" id="indexProductList">

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
<?php
  if (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
    $chk_manufacturers_image_query = "select m.manufacturers_image, m.manufacturers_name, m.manufacturers_id
                      from " . TABLE_MANUFACTURERS . " m
                      where m.manufacturers_id = " . $_GET['manufacturers_id'];
    $chk_manufacturers_image = $db->Execute($chk_manufacturers_image_query);
                      
echo '<div class="floatLeft">' . zen_image(DIR_WS_IMAGES . $chk_manufacturers_image->fields['manufacturers_image']) . '</h1></div>';

 }  
?>

<?php
  if (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
    $chk_manufacturers_about_query = "select mi.manufacturers_about, mi.languages_id
                      from " . TABLE_MANUFACTURERS_INFO . " mi
                      where mi.manufacturers_id = " . $_GET['manufacturers_id'];
    $chk_manufacturers_about = $db->Execute($chk_manufacturers_about_query);
                      
echo '<div class="text">' . $chk_manufacturers_about->fields['manufacturers_about'] . '</div>'; 
  }  
?>

Can anyone please help me on this?

Thank you

Tari