Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

More Effective Manufacturer view on Product Detail Page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 04-21-2007, 02:36 PM
 
ProMuscles ProMuscles is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 45
 

Default Re: More Effective Manufacturer view on Product Detail Page

That mod on your site is too cool. Where did you include {include file="modules/Manufacturers/manufacturerinfo.tpl" } in the product tpl? I also have the dynamic tabs module installed.
__________________
4.7.5 Gold Glory be to God!
Reply With Quote
  #12  
Old 04-21-2007, 02:43 PM
 
aslater aslater is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: UK
Posts: 54
 

Default Re: More Effective Manufacturer view on Product Detail Page

Quote:
Originally Posted by ProMuscles
That mod on your site is too cool. Where did you include {include file="modules/Manufacturers/manufacturerinfo.tpl" } in the product tpl? I also have the dynamic tabs module installed.

Just above the dynamic tabs code on product.tpl page i have enclosed some of the code to which you can see but yours will be slightly different, just make sure you enter it just after the main content table

<br />
{$lng.txt_add_to_configuration_note}
<br />
{/if}
{else}
{include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart}
{/if}
{/if}
{if $active_modules.Feature_Comparison ne ""}
{include file="modules/Feature_Comparison/product_buttons.tpl"}
{/if}
<br /><br />
</td>
</tr></table>
</td>
</tr>
</table>
<input type="hidden" name="productid" value="{$product.productid}" />
<input type="hidden" name="cat" value="{$smarty.get.cat|escape:"html"}" />
<input type="hidden" name="page" value="{$smarty.get.page|escape:"html"}" />
</form>
{/capture}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra='width="100%"'}
{/if}
{assign var="recommend" value=$category|truncate:"30"}
{assign var="relate" value=$product.manufacturer|truncate:"30"}
<br>
{include file="modules/Manufacturers/manufacturerinfo.tpl" }
<br>
{* TABS MENU START (v4.1.x) *}

<a name="tabs" id="tabs"></a>

<ul id="maintab" class="shadetabs">

<li class="selected"><a href="#tabs" rel="tcontent1">{$lng.lbl_description}</a></li>
__________________
Version: 4.4.5 Gold
www.bitzdirectcomputers.co.uk
Reply With Quote
  #13  
Old 04-21-2007, 02:54 PM
 
ProMuscles ProMuscles is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 45
 

Default Re: More Effective Manufacturer view on Product Detail Page

Thanks for your response. However, that did not help. I may need help placing the files in the correct folder. I assumed that they went into the root folder instead of skin 1. Am I correct.

For example, Manufacturersinfo.tpl goes in .modules/manufacturers not skin1/modules/manufacturers
__________________
4.7.5 Gold Glory be to God!
Reply With Quote
  #14  
Old 04-21-2007, 02:59 PM
 
aslater aslater is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: UK
Posts: 54
 

Default Re: More Effective Manufacturer view on Product Detail Page

Quote:
Originally Posted by ProMuscles
Thanks for your response. However, that did not help. I may need help placing the files in the correct folder. I assumed that they went into the root folder instead of skin 1. Am I correct.

For example, Manufacturersinfo.tpl goes in .modules/manufacturers not skin1/modules/manufacturers

manufacturerinfo.php will go into your root directory under:

modules/Manufacturers/manufacturerinfo.php

And manufacturerinfo.tpl will go in your skin1 directory under:

skin1/modules/Manufacturers/manufacturerinfo.tpl
__________________
Version: 4.4.5 Gold
www.bitzdirectcomputers.co.uk
Reply With Quote
  #15  
Old 04-21-2007, 11:10 PM
 
ProMuscles ProMuscles is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 45
 

Default Re: More Effective Manufacturer view on Product Detail Page

Tried 3000 times and could not get it to work on 4.1.6.
__________________
4.7.5 Gold Glory be to God!
Reply With Quote
  #16  
Old 04-22-2007, 11:02 AM
 
aslater aslater is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: UK
Posts: 54
 

Default Re: More Effective Manufacturer view on Product Detail Page

Quote:
Originally Posted by ProMuscles
Tried 3000 times and could not get it to work on 4.1.6.

Have you also done the edits to the product.php file by adding the new snippet of code.
__________________
Version: 4.4.5 Gold
www.bitzdirectcomputers.co.uk
Reply With Quote
  #17  
Old 04-22-2007, 01:30 PM
 
ProMuscles ProMuscles is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 45
 

Default Re: More Effective Manufacturer view on Product Detail Page

Yes I have edited the files in product.tpl. Still is not working. I do not understand, unless a previous mod is conflicting with it.
__________________
4.7.5 Gold Glory be to God!
Reply With Quote
  #18  
Old 04-23-2007, 08:25 AM
 
aslater aslater is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: UK
Posts: 54
 

Default Re: More Effective Manufacturer view on Product Detail Page

Quote:
Originally Posted by ProMuscles
Yes I have edited the files in product.tpl. Still is not working. I do not understand, unless a previous mod is conflicting with it.

Did you also add the code to product.php as per install.



EDIT product.php

After:

Code:
if ($active_modules["Manufacturers"])
include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php";

Add

Code:
if ($active_modules["Manufacturers"])
include $xcart_dir."/modules/Manufacturers/manufacturerinfo.php";
__________________
Version: 4.4.5 Gold
www.bitzdirectcomputers.co.uk
Reply With Quote
  #19  
Old 04-25-2007, 05:12 PM
  flyclothing's Avatar 
flyclothing flyclothing is offline
 

eXpert
  
Join Date: Aug 2004
Location: Gilbert, AZ
Posts: 357
 

Default Re: More Effective Manufacturer view on Product Detail Page

Works for me too...

http://www.flyclothing.com/English-Laundry-Rampant-Shirt-pr-21286.html
__________________
Jonathan
Flyclothing, LLC
PO Box 1490
Gilbert, AZ 85299-1571
P 480.422.7350
F 888.359.2568
www.flysportsgear.com?MMCF_xcartforum (X-Cart 4.5.2) FOR SALE
Reply With Quote
  #20  
Old 04-25-2007, 10:14 PM
 
ProMuscles ProMuscles is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 45
 

Default Re: More Effective Manufacturer view on Product Detail Page

Thanks I got it working. It will only work if you have the items ready for sale. I had uploaded all my itemsw but did not have then ready for sale. When I made them ready they popped up.
__________________
4.7.5 Gold Glory be to God!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:04 AM.

   

 
X-Cart forums © 2001-2020