[Skip to main content](#vessel-content)

#   Add a new parameter in form view listing\_list ?

##

- **[bobby](/forum/user/12682-bobby "View bobby's Profile")**
- [![bobby's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12682-bobby "View bobby's Profile") Topic Author
- [ Offline](/forum/user/12682-bobby)

Less More

- Posts: 3
- Thank you received: 0
-
-

13 years 9 months ago -  13 years 9 months ago [\#84263](#84263) by [bobby](/forum/user/12682-bobby "View bobby's Profile")  *[Add a new parameter in form view listing\_list ?](/forum/2-general-talk-about-hikashop/77236-add-a-new-parameter-in-form-view-listing-list#84263 "Im new to the joomla world and HikaShop but I used some others e-commerce  I just downloaded your extensions and i found very impressive....good job. First of all i would like to suggest for next release 1) Short description for products 2) Add images in Product List (list)...Div can do that but i needed UL LI These two features are very populars in other shops and seems that Hikashop miss them  Now the questions.. 1 To solve these little problem I used override method in listing&#95;list.php and it works fine for my needs so I decide to add two radio options in the form  Show Short Description Show Image in listing  How can I achieve that? I would like to use Hikashop with your default product listing list in some pages and my template override in other page. What I understand is that if I use my template override, it will always override. Adding 2 more options should solve the problem.  Thank you for help")* was created by *[bobby](/forum/user/12682-bobby "View bobby's Profile")*

Im new to the joomla world and HikaShop but I used some others e-commerce

I just downloaded your extensions and i found very impressive....good job.
First of all i would like to suggest for next release
1) Short description for products
2) Add images in Product List (list)...Div can do that but i needed UL LI
These two features are very populars in other shops and seems that Hikashop miss them

Now the questions..
1 To solve these little problem I used override method in listing_list.php and it works fine for my needs
so I decide to add two radio options in the form

Show Short Description
Show Image in listing

How can I achieve that?
I would like to use Hikashop with your default product listing list in some pages and my template override in other page.
What I understand is that if I use my template override, it will always override. Adding 2 more options should solve the problem.

Thank you for help

Last edit: 13 years 9 months ago by [bobby](/forum/user/12682-bobby "View bobby's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MjM2LWFkZC1hLW5ldy1wYXJhbWV0ZXItaW4tZm9ybS12aWV3LWxpc3RpbmctbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#84350](#84350) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add a new parameter in form view listing\_list ?](/forum/2-general-talk-about-hikashop/77236-add-a-new-parameter-in-form-view-listing-list#84350 "Im new to the joomla world and HikaShop but I used some others e-commerce  I just downloaded your extensions and i found very impressive....good job. First of all i would like to suggest for next release 1) Short description for products 2) Add images in Product List (list)...Div can do that but i needed UL LI These two features are very populars in other shops and seems that Hikashop miss them  Now the questions.. 1 To solve these little problem I used override method in listing&#95;list.php and it works fine for my needs so I decide to add two radio options in the form  Show Short Description Show Image in listing  How can I achieve that? I would like to use Hikashop with your default product listing list in some pages and my template override in other page. What I understand is that if I use my template override, it will always override. Adding 2 more options should solve the problem.  Thank you for help")*

Hi,

1) Short description for products is already possible by view modification but the feature is in our TODO list too.
The idea is to put a "separator" in your description, like for Joomla articles.

2) The feature already exists. You can display product listing as div, ul li, table. Please check your HikaShop content menu options.
You can select different listing types for different menu.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [bobby](/forum/user/12682-bobby "View bobby's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MjM2LWFkZC1hLW5ldy1wYXJhbWV0ZXItaW4tZm9ybS12aWV3LWxpc3RpbmctbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[bobby](/forum/user/12682-bobby "View bobby's Profile")**
- [![bobby's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12682-bobby "View bobby's Profile") Topic Author
- [ Offline](/forum/user/12682-bobby)

Less More

- Posts: 3
- Thank you received: 0
-
-

13 years 9 months ago -  13 years 9 months ago [\#84462](#84462) by [bobby](/forum/user/12682-bobby "View bobby's Profile")  Replied by *[bobby](/forum/user/12682-bobby "View bobby's Profile")* on topic *[Add a new parameter in form view listing\_list ?](/forum/2-general-talk-about-hikashop/77236-add-a-new-parameter-in-form-view-listing-list#84462 "Im new to the joomla world and HikaShop but I used some others e-commerce  I just downloaded your extensions and i found very impressive....good job. First of all i would like to suggest for next release 1) Short description for products 2) Add images in Product List (list)...Div can do that but i needed UL LI These two features are very populars in other shops and seems that Hikashop miss them  Now the questions.. 1 To solve these little problem I used override method in listing&#95;list.php and it works fine for my needs so I decide to add two radio options in the form  Show Short Description Show Image in listing  How can I achieve that? I would like to use Hikashop with your default product listing list in some pages and my template override in other page. What I understand is that if I use my template override, it will always override. Adding 2 more options should solve the problem.  Thank you for help")*

Thank you for answer

1) I choose to use meta description as short description....I just added an IF ELSE inside the file...quick solution. At the begininng I used "strip_tags(preg_replace...but I found easier metatag
Code:

&lt;?php } if(!empty($row-&gt;product_meta_description)) { ?&gt; &lt;?php echo $row-&gt;product_meta_description;?&gt; &lt;?php } else { ?&gt; &lt;?php echo "pippo";?&gt;

2) That feature doesnt include images in UL LI display in product listing -Products/list...you can include only UL class so i added the thumbnail
Code:

&lt;?php } if($this-&gt;config-&gt;get('thumbnail')){ ?&gt; &lt;?php echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name),"","", $width ,$height); $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, -10, 0); $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; ?&gt; &lt;?php } else { ?&gt; &lt;?php echo $row-&gt;product_name; ?&gt;

I have to check this code ...i made in a hurry...seems to works tough.

I already modified forms to display options and display a text field in article for short description..
I just need to know which files are involved to get data

Rob

Last edit: 13 years 9 months ago by [bobby](/forum/user/12682-bobby "View bobby's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MjM2LWFkZC1hLW5ldy1wYXJhbWV0ZXItaW4tZm9ybS12aWV3LWxpc3RpbmctbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#84542](#84542) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add a new parameter in form view listing\_list ?](/forum/2-general-talk-about-hikashop/77236-add-a-new-parameter-in-form-view-listing-list#84542 "Im new to the joomla world and HikaShop but I used some others e-commerce  I just downloaded your extensions and i found very impressive....good job. First of all i would like to suggest for next release 1) Short description for products 2) Add images in Product List (list)...Div can do that but i needed UL LI These two features are very populars in other shops and seems that Hikashop miss them  Now the questions.. 1 To solve these little problem I used override method in listing&#95;list.php and it works fine for my needs so I decide to add two radio options in the form  Show Short Description Show Image in listing  How can I achieve that? I would like to use Hikashop with your default product listing list in some pages and my template override in other page. What I understand is that if I use my template override, it will always override. Adding 2 more options should solve the problem.  Thank you for help")*

Hi,

The file to have the data is "components/com_hikashop/views/product/view.html.php".
Hope this will help you.

The following user(s) said Thank You: [bobby](/forum/user/12682-bobby "View bobby's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MjM2LWFkZC1hLW5ldy1wYXJhbWV0ZXItaW4tZm9ybS12aWV3LWxpc3RpbmctbGlzdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.076 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
