| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
More Effective Manufacturer view on Product Detail Page | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Thanks Jwait,
Will give it a try. Just to confirm, you are saying it is manufacturerinfo.tpl and not manufacturerinfo.php ? Quote:
|
|||||||||
#52
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Well, your error says "Warning: Smarty error: unable to read resource: "modules/Manufacturers/manufacturerinfo.tpl" in /home/custom/public_html/Smarty-2.6.19/Smarty.class.php on line 1092".
What it is saying is that Smarty (the thing that puts all of the templates together) can't read the manufacturerinfo.tpl that is supposed to be at modules/Manufacturers/manufacturerinfo.tpl as called for at line 1092 in the php code (probably manufacturerinfo.php). The most common reason Smarty can't read it is that it isn't there (possibly somewhere else or named incorrectly).
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
|
#53
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Got mine working now, thanks! I am not displaying it yet as I have a few issues.
- Mine does not display like the sample http://forum.x-cart.com/attachment.php?attachmentid=287&d=1174280652 Instead of just the heading of product, thumb and more info link it displays a decription of the product as well which I don't want as it causes the boxes to be different sizes in lenth. Also there does not appear to be manufacturer decription. I have manufacturer banners that I have placed in the place of decription so I was hoping it will display the banner instead of decription, it is not so any ideas? - I would also like this mod to display in my tabs instead, can anyone help? Quote:
|
|||||||||
#54
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
It will be different sizes, because of the css style etc, Visually it will need further css edits etc to tidy it up, you can also play around with it. May also need other edits. Looks like this one is fairly limited though.
IE: Take out product description etc, word length, size of thumbs etc are also factors, and getting the style to look like what users are using. I'm currently working on 4.3.0 and playing around with it. BTW: You would also I gather if all your thumbs are same size, this would make a huge difference on appearance. Then just do some edits on css, like I said then all boxes would display same size (Depending how you set it up)
__________________
Thank You - Alan Don't be like me, and keep saying "Nearly did it" go do it!! Version: 4.4.4 Gold - |
|||||||||
#55
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
You need to edit that template to:
1. Truncate product title or set height for the container holding the title so they all have same height 2. Make all your thumbs same size or set height for the container holding the thumb so they all have same height 3. Delete the reference for product description 4. Is the manufacturer banner inserted as html code in manufacturer description? Looking at some of the code above I don't see manufacturer descr included in the info but you can try using eval when calling the manufacturer description - {eval var=$descr} 5. To display in your tabs you have to include that template in the tabs
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#56
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Thanks,
All sound so easy if you are a code master, I am not! Lucky for me all my thumbs are all the same size, did this from the start - so 1 less worry. Yes all banners are html, but some are flash As for code, I still have alot to learn Quote:
|
|||||||||
#57
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Sorry Dan but yes it takes html, css and smarty knowledge to edit the templates. It does sound easy, not always is easy. If you post here what you are trying to change pretty sure lots of ppl including me will help you out
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#58
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
To help some on the design css,html below will make some better adjustments to overall appearance: I am currently Testing on 4.3.0 and still at this stage cannot get Manufacturer category description to work (Not yet anyway)
This is for 50x50 thumbs and without description What Have I changed? (Border, container div, padding, image-x=) <div style="border:1px solid #eee;padding:5px;margin:5px; text-align:center; height:160px;"> <div style="padding-bottom:8px;"><a href="product.php?productid={$manufacturerinfo.pro ductid}&cat={$cat}&manufacturerinfo"> <font class="ProductTitle">{$manufacturerinfo.product}</font></a></div> Also image_x=50 (So that it matches my personal 50x50 thumbs) Code:
It Can be tidied up as it has a lot of <br/> and also all inline css but this is good to go. (will work on mine a lot more) NOTE: height:160px; (Controls size of product container, ajust this if you like) ---------------------------------------- Code if you want product Discription showing 20 letters Code:
And how it looks without description In Normal Page: http://forum.x-cart.com/attachment.php?attachmentid=1804&stc=1&d=126321732 3 Within Tabs http://forum.x-cart.com/attachment.php?attachmentid=1805&stc=1&d=126321742 9 Tested with Firefox and Ie Obviously this fits with my current development design (If your a wizz at css anythings possible with some playing around)
__________________
Thank You - Alan Don't be like me, and keep saying "Nearly did it" go do it!! Version: 4.4.4 Gold - |
|||||||||
#59
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Gizmo, this is great! But I will need a bit of code to regulate the lenth of my product title because this is what is causing it to still throw everything of line with each other. Maybe a line or something that can be set to display on the same spot regardless of how long your product title is. Any ideas?
|
|||||||||
#60
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
For now if you have long titles just increase > height:160px; (Controls size of product container, adjust this if you like)....
Like I said this is provided "as is" by the original poster and others have tried adding other things along the way, and to me is still far from ideal, but that being said it does do certain things.. All I have done at this stage is modify appearance
__________________
Thank You - Alan Don't be like me, and keep saying "Nearly did it" go do it!! Version: 4.4.4 Gold - |
|||||||||
|
|||
X-Cart forums © 2001-2020
|