News:

Looking for documentation? Take a look on our wiki

Main Menu

PB with Category display and ArticleAnywhere

Started by gyvr, August 20, 2012, 10:27:29 AM

Previous topic - Next topic

gyvr

Hello,
The default template (default.php) for category use the following code -about line 254- to display the product short description:
echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...')

I believe this is a bad behaviour, since it potentialy prevents proper fumctionality of other plugins. As an example, by truncating the "$product->product_s_desc" VM defeats the use of tools like Article Anywhere (at least with lengthy article names that are useful for ease of use by developers).

I would suggest two possible approaches:
1) echo the full description (echo $product->product_s_desc) . It is my problem to keep length reasonnable for my site.
2) Make the length configurable (0: not truncated, any > 0 value: Number of characters to display)

Best regards
Gerard

Milbo

No, you must solve this with a template override then.

It is the first time that I hear about this 3rd party extension. What we do is showing the functions we have. When we remove it, a lot people use this feature, which you just replaced by a 3rd party plugin.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/