| ||||||||||
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 |
#31
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Quote:
I'm wondering this as well. Please advise. Thanks!
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#32
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
I've noticed that the manufacturer description is not showing as it is in the image attached to the first post .. I assume because of a database change.
Anyone know the proper code change to get the manufacturer description to show? Thanks
__________________
X-Cart Gold 4.1.9 |
|||||||
#33
|
|||||||||
|
|||||||||
Use products_t.tpl in manufacturerinfo.tpl
Hello all,
Could anyone tell me how I could modify manufacturerinfo.tpl to use products_t.tpl to display the products within this section so that it has a consistent look and feel with the products list pages. I have been trying to do something like the following: Code: {include file="customer/main/products_t.tpl" products=$manufacturerinfo.product}
But I am unsure how to pass the correct variables through to make it work Any help is greatly appreciated |
|||||||||
#34
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
Hello!
This mod works fine for me (4.1.11) Only one problem: I can't get the description on the product page. The mod code is: {$product.manudescr|truncate:250:"...":true} but do not print nothing I tried also something like: {$manufacturer.descr} or {$product.manudescr} or {$product.manufacturer.descr} without results Someone could help me? Tnx
__________________
X-Cart v 4.1.8 X-Cart v 4.1.11 |
|||||||
#35
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
Hello! I solved the description problems:
Add to manufacturerinfo.php $thisManufactorer = $product_info["manufacturerid"]; $manufacturer = func_query("SELECT * FROM $sql_tbl[manufacturers] WHERE manufacturerid = $thisManufactorer"); $smarty->assign("manufacturer", $manufacturer[0]["manufacturer"]); $smarty->assign("thedescr", $manufacturer[0]["descr"]); Then on manufacturerinfo.tpl where do you want the description you can use: {$manufacturerinfo.descr|truncate:50:"...":true} And you will see the description. The unique problem is that I'm unable to get the multilanguage feature. In manufactorer page the translation works fine, instead on manufacturerinfo.tpl I can't get the multilanguage description. Someone could help?
__________________
X-Cart v 4.1.8 X-Cart v 4.1.11 |
|||||||
#36
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
I can't understand how the multilanguage works
I tried this query : Quote:
and Quote:
But using {$query_data_lng|@debug_print_var} or {$manufacturer.descr|@debug_print_var} I get NULL I'm sorry but I'm newbe with php Any help? Thanks for support.
__________________
X-Cart v 4.1.8 X-Cart v 4.1.11 |
|||||||
#37
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
Could this technique be used to have the providers name on all of his/her products? (ideally it would be clickable to show all his products, like a search result for him or something)
am I crazy?
__________________
CDSEO PRO 4.1.11 PRO Dynamic images by xcartmod.com X-Cart CSSTemplate/Skin for v4.1.11 PRO |
|||||||
#39
|
|||||||||
|
|||||||||
Re: More Effective Manufacturer view on Product Detail Page
Still cannot get the mfg description to show up. Can anyone confirm the above is correct. There are some misspelled words in it.
-ds
__________________
4.4 Code:
|
|||||||||
#40
|
|||||||
|
|||||||
Re: More Effective Manufacturer view on Product Detail Page
Quote:
Have you read this?? http://forum.x-cart.com/showpost.php?p=242796&postcount=35
__________________
X-Cart v 4.1.8 X-Cart v 4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|